Linux/linux 5c8c229kernel kthread.c

Merge tag 'kthreads-fixes-2025-02-04' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks

Pull kthreads fix from Frederic Weisbecker:

 - Properly handle return value when allocation fails for the preferred
   affinity

* tag 'kthreads-fixes-2025-02-04' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks:
  kthread: Fix return value on kzalloc() failure in kthread_affine_preferred()
DeltaFile
+2-2kernel/kthread.c
+2-21 files

Linux/linux d009de7tools/testing/selftests/livepatch functions.sh

Merge tag 'livepatching-for-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching

Pull livepatching fix from Petr Mladek:

 - Fix livepatching selftests for util-linux-2.40.x

* tag 'livepatching-for-6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
  selftests: livepatch: handle PRINTK_CALLER in check_result()
DeltaFile
+2-1tools/testing/selftests/livepatch/functions.sh
+2-11 files

Linux/linux f5a2601drivers/platform/x86 ideapad-laptop.c, drivers/platform/x86/intel/ifs ifs.h

Merge tag 'platform-drivers-x86-v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull x86 platform driver fixes from Ilpo Järvinen:

 - ideapad-laptop: Pass a correct pointer to the driver data

 - intel/ifs: Provide a link to the IFS test images

 - intel/pmc: Use large enough type when decoding LTR value

* tag 'platform-drivers-x86-v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
  platform/x86/intel/ifs: Update documentation with image download path
  platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()
  platform/x86: ideapad-laptop: pass a correct pointer to the driver data
DeltaFile
+4-5drivers/platform/x86/intel/ifs/ifs.h
+2-2drivers/platform/x86/intel/pmc/core.c
+1-1drivers/platform/x86/ideapad-laptop.c
+7-83 files

Linux/linux a787ab7drivers/platform/x86/intel/ifs ifs.h

platform/x86/intel/ifs: Update documentation with image download path

The documentation previously listed the path to download In Field Scan
(IFS) test images as "TBD".

Update the documentation to include the correct image download
location. Also move the download link to the appropriate section within
the documentation.

Reported-by: Anisse Astier <anisse at astier.eu>
Signed-off-by: Jithu Joseph <jithu.joseph at intel.com>
Link: https://lore.kernel.org/r/20250131205315.1585663-1-jithu.joseph@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
DeltaFile
+4-5drivers/platform/x86/intel/ifs/ifs.h
+4-51 files

Linux/linux 1b0332akernel kthread.c

kthread: Fix return value on kzalloc() failure in kthread_affine_preferred()

kthread_affine_preferred() incorrectly returns 0 instead of -ENOMEM
when kzalloc() fails. Return 'ret' to ensure the correct error code is
propagated.

Fixes: 4d13f4304fa4 ("kthread: Implement preferred affinity")
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501301528.t0cZVbnq-lkp@intel.com/
Signed-off-by: Yu-Chun Lin <eleanor15x at gmail.com>
Signed-off-by: Frederic Weisbecker <frederic at kernel.org>
DeltaFile
+2-2kernel/kthread.c
+2-21 files

Linux/linux 0de63bbfs dcache.c

Merge tag 'pull-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull d_revalidate fix from Al Viro:
 "Fix a braino in d_revalidate series: check ->d_op for NULL"

* tag 'pull-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  fix braino in "9p: fix ->rename_sem exclusion"
DeltaFile
+2-2fs/dcache.c
+2-21 files

Linux/linux 902e09cfs dcache.c

fix braino in "9p: fix ->rename_sem exclusion"

->d_op can bloody well be NULL

Fucked-up-by: Al Viro <viro at zeniv.linux.org.uk>
Fixes: 30d61efe118c "9p: fix ->rename_sem exclusion"
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
DeltaFile
+2-2fs/dcache.c
+2-21 files

Linux/linux f286757include/linux jiffies.h hrtimer_defs.h, kernel/time hrtimer.c clocksource.c

