]> www.infradead.org Git - users/hch/misc.git/log
users/hch/misc.git
4 weeks agomm: remove the for_reclaim field from struct writeback_control reclaim-cleanup
Christoph Hellwig [Wed, 7 May 2025 13:06:11 +0000 (15:06 +0200)]
mm: remove the for_reclaim field from struct writeback_control

This field is now only set to one in the i915 gem code that only
calls writeback_iter on it, which ignores the flag.  All other
checks are thuse dead code and the field can be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agonilfs2: remove wbc->for_reclaim handling
Christoph Hellwig [Thu, 8 May 2025 05:37:53 +0000 (07:37 +0200)]
nilfs2: remove wbc->for_reclaim handling

Since commit 013a07052a1a ("nilfs2: convert metadata aops from writepage
to writepages"), nilfs_mdt_write_folio can't be called from reclaim
context any more.  Remove the code keyed of the wbc->for_rename flag,
which is now only set for writing out swap or shmem pages inside the
swap code, but never passed to file systems.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agomm: stop passing a writeback_control structure to swap_writeout
Christoph Hellwig [Tue, 6 May 2025 16:08:16 +0000 (18:08 +0200)]
mm: stop passing a writeback_control structure to swap_writeout

swap_writeout only needs the swap_iocb cookie from the writeback_control
structure, so pass it explicitly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agomm: stop passing a writeback_control structure to __swap_writepage
Christoph Hellwig [Tue, 6 May 2025 16:05:38 +0000 (18:05 +0200)]
mm: stop passing a writeback_control structure to __swap_writepage

__swap_writepage only needs the swap_iocb cookie from the
writeback_control structure, so pass it explicitly and remove the
now unused swap_iocb member from struct writeback_control.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agomm: tidy up swap_writeout
Christoph Hellwig [Mon, 5 May 2025 14:17:58 +0000 (16:17 +0200)]
mm: tidy up swap_writeout

Use a goto label to consolidate the unlock folio and return pattern
and don't bother with an else after a return / goto.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agomm: stop passing a writeback_control structure to shmem_writeout
Christoph Hellwig [Mon, 5 May 2025 13:50:23 +0000 (15:50 +0200)]
mm: stop passing a writeback_control structure to shmem_writeout

shmem_writeout only needs the swap_iocb cookie and the split folio
list.  Pass those explicitly and remove the now unused list member
from struct writeback_control.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agomm: split out a writeout helper from pageout
Christoph Hellwig [Mon, 5 May 2025 13:35:03 +0000 (15:35 +0200)]
mm: split out a writeout helper from pageout

Move the code to write back swap / shmem folios into a self-contained
helper to keep prepare for refactoring it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agoext4: use writeback_iter in ext4_journalled_submit_inode_data_buffers
Christoph Hellwig [Sat, 3 May 2025 12:44:03 +0000 (14:44 +0200)]
ext4: use writeback_iter in ext4_journalled_submit_inode_data_buffers

Use writeback_iter directly instead of write_cache_pages for a nicer
code structure and less indirect calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agonfs: use writeback_iter directly
Christoph Hellwig [Thu, 24 Apr 2025 04:40:14 +0000 (06:40 +0200)]
nfs: use writeback_iter directly

Stop using write_cache_pages and use writeback_iter directly.  This
removes an indirect call per written folio and makes the code easier
to follow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agonfs: refactor nfs_do_writepage
Christoph Hellwig [Thu, 24 Apr 2025 04:36:54 +0000 (06:36 +0200)]
nfs: refactor nfs_do_writepage

Use early returns wherever possible to simplify the code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agonfs: don't return AOP_WRITEPAGE_ACTIVATE from nfs_do_writepage
Christoph Hellwig [Thu, 24 Apr 2025 04:32:06 +0000 (06:32 +0200)]
nfs: don't return AOP_WRITEPAGE_ACTIVATE from nfs_do_writepage

nfs_do_writepage is a successful return that requires the caller to
unlock the folio.  Using it here requires special casing both in
nfs_do_writepage and nfs_writepages_callback and leaves a land mine in
nfs_wb_folio in case it ever set the flag.  Remove it and just
unconditionally unlock in nfs_writepages_callback.

Signed-off-by: Christoph Hellwig <hch@lst.de>
4 weeks agonfs: fold nfs_page_async_flush into nfs_do_writepage
Christoph Hellwig [Thu, 24 Apr 2025 04:28:31 +0000 (06:28 +0200)]
nfs: fold nfs_page_async_flush into nfs_do_writepage

Fold nfs_page_async_flush into its only caller to clean up the code a
bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
5 weeks agoAdd linux-next specific files for 20250513
Stephen Rothwell [Tue, 13 May 2025 11:03:21 +0000 (21:03 +1000)]
Add linux-next specific files for 20250513

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git
Stephen Rothwell [Tue, 13 May 2025 09:55:19 +0000 (19:55 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git

5 weeks agoMerge branch 'crc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers...
Stephen Rothwell [Tue, 13 May 2025 09:55:16 +0000 (19:55 +1000)]
Merge branch 'crc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git

5 weeks agoMerge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe.git
Stephen Rothwell [Tue, 13 May 2025 09:55:11 +0000 (19:55 +1000)]
Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:55:07 +0000 (19:55 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git

# Conflicts:
# tools/power/x86/turbostat/turbostat.8
# tools/power/x86/turbostat/turbostat.c

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux...
Stephen Rothwell [Tue, 13 May 2025 09:54:58 +0000 (19:54 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git

5 weeks agoMerge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
Stephen Rothwell [Tue, 13 May 2025 09:54:54 +0000 (19:54 +1000)]
Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git

5 weeks agoMerge branch 'bitmap-for-next' of https://github.com/norov/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:54:50 +0000 (19:54 +1000)]
Merge branch 'bitmap-for-next' of https://github.com/norov/linux.git

5 weeks agoMerge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
Stephen Rothwell [Tue, 13 May 2025 09:54:47 +0000 (19:54 +1000)]
Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git

5 weeks agoMerge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl...
Stephen Rothwell [Tue, 13 May 2025 09:54:43 +0000 (19:54 +1000)]
Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git

5 weeks agoMerge branch 'xarray-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:54:36 +0000 (19:54 +1000)]
Merge branch 'xarray-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agoMerge branch 'timekeeping-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:54:31 +0000 (19:54 +1000)]
Merge branch 'timekeeping-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agoMerge branch 'pin-init-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:54:26 +0000 (19:54 +1000)]
Merge branch 'pin-init-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agoMerge branch 'alloc-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:54:23 +0000 (19:54 +1000)]
Merge branch 'alloc-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agoMerge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:34:20 +0000 (19:34 +1000)]
Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git
Stephen Rothwell [Tue, 13 May 2025 09:34:17 +0000 (19:34 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git

5 weeks agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git
Stephen Rothwell [Tue, 13 May 2025 09:34:13 +0000 (19:34 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git

5 weeks agoMerge branch 'slab/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka...
Stephen Rothwell [Tue, 13 May 2025 09:34:07 +0000 (19:34 +1000)]
Merge branch 'slab/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git
Stephen Rothwell [Tue, 13 May 2025 09:34:03 +0000 (19:34 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
Stephen Rothwell [Tue, 13 May 2025 09:34:00 +0000 (19:34 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git

5 weeks agoMerge branch 'mhi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git
Stephen Rothwell [Tue, 13 May 2025 09:33:56 +0000 (19:33 +1000)]
Merge branch 'mhi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git

5 weeks agoMerge branch 'hyperv-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv...
Stephen Rothwell [Tue, 13 May 2025 09:07:02 +0000 (19:07 +1000)]
Merge branch 'hyperv-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git

5 weeks agoMerge branch 'main' of git://git.infradead.org/users/willy/xarray.git
Stephen Rothwell [Tue, 13 May 2025 09:06:59 +0000 (19:06 +1000)]
Merge branch 'main' of git://git.infradead.org/users/willy/xarray.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git
Stephen Rothwell [Tue, 13 May 2025 09:06:49 +0000 (19:06 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git

5 weeks agoMerge branch 'for-next/seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Tue, 13 May 2025 09:06:46 +0000 (19:06 +1000)]
Merge branch 'for-next/seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git

5 weeks agoMerge branch 'ntb-next' of https://github.com/jonmason/ntb.git
Stephen Rothwell [Tue, 13 May 2025 09:06:42 +0000 (19:06 +1000)]
Merge branch 'ntb-next' of https://github.com/jonmason/ntb.git

5 weeks agoMerge branch 'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni...
Stephen Rothwell [Tue, 13 May 2025 09:06:38 +0000 (19:06 +1000)]
Merge branch 'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching...
Stephen Rothwell [Tue, 13 May 2025 09:06:34 +0000 (19:06 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching

5 weeks agoMerge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux...
Stephen Rothwell [Tue, 13 May 2025 09:03:29 +0000 (19:03 +1000)]
Merge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux...
Stephen Rothwell [Tue, 13 May 2025 09:03:27 +0000 (19:03 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git

5 weeks agoMerge branch 'pwm/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek...
Stephen Rothwell [Tue, 13 May 2025 09:03:25 +0000 (19:03 +1000)]
Merge branch 'pwm/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git

# Conflicts:
# MAINTAINERS

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl...
Stephen Rothwell [Tue, 13 May 2025 08:57:50 +0000 (18:57 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/samsung.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux...
Stephen Rothwell [Tue, 13 May 2025 08:57:47 +0000 (18:57 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux...
Stephen Rothwell [Tue, 13 May 2025 08:57:45 +0000 (18:57 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git

5 weeks agoMerge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl...
Stephen Rothwell [Tue, 13 May 2025 08:57:42 +0000 (18:57 +1000)]
Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc...
Stephen Rothwell [Tue, 13 May 2025 08:40:25 +0000 (18:40 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git

5 weeks agoMerge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
Stephen Rothwell [Tue, 13 May 2025 08:40:22 +0000 (18:40 +1000)]
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
Stephen Rothwell [Tue, 13 May 2025 08:40:20 +0000 (18:40 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git
Stephen Rothwell [Tue, 13 May 2025 08:40:18 +0000 (18:40 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git
Stephen Rothwell [Tue, 13 May 2025 08:40:15 +0000 (18:40 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git
Stephen Rothwell [Tue, 13 May 2025 08:40:13 +0000 (18:40 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git

5 weeks agoMerge branch 'counter-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg...
Stephen Rothwell [Tue, 13 May 2025 08:13:20 +0000 (18:13 +1000)]
Merge branch 'counter-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter.git

5 weeks agoMerge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
Stephen Rothwell [Tue, 13 May 2025 08:13:18 +0000 (18:13 +1000)]
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

5 weeks agoMerge branch 'spmi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
Stephen Rothwell [Tue, 13 May 2025 08:13:15 +0000 (18:13 +1000)]
Merge branch 'spmi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux...
Stephen Rothwell [Tue, 13 May 2025 08:13:13 +0000 (18:13 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-w1.git

5 weeks agoMerge branch 'extcon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo...
Stephen Rothwell [Tue, 13 May 2025 08:13:10 +0000 (18:13 +1000)]
Merge branch 'extcon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git
Stephen Rothwell [Tue, 13 May 2025 08:13:08 +0000 (18:13 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git

5 weeks agoMerge branch 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
Stephen Rothwell [Tue, 13 May 2025 08:13:06 +0000 (18:13 +1000)]
Merge branch 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git

# Conflicts:
# drivers/iio/adc/ad7606.c

5 weeks agoMerge branch 'icc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git
Stephen Rothwell [Tue, 13 May 2025 08:13:02 +0000 (18:13 +1000)]
Merge branch 'icc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux...
Stephen Rothwell [Tue, 13 May 2025 08:12:59 +0000 (18:12 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git
Stephen Rothwell [Tue, 13 May 2025 08:12:57 +0000 (18:12 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git

5 weeks agoMerge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
Stephen Rothwell [Tue, 13 May 2025 08:12:53 +0000 (18:12 +1000)]
Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git

5 weeks agoMerge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
Stephen Rothwell [Tue, 13 May 2025 08:12:51 +0000 (18:12 +1000)]
Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git

# Conflicts:
# Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml

5 weeks agoMerge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb...
Stephen Rothwell [Tue, 13 May 2025 08:12:48 +0000 (18:12 +1000)]
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderb...
Stephen Rothwell [Tue, 13 May 2025 08:12:46 +0000 (18:12 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git

5 weeks agoMerge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Stephen Rothwell [Tue, 13 May 2025 08:12:44 +0000 (18:12 +1000)]
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

# Conflicts:
# MAINTAINERS

5 weeks agoMerge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Tue, 13 May 2025 08:12:40 +0000 (18:12 +1000)]
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git

5 weeks agoMerge branch 'for-next' of git://github.com/cminyard/linux-ipmi.git
Stephen Rothwell [Tue, 13 May 2025 07:45:45 +0000 (17:45 +1000)]
Merge branch 'for-next' of git://github.com/cminyard/linux-ipmi.git

5 weeks agoMerge branch 'for-leds-next' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
Stephen Rothwell [Tue, 13 May 2025 07:45:43 +0000 (17:45 +1000)]
Merge branch 'for-leds-next' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platf...
Stephen Rothwell [Tue, 13 May 2025 07:45:40 +0000 (17:45 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platfo...
Stephen Rothwell [Tue, 13 May 2025 07:45:39 +0000 (17:45 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git

# Conflicts:
# drivers/platform/x86/asus-wmi.c
# drivers/platform/x86/dell/alienware-wmi-wmax.c
# drivers/platform/x86/intel/speed_select_if/isst_if_common.c

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git
Stephen Rothwell [Tue, 13 May 2025 07:45:35 +0000 (17:45 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git
Stephen Rothwell [Tue, 13 May 2025 07:45:33 +0000 (17:45 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git

5 weeks agoMerge branch 'next' of https://github.com/kvm-x86/linux.git
Stephen Rothwell [Tue, 13 May 2025 07:22:26 +0000 (17:22 +1000)]
Merge branch 'next' of https://github.com/kvm-x86/linux.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git
Stephen Rothwell [Tue, 13 May 2025 07:22:23 +0000 (17:22 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/virt/kvm/kvm.git
Stephen Rothwell [Tue, 13 May 2025 07:22:21 +0000 (17:22 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/virt/kvm/kvm.git

# Conflicts:
# arch/x86/kvm/vmx/vmx.c

5 weeks agoMerge branch 'non-rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...
Stephen Rothwell [Tue, 13 May 2025 06:55:19 +0000 (16:55 +1000)]
Merge branch 'non-rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git
Stephen Rothwell [Tue, 13 May 2025 06:55:17 +0000 (16:55 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux...
Stephen Rothwell [Tue, 13 May 2025 06:55:14 +0000 (16:55 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git

5 weeks agoMerge branch 'edac-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ras...
Stephen Rothwell [Tue, 13 May 2025 06:55:12 +0000 (16:55 +1000)]
Merge branch 'edac-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git

5 weeks agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
Stephen Rothwell [Tue, 13 May 2025 06:55:10 +0000 (16:55 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

# Conflicts:
# Documentation/admin-guide/hw-vuln/index.rst
# arch/loongarch/kernel/entry.S
# arch/x86/Kconfig.assembler
# arch/x86/include/asm/cpufeatures.h
# arch/x86/kernel/alternative.c
# arch/x86/kernel/cpu/bugs.c
# arch/x86/kernel/cpu/common.c
# drivers/base/cpu.c
# drivers/cpufreq/amd-pstate.c
# drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c
# include/linux/cpu.h

5 weeks agoMerge 6.15-rc6 into staging-next
Greg Kroah-Hartman [Tue, 13 May 2025 06:37:56 +0000 (08:37 +0200)]
Merge 6.15-rc6 into staging-next

We need the staging changes in here as well

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5 weeks agoMerge 6.15-rc6 into usb-next
Greg Kroah-Hartman [Tue, 13 May 2025 06:26:58 +0000 (08:26 +0200)]
Merge 6.15-rc6 into usb-next

We need the USB fixes in here as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5 weeks agoMerge 6.15-rc6 into char-misc-next
Greg Kroah-Hartman [Tue, 13 May 2025 06:19:37 +0000 (08:19 +0200)]
Merge 6.15-rc6 into char-misc-next

We need the iio/hyperv fixes in here as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5 weeks agoselftests: harness: Stop using setjmp()/longjmp()
Thomas Weißschuh [Mon, 5 May 2025 15:15:30 +0000 (17:15 +0200)]
selftests: harness: Stop using setjmp()/longjmp()

Usage of longjmp() was added to ensure that teardown is always run in
commit 63e6b2a42342 ("selftests/harness: Run TEARDOWN for ASSERT failures")
However instead of calling longjmp() to the teardown handler it is easier to
just call the teardown handler directly from __bail().
Any potential duplicate teardown invocations are harmless as the actual
handler will only ever be executed once since
commit fff37bd32c76 ("selftests/harness: Fix fixture teardown").

Additionally this removes a incompatibility with nolibc,
which does not support setjmp()/longjmp().

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-12-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Add "variant" and "self" to test metadata
Thomas Weißschuh [Mon, 5 May 2025 15:15:29 +0000 (17:15 +0200)]
selftests: harness: Add "variant" and "self" to test metadata

To get rid of setjmp()/longjmp(), the variant and self need to be usable
from __bail().

Make them available from the test metadata.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-11-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Add teardown callback to test metadata
Thomas Weißschuh [Mon, 5 May 2025 15:15:28 +0000 (17:15 +0200)]
selftests: harness: Add teardown callback to test metadata

To get rid of setjmp()/longjmp(), the teardown logic needs to be usable
from __bail(). Introduce a new callback for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-10-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Move teardown conditional into test metadata
Thomas Weißschuh [Mon, 5 May 2025 15:15:27 +0000 (17:15 +0200)]
selftests: harness: Move teardown conditional into test metadata

To get rid of setjmp()/longjmp(), the teardown logic needs to be usable
from __bail(). To access the atomic teardown conditional from there,
move it into the test metadata.
This also allows the removal of "setup_completed".

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-9-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Don't set setup_completed for fixtureless tests
Thomas Weißschuh [Mon, 5 May 2025 15:15:26 +0000 (17:15 +0200)]
selftests: harness: Don't set setup_completed for fixtureless tests

This field is unused and has no meaning for tests without fixtures.
Don't set it for them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-8-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Implement test timeouts through pidfd
Thomas Weißschuh [Mon, 5 May 2025 15:15:25 +0000 (17:15 +0200)]
selftests: harness: Implement test timeouts through pidfd

Make the kselftest harness compatible with nolibc which does not implement
signals by replacing the signal logic with pidfds.
The code also becomes simpler.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-7-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Remove dependency on libatomic
Thomas Weißschuh [Mon, 5 May 2025 15:15:24 +0000 (17:15 +0200)]
selftests: harness: Remove dependency on libatomic

__sync_bool_compare_and_swap() is deprecated and requires libatomic on
GCC. Compiler toolchains don't necessarily have libatomic available, so
avoid this requirement by using atomics that don't need libatomic.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-6-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Remove inline qualifier for wrappers
Thomas Weißschuh [Mon, 5 May 2025 15:15:23 +0000 (17:15 +0200)]
selftests: harness: Remove inline qualifier for wrappers

The pointers to the wrappers are stored in function pointers,
preventing them from actually being inlined.
Remove the inline qualifier, aligning these wrappers with the other
functions defined through macros.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-5-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Mark functions without prototypes static
Thomas Weißschuh [Mon, 5 May 2025 15:15:22 +0000 (17:15 +0200)]
selftests: harness: Mark functions without prototypes static

With -Wmissing-prototypes the compiler will warn about non-static
functions which don't have a prototype defined.
As they are not used from a different compilation unit they don't need to
be defined globally.

Avoid the issue by marking the functions static.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-4-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Ignore unused variant argument warning
Thomas Weißschuh [Mon, 5 May 2025 15:15:21 +0000 (17:15 +0200)]
selftests: harness: Ignore unused variant argument warning

For tests without fixtures the variant argument is unused.
This is intentional, prevent to compiler from complaining.

Example warning:

    harness-selftest.c: In function 'wrapper_standalone_pass':
    ../kselftest_harness.h:181:52: error: unused parameter 'variant' [-Werror=unused-parameter]
      181 |                 struct __fixture_variant_metadata *variant) \
          |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
    ../kselftest_harness.h:156:25: note: in expansion of macro '__TEST_IMPL'
      156 | #define TEST(test_name) __TEST_IMPL(test_name, -1)
          |                         ^~~~~~~~~~~
    harness-selftest.c:15:1: note: in expansion of macro 'TEST'
       15 | TEST(standalone_pass) {
          | ^~~~

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-3-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Use C89 comment style
Thomas Weißschuh [Mon, 5 May 2025 15:15:20 +0000 (17:15 +0200)]
selftests: harness: Use C89 comment style

All comments in this file use C89 comment style.
Except for this one. Change it to get one step closer to C89
compatibility.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-2-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoselftests: harness: Add kselftest harness selftest
Thomas Weißschuh [Mon, 5 May 2025 15:15:19 +0000 (17:15 +0200)]
selftests: harness: Add kselftest harness selftest

Add a selftest for the kselftest harness itself so any changes can be
validated.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-1-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Stephen Rothwell [Tue, 13 May 2025 05:18:26 +0000 (15:18 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux...
Stephen Rothwell [Tue, 13 May 2025 05:15:32 +0000 (15:15 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt.git

# Conflicts:
# MAINTAINERS