Merge tag 'timers-urgent-2025-02-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fixes from Thomas Gleixner:

 - Properly cast the input to secs_to_jiffies() to unsigned long as
   otherwise the result uses the data type of the input variable, which
   causes result range checks to fail if the input data type is signed
   and smaller than unsigned long.

 - Handle late armed hrtimers gracefully on CPU hotplug

   There are legitimate cases where a hrtimer is (re)armed on an
   outgoing CPU after the timers have been migrated away. This triggers
   warnings and caused people to implement horrible workarounds in RCU.
   But those workarounds are incomplete and do not cover e.g. the
   scheduler hrtimers.

   Stop this by force moving timer which are enqueued on the current CPU
   after timer migration to be queued on a remote online CPU.

    [15 lines not shown]
DeltaFile
+94-31kernel/time/hrtimer.c
+2-1kernel/time/clocksource.c
+1-1include/linux/jiffies.h
+1-0include/linux/hrtimer_defs.h
+98-334 files

Linux/linux a360f3fDocumentation/devicetree/bindings/interrupt-controller microchip,lan966x-oic.yaml, drivers/irqchip irq-apple-aic.c irq-mvebu-icu.c

Merge tag 'irq-urgent-2025-02-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fixes from Thomas Gleixner:

 - Ensure ordering of memory and device I/O for IPIs on RISCV

   The RISCV interrupt controllers use writel_relaxed() for generating
   an IPI. That's a device I/O write which is not guaranteed to be
   ordered against preceding memory writes. As a consequence a IPI
   receiving CPU might not be able to observe the actual IPI data which
   is required to handle it. Switch to writel() which contains the
   necessary memory barriers to enforce ordering.

 - Fix up the fallout of the MSI conversion in the MVEVBU ICU driver.

   The conversion failed to handle the change of the data storage and
   kept the original code which uses the domain::host_data pointer
   unchanged. After the conversion domain::host_data points to the new
   msi_domain_info structure and not longer to the MVEBU specific MSI

    [18 lines not shown]
DeltaFile
+2-3Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml
+2-1drivers/irqchip/irq-apple-aic.c
+2-1drivers/irqchip/irq-mvebu-icu.c
+1-1drivers/irqchip/irq-riscv-imsic-early.c
+1-1drivers/irqchip/irq-thead-c900-aclint-sswi.c
+1-0drivers/irqchip/Kconfig
+9-76 files

Linux/linux 0a08238fs/xfs xfs_exchrange.c xfs_buf.c, fs/xfs/libxfs xfs_bmap.c

Merge tag 'xfs-fixes-6.14-rc2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs bug fixes from Carlos Maiolino:
 "A few fixes for XFS, but the most notable one is:

   - xfs: remove xfs_buf_cache.bc_lock

  which has been hit by different persons including syzbot"

* tag 'xfs-fixes-6.14-rc2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
  xfs: remove xfs_buf_cache.bc_lock
  xfs: Add error handling for xfs_reflink_cancel_cow_range
  xfs: Propagate errors from xfs_reflink_cancel_cow_range in xfs_dax_write_iomap_end
  xfs: don't call remap_verify_area with sb write protection held
  xfs: remove an out of data comment in _xfs_buf_alloc
  xfs: fix the entry condition of exact EOF block allocation optimization
DeltaFile
+27-44fs/xfs/xfs_exchrange.c
+17-19fs/xfs/xfs_buf.c
+7-6fs/xfs/libxfs/xfs_bmap.c
+5-2fs/xfs/xfs_inode.c
+2-4fs/xfs/xfs_iomap.c
+0-1fs/xfs/xfs_buf.h
+58-766 files

Linux/linux 583ef25drivers/platform/x86/intel/pmc core.c

platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()

In pmc_core_ltr_show(), promote 'val' to 'u64' to avoid possible integer
overflow. Values (10 bit) are multiplied by the scale, the result of
expression is in a range from 1 to 34,326,183,936 which is bigger then
UINT32_MAX. Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Kandybka <d.kandybka at gmail.com>
Reviewed-by: Rajneesh Bhardwaj <irenic.rajneesh at gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
Link: https://lore.kernel.org/r/20250123220739.68087-1-d.kandybka@gmail.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
DeltaFile
+2-2drivers/platform/x86/intel/pmc/core.c
+2-21 files

Linux/linux e4d4648drivers/platform/x86 ideapad-laptop.c

platform/x86: ideapad-laptop: pass a correct pointer to the driver data

devm_platform_profile_register() expects a pointer to the private driver
data but instead an address of the pointer variable is passed due to a
typo. This leads to the crashes later:

BUG: unable to handle page fault for address: 00000000fe0d0044
PGD 0 P4D 0
Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
CPU: 6 UID: 0 PID: 1284 Comm: tuned Tainted: G        W          6.13.0+ #7
Tainted: [W]=WARN
Hardware name: LENOVO 21D0/LNVNB161216, BIOS J6CN45WW 03/17/2023
RIP: 0010:__mutex_lock.constprop.0+0x6bf/0x7f0
Call Trace:
 <TASK>
 dytc_profile_set+0x4a/0x140 [ideapad_laptop]
 _store_and_notify+0x13/0x40 [platform_profile]
 class_for_each_device+0x145/0x180
 platform_profile_store+0xc0/0x130 [platform_profile]

    [14 lines not shown]
DeltaFile
+1-1drivers/platform/x86/ideapad-laptop.c
+1-11 files

Linux/linux 2014c95. Makefile

Linux 6.14-rc1
DeltaFile
+2-2Makefile
+2-21 files

Linux/linux d79bc8ftools/power/x86/turbostat turbostat.c turbostat.8

Merge tag 'turbostat-2025.02.02' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux

Pull turbostat updates from Len Brown:

 - Fix regression that affinitized forked child in one-shot mode.

 - Harden one-shot mode against hotplug online/offline

 - Enable RAPL SysWatt column by default

 - Add initial PTL, CWF platform support

 - Harden initial PMT code in response to early use

 - Enable first built-in PMT counter: CWF c1e residency

 - Refuse to run on unsupported platforms without --force, to encourage
   updating to a version that supports the system, and to avoid
   no-so-useful measurement results

    [23 lines not shown]
DeltaFile
+546-106tools/power/x86/turbostat/turbostat.c
+29-3tools/power/x86/turbostat/turbostat.8
+575-1092 files

Linux/linux 5d82ca7arch/sh Kconfig Kbuild, arch/sh/boards Kconfig

Merge tag 'sh-for-v6.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux

Pull sh updates from John Paul Adrian Glaubitz:
 "Fixes and improvements for sh:

   - replace seq_printf() with the more efficient
     seq_put_decimal_ull_width() to increase performance when stress
     reading /proc/interrupts (David Wang)

   - migrate sh to the generic rule for built-in DTB to help avoid race
     conditions during parallel builds which can occur because Kbuild
     decends into arch/*/boot/dts twice (Masahiro Yamada)

   - replace select with imply in the board Kconfig for enabling
     hardware with complex dependencies. This addresses warnings which
     were reported by the kernel test robot (Geert Uytterhoeven)"

* tag 'sh-for-v6.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
  sh: boards: Use imply to enable hardware with complex dependencies

    [2 lines not shown]
DeltaFile
+4-3arch/sh/Kconfig
+2-2arch/sh/kernel/setup.c
+2-2arch/sh/boards/Kconfig
+2-2arch/sh/kernel/irq.c
+1-1arch/sh/boot/dts/Makefile
+0-1arch/sh/Kbuild
+11-116 files

Linux/linux 2c4627ctools/power/x86/turbostat turbostat.c

tools/power turbostat: version 2025.02.02

Summary of Changes since 2024.11.30:

Fix regression in 2023.11.07 that affinitized forked child
in one-shot mode.

Harden one-shot mode against hotplug online/offline

Enable RAPL SysWatt column by default.

Add initial PTL, CWF platform support.

Harden initial PMT code in response to early use.

Enable first built-in PMT counter: CWF c1e residency

Refuse to run on unsupported platforms without --force,
to encourage updating to a version that supports the system,

    [3 lines not shown]
DeltaFile
+1-1tools/power/x86/turbostat/turbostat.c
+1-11 files

Linux/linux a86bf22fs file_table.c anon_inodes.c, fs/bcachefs util.h

Merge tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull misc vfs cleanups from Al Viro:
 "Two unrelated patches - one is a removal of long-obsolete include in
  overlayfs (it used to need fs/internal.h, but the extern it wanted has
  been moved back to include/linux/namei.h) and another introduces
  convenience helper constructing struct qstr by a NUL-terminated
  string"

* tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  add a string-to-qstr constructor
  fs/overlayfs/namei.c: get rid of include ../internal.h
DeltaFile
+5-9net/sunrpc/rpc_pipe.c
+1-3fs/file_table.c
+2-2fs/anon_inodes.c
+1-2mm/secretmem.c
+0-2fs/bcachefs/util.h
+1-1fs/erofs/xattr.c
+10-195 files not shown
+13-2411 files

Linux/linux c270ab5arch/mips/kernel/syscalls syscall_o32.tbl

Merge tag 'mips_6.14_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux

Pull MIPS fix from Thomas Bogendoerfer:
 "Revert commit breaking sysv ipc for o32 ABI"

* tag 'mips_6.14_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
  Revert "mips: fix shmctl/semctl/msgctl syscall for o32"
DeltaFile
+3-3arch/mips/kernel/syscalls/syscall_o32.tbl
+3-31 files

Linux/linux cabb468fs/smb/client reparse.c fs_context.c

Merge tag 'v6.14-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6

Pull more smb client updates from Steve French:

   - various updates for special file handling: symlink handling,
     support for creating sockets, cleanups, new mount options (e.g. to
     allow disabling using reparse points for them, and to allow
     overriding the way symlinks are saved), and fixes to error paths

   - fix for kerberos mounts (allow IAKerb)

   - SMB1 fix for stat and for setting SACL (auditing)

   - fix an incorrect error code mapping

   - cleanups"

* tag 'v6.14-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6: (21 commits)
  cifs: Fix parsing native symlinks directory/file type

    [20 lines not shown]
DeltaFile
+448-71fs/smb/client/reparse.c
+104-0fs/smb/client/fs_context.c
+61-41fs/smb/client/cifspdu.h
+49-13fs/smb/client/cifsglob.h
+46-14fs/smb/client/link.c
+51-1fs/smb/client/smb2file.c
+759-14022 files not shown
+885-19328 files

Linux/linux 8c198fffs/debugfs file.c

Merge tag 'driver-core-6.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull debugfs fix from Greg KH:
 "Here is a single debugfs fix from Al to resolve a reported regression
  in the driver-core tree. It has been reported to fix the issue"

* tag 'driver-core-6.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  debugfs: Fix the missing initializations in __debugfs_file_get()
DeltaFile
+12-8fs/debugfs/file.c
+12-81 files

Linux/linux 03cc357kernel fork.c, lib test_xarray.c Kconfig.debug

Merge tag 'mm-hotfixes-stable-2025-02-01-03-56' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull misc fixes from Andrew Morton:
 "21 hotfixes. 8 are cc:stable and the remainder address post-6.13
  issues. 13 are for MM and 8 are for non-MM.

  All are singletons, please see the changelogs for details"

* tag 'mm-hotfixes-stable-2025-02-01-03-56' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (21 commits)
  MAINTAINERS: include linux-mm for xarray maintenance
  revert "xarray: port tests to kunit"
  MAINTAINERS: add lib/test_xarray.c
  mailmap, MAINTAINERS, docs: update Carlos's email address
  mm/hugetlb: fix hugepage allocation for interleaved memory nodes
  mm: gup: fix infinite loop within __get_longterm_locked
  mm, swap: fix reclaim offset calculation error during allocation
  .mailmap: update email address for Christopher Obbard
  kfence: skip __GFP_THISNODE allocations on NUMA systems
  nilfs2: fix possible int overflows in nilfs_fiemap()

    [11 lines not shown]
DeltaFile
+271-386lib/test_xarray.c
+25-4mm/compaction.c
+2-16lib/Kconfig.debug
+14-3kernel/fork.c
+4-10mm/gup.c
+9-4mm/vmscan.c
+325-42328 files not shown
+379-44134 files

Linux/linux c6fe03adrivers/media/usb/uvc uvc_driver.c

Merge tag 'media/v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

Pull media fix from Mauro Carvalho Chehab:
 "A revert for a regression in the uvcvideo driver"

* tag 'media/v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
  Revert "media: uvcvideo: Require entities to have a non-zero unique ID"
DeltaFile
+27-43drivers/media/usb/uvc/uvc_driver.c
+27-431 files

Linux/linux e5b2a35. MAINTAINERS

MAINTAINERS: include linux-mm for xarray maintenance

MM developers have an interest in the xarray code.

Cc: David Gow <davidgow at google.com>
Cc: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: "Liam R. Howlett" <Liam.Howlett at oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
Cc: Matthew Wilcox <willy at infradead.org>
Cc: Sidhartha Kumar <sidhartha.kumar at oracle.com>
Cc: Tamir Duberstein <tamird at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+1-0MAINTAINERS
+1-01 files

Linux/linux 0503390arch/m68k/configs hp300_defconfig amiga_defconfig, lib test_xarray.c Kconfig.debug

revert "xarray: port tests to kunit"

Revert c7bb5cf9fc4e ("xarray: port tests to kunit").  It broke the build
when compiing the xarray userspace test harness code.

Reported-by: Sidhartha Kumar <sidhartha.kumar at oracle.com>
Closes: https://lkml.kernel.org/r/07cf896e-adf8-414f-a629-a808fc26014a@oracle.com
Cc: David Gow <davidgow at google.com>
Cc: Matthew Wilcox <willy at infradead.org>
Cc: Tamir Duberstein <tamird at gmail.com>
Cc: "Liam R. Howlett" <Liam.Howlett at oracle.com>
Cc: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+271-386lib/test_xarray.c
+2-16lib/Kconfig.debug
+1-1lib/Makefile
+1-0arch/m68k/configs/hp300_defconfig
+1-0arch/m68k/configs/amiga_defconfig
+1-0arch/m68k/configs/apollo_defconfig
+277-40310 files not shown
+287-40316 files

Linux/linux e5eaa1b. MAINTAINERS .mailmap, Documentation/translations/sp_SP index.rst

mailmap, MAINTAINERS, docs: update Carlos's email address

Update .mailmap to reflect my new (and final) primary email address,
carlos.bilbao at kernel.org.  Also update contact information in files
Documentation/translations/sp_SP/index.rst and MAINTAINERS.

Link: https://lkml.kernel.org/r/20250130012248.1196208-1-carlos.bilbao@kernel.org
Signed-off-by: Carlos Bilbao <carlos.bilbao at kernel.org>
Cc: Carlos Bilbao <bilbao at vt.edu>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: Mattew Wilcox <willy at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+4-4MAINTAINERS
+3-1.mailmap
+1-1Documentation/translations/sp_SP/index.rst
+8-63 files

Linux/linux 0ca2a41. MAINTAINERS

MAINTAINERS: add lib/test_xarray.c

Ensure test-only changes are sent to the relevant maintainer.

Link: https://lkml.kernel.org/r/20250129-xarray-test-maintainer-v1-1-482e31f30f47@gmail.com
Signed-off-by: Tamir Duberstein <tamird at gmail.com>
Cc: Mattew Wilcox <willy at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+1-0MAINTAINERS
+1-01 files

Linux/linux 76e9611mm hugetlb.c

mm/hugetlb: fix hugepage allocation for interleaved memory nodes

gather_bootmem_prealloc() assumes the start nid as 0 and size as
num_node_state(N_MEMORY).  That means in case if memory attached numa
nodes are interleaved, then gather_bootmem_prealloc_parallel() will fail
to scan few of these nodes.

Since memory attached numa nodes can be interleaved in any fashion, hence
ensure that the current code checks for all numa node ids
(.size = nr_node_ids). Let's still keep max_threads as N_MEMORY, so that
it can distributes all nr_node_ids among the these many no. threads.

e.g. qemu cmdline
========================
numa_cmd="-numa node,nodeid=1,memdev=mem1,cpus=2-3 -numa node,nodeid=0,cpus=0-1 -numa dist,src=0,dst=1,val=20"
mem_cmd="-object memory-backend-ram,id=mem1,size=16G"

w/o this patch for cmdline (default_hugepagesz=1GB hugepagesz=1GB hugepages=2):
==========================

    [37 lines not shown]
DeltaFile
+1-1mm/hugetlb.c
+1-11 files

Linux/linux 1aaf8c1mm gup.c

mm: gup: fix infinite loop within __get_longterm_locked

We can run into an infinite loop in __get_longterm_locked() when
collect_longterm_unpinnable_folios() finds only folios that are isolated
from the LRU or were never added to the LRU.  This can happen when all
folios to be pinned are never added to the LRU, for example when
vm_ops->fault allocated pages using cma_alloc() and never added them to
the LRU.

Fix it by simply taking a look at the list in the single caller, to see if
anything was added.

[zhaoyang.huang at unisoc.com: move definition of local]
  Link: https://lkml.kernel.org/r/20250122012604.3654667-1-zhaoyang.huang@unisoc.com
Link: https://lkml.kernel.org/r/20250121020159.3636477-1-zhaoyang.huang@unisoc.com
Fixes: 67e139b02d99 ("mm/gup.c: refactor check_and_migrate_movable_pages()")
Signed-off-by: Zhaoyang Huang <zhaoyang.huang at unisoc.com>
Reviewed-by: John Hubbard <jhubbard at nvidia.com>
Reviewed-by: David Hildenbrand <david at redhat.com>

    [6 lines not shown]
DeltaFile
+4-10mm/gup.c
+4-101 files

Linux/linux 498c48cmm swapfile.c

mm, swap: fix reclaim offset calculation error during allocation

There is a code error that will cause the swap entry allocator to reclaim
and check the whole cluster with an unexpected tail offset instead of the
part that needs to be reclaimed.  This may cause corruption of the swap
map, so fix it.

Link: https://lkml.kernel.org/r/20250130115131.37777-1-ryncsn@gmail.com
Fixes: 3b644773eefd ("mm, swap: reduce contention on device lock")
Signed-off-by: Kairui Song <kasong at tencent.com>
Cc: Chris Li <chrisl at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+1-1mm/swapfile.c
+1-11 files

Linux/linux 6438ef3fs/nilfs2 inode.c

nilfs2: fix possible int overflows in nilfs_fiemap()

Since nilfs_bmap_lookup_contig() in nilfs_fiemap() calculates its result
by being prepared to go through potentially maxblocks == INT_MAX blocks,
the value in n may experience an overflow caused by left shift of blkbits.

While it is extremely unlikely to occur, play it safe and cast right hand
expression to wider type to mitigate the issue.

Found by Linux Verification Center (linuxtesting.org) with static analysis
tool SVACE.

Link: https://lkml.kernel.org/r/20250124222133.5323-1-konishi.ryusuke@gmail.com
Fixes: 622daaff0a89 ("nilfs2: fiemap support")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich at fintech.ru>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke at gmail.com>
Cc: <stable at vger.kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
DeltaFile
+3-3fs/nilfs2/inode.c
+3-31 files