]> www.infradead.org Git - users/willy/pagecache.git/log
users/willy/pagecache.git
5 weeks agomm: Rename page->mapping to page->__folio_mapping shrunk-page
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 17:38:19 +0000 (13:38 -0400)]
mm: Rename page->mapping to page->__folio_mapping

All users of page->mapping except page migration have been converted
to not refer to it any more.  Prevent new users from appearing (or at
least make them easy to grep for).  That lets us delete the TAIL_MAPPING
poison as there's no way to see it any more.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agomm: Remove PageMappingFlags()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:59:16 +0000 (09:59 -0400)]
mm: Remove PageMappingFlags()

We already have a folio in free_pages_prepare(), so use
folio_mapping_flags() and folio_test_anon() instead, also
removing a hidden call to compound_head() as well as two
references to page->mapping.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agoamdgpu: Hack around the removal of page->mapping
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 19:45:43 +0000 (15:45 -0400)]
amdgpu: Hack around the removal of page->mapping

This is almost certainly the wrong thing to do, but it gets everything
compiling for the moment.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agotcp: Remove an access to page->mapping in can_map_frag()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:54:04 +0000 (09:54 -0400)]
tcp: Remove an access to page->mapping in can_map_frag()

page->mapping is going to be removed soon; use folio->mapping instead.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agords: Use a folio in __rds_ib_teardown_mr()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:49:57 +0000 (09:49 -0400)]
rds: Use a folio in __rds_ib_teardown_mr()

Remove an access to page->mapping, and replace two calls to
compound_head() with one.  We should probably have a way to
iterate over each folio in an sg list, but that would be a more
complex patch.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agokexec: Remove access to page->mapping
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:46:20 +0000 (09:46 -0400)]
kexec: Remove access to page->mapping

There's no need to NULL out the mapping pointer; alloc_pages()
ensures it is NULL.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agonfs: Remove page->mapping access in nfs_page_to_inode()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:42:12 +0000 (09:42 -0400)]
nfs: Remove page->mapping access in nfs_page_to_inode()

page->mapping is going to be removed soon, so avoid accessing it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agofscrypt: Reimplement fscrypt_is_bounce_page()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:39:11 +0000 (09:39 -0400)]
fscrypt: Reimplement fscrypt_is_bounce_page()

Call fscrypt_is_bounce_folio() to avoid a reference to page->mapping.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agosquashfs: Use folios in squashfs_bio_read_cached()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:34:17 +0000 (09:34 -0400)]
squashfs: Use folios in squashfs_bio_read_cached()

Remove an access to page->mapping and a few calls to the old page-based
APIs.  This doesn't support large folios, but it's still a nice
improvement.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agosquashfs: Pass the inode to squashfs_readahead_fragment()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:33:21 +0000 (09:33 -0400)]
squashfs: Pass the inode to squashfs_readahead_fragment()

Eliminate a reference to page->mapping by passing the inode from
the caller.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use a folio in f2fs_quota_read()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:05:02 +0000 (09:05 -0400)]
f2fs: Use a folio in f2fs_quota_read()

Support arbitrary size folios and remove a few hidden calls to
compound_head().  Also remove an unnecessary test of the uptodaate flag;
if mapping_read_folio_gfp() cannot bring the folio uptodate, it will
return an error.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use a folio in move_data_block()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:03:14 +0000 (09:03 -0400)]
f2fs: Use a folio in move_data_block()

Fetch a folio from the pagecache instead of a page and operate on it
throughout.  Removes eight calls to compound_head() and an access to
page->mapping.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Remove access to page->mapping in f2fs_is_cp_guaranteed()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 13:01:27 +0000 (09:01 -0400)]
f2fs: Remove access to page->mapping in f2fs_is_cp_guaranteed()

page->mapping will be removed soon, so call page_folio() on the
page that was passed in.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use a folio in add_ipu_page()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 04:24:06 +0000 (00:24 -0400)]
f2fs: Use a folio in add_ipu_page()

Convert the incoming page to a folio at the start, then use the
folio later in the function.  Moves a call to page_folio() earlier,
and removes an access to page->mapping.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use bio_for_each_folio_all() in __has_merged_page()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 04:16:47 +0000 (00:16 -0400)]
f2fs: Use bio_for_each_folio_all() in __has_merged_page()

Iterate over each folio rather than each page.  Convert
f2fs_compress_control_page() to f2fs_compress_control_folio() since
this is the only caller.  Removes a reference to page->mapping which
is going away soon as well as calls to fscrypt_is_bounce_page() and
fscrypt_pagecache_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use F2FS_P_SB() in f2fs_is_compressed_page()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 04:13:17 +0000 (00:13 -0400)]
f2fs: Use F2FS_P_SB() in f2fs_is_compressed_page()

Remove a reference to page->mapping which is going away soon.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Introduce fio_inode()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 03:09:12 +0000 (23:09 -0400)]
f2fs: Introduce fio_inode()

This helper returns the inode associated with the f2fs_io_info.  That's a
relatively common thing to want, mildly awkward to get and provides one
place to change if we decide to record it directly, or change fio->page
to fio->folio.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use a folio in f2fs_write_raw_pages()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 00:02:59 +0000 (20:02 -0400)]
f2fs: Use a folio in f2fs_write_raw_pages()

Convert each page in rpages to a folio before operating on it.  Replaces
eight calls to compound_head() with one and removes a reference to
page->mapping which is going away soon.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agof2fs: Use a folio in f2fs_compress_free_page()
Matthew Wilcox (Oracle) [Mon, 17 Mar 2025 00:01:38 +0000 (20:01 -0400)]
f2fs: Use a folio in f2fs_compress_free_page()

Convert the incoming page to a folio and operate on it.  Removes a
reference to page->mapping which is going away soon.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agoniu: Create struct niu_page
Matthew Wilcox (Oracle) [Sat, 15 Mar 2025 03:59:41 +0000 (23:59 -0400)]
niu: Create struct niu_page

The map_page() call returns a u64, so using page->private or page->index
to store the result from that will truncate it on 32-bit systems.
Additionally, the next pointer is stored in page->mapping and we're
trying to remove references to page->mapping.  So define a
driver-private struct which overlays struct page and lets us store the
64-bit result of map_page.  Gets rid of the niu_next_page() macro;
we can use the much more natural page->next instead.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agovboxsf: Convert to writepages
Matthew Wilcox (Oracle) [Thu, 19 Dec 2024 22:57:46 +0000 (22:57 +0000)]
vboxsf: Convert to writepages

If we add a migrate_folio operation, we can convert the writepage
operation to writepages.  Further, this lets us optimise by using
the same write handle for multiple folios.  The large folio support here
is illusory; we would need to kmap each page in turn for proper support.
But we do remove a few hidden calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agomm: Rename page->index to page->__folio_index
Matthew Wilcox (Oracle) [Mon, 22 Jul 2024 20:59:33 +0000 (16:59 -0400)]
mm: Rename page->index to page->__folio_index

All users of page->index have been converted to not refer to it any
more.  Prevent new users from appearing (or at least make them
easy to grep for).

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
5 weeks agointel_th: avoid using deprecated page->mapping, index fields
Lorenzo Stoakes [Tue, 3 Dec 2024 08:00:01 +0000 (08:00 +0000)]
intel_th: avoid using deprecated page->mapping, index fields

The struct page->mapping, index fields are deprecated and soon to be only
available as part of a folio.

It is likely the intel_th code which sets page->mapping, index is was
implemented out of concern that some aspect of the page fault logic may
encounter unexpected problems should they not.

However, the appropriate interface for inserting kernel-allocated memory is
vm_insert_page() in a VM_MIXEDMAP. By using the helper function
vmf_insert_mixed() we can do this with minimal churn in the existing fault
handler.

By doing so, we bypass the remainder of the faulting logic. The pages are
still pinned so there is no possibility of anything unexpected being done
with the pages once established.

It would also be reasonable to pre-map everything on fault, however to
minimise churn we retain the fault handler.

We also eliminate all code which clears page->mapping on teardown as this
has now become unnecessary.

The MSU code relies on faulting to function correctly, so is by definition
dependent on CONFIG_MMU. We avoid spurious reports about compilation
failure for unsupported platforms by making this requirement explicit in
Kconfig as part of this change too.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
5 weeks agoAdd linux-next specific files for 20250317
Stephen Rothwell [Mon, 17 Mar 2025 12:58:07 +0000 (23:58 +1100)]
Add linux-next specific files for 20250317

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
5 weeks agoRevert "pidfs: ensure that PIDFS_INFO_EXIT is available"
Stephen Rothwell [Mon, 17 Mar 2025 12:34:19 +0000 (23:34 +1100)]
Revert "pidfs: ensure that PIDFS_INFO_EXIT is available"

This reverts commit b0f4119d8b2a680c8cd019f41c64e8b5444c6b83.

5 weeks agoMerge branch 'crc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers...
Stephen Rothwell [Mon, 17 Mar 2025 11:23:12 +0000 (22:23 +1100)]
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 [Mon, 17 Mar 2025 11:23:08 +0000 (22:23 +1100)]
Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe.git

5 weeks agoMerge branch 'caps-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh...
Stephen Rothwell [Mon, 17 Mar 2025 11:23:03 +0000 (22:23 +1100)]
Merge branch 'caps-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 11:22:59 +0000 (22:22 +1100)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git
Stephen Rothwell [Mon, 17 Mar 2025 11:22:52 +0000 (22:22 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git

5 weeks agoMerge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
Stephen Rothwell [Mon, 17 Mar 2025 11:22:03 +0000 (22:22 +1100)]
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 [Mon, 17 Mar 2025 11:21:56 +0000 (22:21 +1100)]
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 [Mon, 17 Mar 2025 11:21:52 +0000 (22:21 +1100)]
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 [Mon, 17 Mar 2025 11:21:48 +0000 (22:21 +1100)]
Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git

# Conflicts:
# include/linux/mm.h
# kernel/sysctl.c
# mm/filemap.c

5 weeks agoMerge branch 'hrtimer-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 11:21:42 +0000 (22:21 +1100)]
Merge branch 'hrtimer-next' of https://github.com/Rust-for-Linux/linux.git

5 weeks agonext-20250314/rust
Stephen Rothwell [Mon, 17 Mar 2025 10:55:50 +0000 (21:55 +1100)]
next-20250314/rust

# Conflicts:
# drivers/gpu/drm/drm_panic_qr.rs

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 09:22:30 +0000 (20:22 +1100)]
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 [Mon, 17 Mar 2025 09:22:26 +0000 (20:22 +1100)]
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 [Mon, 17 Mar 2025 09:22:23 +0000 (20:22 +1100)]
Merge branch 'slab/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git

# Conflicts:
# kernel/rcu/tiny.c

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git
Stephen Rothwell [Mon, 17 Mar 2025 09:22:18 +0000 (20:22 +1100)]
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 [Mon, 17 Mar 2025 09:22:14 +0000 (20:22 +1100)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git

5 weeks agoMerge branch 'hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
Stephen Rothwell [Mon, 17 Mar 2025 08:57:18 +0000 (19:57 +1100)]
Merge branch 'hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux...
Stephen Rothwell [Mon, 17 Mar 2025 08:57:14 +0000 (19:57 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay.git

5 weeks agoMerge branch 'hyperv-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv...
Stephen Rothwell [Mon, 17 Mar 2025 08:57:10 +0000 (19:57 +1100)]
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 [Mon, 17 Mar 2025 08:57:06 +0000 (19:57 +1100)]
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 [Mon, 17 Mar 2025 08:56:59 +0000 (19:56 +1100)]
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 [Mon, 17 Mar 2025 08:56:55 +0000 (19:56 +1100)]
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 [Mon, 17 Mar 2025 08:56:51 +0000 (19:56 +1100)]
Merge branch 'ntb-next' of https://github.com/jonmason/ntb.git

5 weeks agoMerge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Mon, 17 Mar 2025 08:56:41 +0000 (19:56 +1100)]
Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git

5 weeks agoMerge branch 'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni...
Stephen Rothwell [Mon, 17 Mar 2025 08:56:38 +0000 (19:56 +1100)]
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 [Mon, 17 Mar 2025 08:56:34 +0000 (19:56 +1100)]
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 [Mon, 17 Mar 2025 08:35:09 +0000 (19:35 +1100)]
Merge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git

# Conflicts:
# lib/Makefile

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux...
Stephen Rothwell [Mon, 17 Mar 2025 08:31:40 +0000 (19:31 +1100)]
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 [Mon, 17 Mar 2025 08:31:37 +0000 (19:31 +1100)]
Merge branch 'pwm/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl...
Stephen Rothwell [Mon, 17 Mar 2025 08:28:59 +0000 (19:28 +1100)]
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 [Mon, 17 Mar 2025 08:07:05 +0000 (19:07 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git

5 weeks agoMerge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl...
Stephen Rothwell [Mon, 17 Mar 2025 08:07:02 +0000 (19:07 +1100)]
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 [Mon, 17 Mar 2025 07:43:12 +0000 (18:43 +1100)]
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 [Mon, 17 Mar 2025 07:43:10 +0000 (18:43 +1100)]
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 [Mon, 17 Mar 2025 07:43:07 +0000 (18:43 +1100)]
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 [Mon, 17 Mar 2025 07:43:05 +0000 (18:43 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

# Conflicts:
# arch/arm64/boot/dts/rockchip/rk3576.dtsi
# drivers/scsi/scsi_debug.c

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git
Stephen Rothwell [Mon, 17 Mar 2025 07:43:01 +0000 (18:43 +1100)]
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 [Mon, 17 Mar 2025 07:42:59 +0000 (18:42 +1100)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git

# Conflicts:
# Documentation/devicetree/bindings/misc/atmel-ssc.txt

5 weeks agogpio: da9055: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:29 +0000 (13:40 +0100)]
gpio: da9055: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-15-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: da9052: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:28 +0000 (13:40 +0100)]
gpio: da9052: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-14-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: cs5535: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:27 +0000 (13:40 +0100)]
gpio: cs5535: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-13-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: crystalcove: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:26 +0000 (13:40 +0100)]
gpio: crystalcove: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-12-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: cros-ec: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:25 +0000 (13:40 +0100)]
gpio: cros-ec: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-11-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: creg-snps: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:24 +0000 (13:40 +0100)]
gpio: creg-snps: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-10-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: cgbc: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:23 +0000 (13:40 +0100)]
gpio: cgbc: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-9-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bt8xx: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:22 +0000 (13:40 +0100)]
gpio: bt8xx: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-8-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bt8xx: use lock guards
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:21 +0000 (13:40 +0100)]
gpio: bt8xx: use lock guards

Reduce the code complexity by using automatic lock guards with the
spinlock.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-7-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bt8xx: allow to build the module with COMPILE_TEST=y
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:20 +0000 (13:40 +0100)]
gpio: bt8xx: allow to build the module with COMPILE_TEST=y

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-6-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bd9571mwv: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:19 +0000 (13:40 +0100)]
gpio: bd9571mwv: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-5-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bd71828: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:18 +0000 (13:40 +0100)]
gpio: bd71828: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-4-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bd71815: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:17 +0000 (13:40 +0100)]
gpio: bd71815: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-3-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bcm-kona: use new line value setter callbacks
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:16 +0000 (13:40 +0100)]
gpio: bcm-kona: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-2-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agogpio: bcm-kona: use lock guards
Bartosz Golaszewski [Mon, 10 Mar 2025 12:40:15 +0000 (13:40 +0100)]
gpio: bcm-kona: use lock guards

Reduce the code complexity by using automatic lock guards with the raw
spinlock.

Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-1-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 weeks agoMerge tag 'v6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux...
Bartosz Golaszewski [Mon, 17 Mar 2025 07:27:10 +0000 (08:27 +0100)]
Merge tag 'v6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-next

Linux 6.14-rc7

5 weeks agoMerge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
Stephen Rothwell [Mon, 17 Mar 2025 07:18:09 +0000 (18:18 +1100)]
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 [Mon, 17 Mar 2025 07:18:07 +0000 (18:18 +1100)]
Merge branch 'spmi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git

5 weeks agoMerge branch 'next' of git://github.com/awilliam/linux-vfio.git
Stephen Rothwell [Mon, 17 Mar 2025 07:18:04 +0000 (18:18 +1100)]
Merge branch 'next' of git://github.com/awilliam/linux-vfio.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git
Stephen Rothwell [Mon, 17 Mar 2025 07:18:01 +0000 (18:18 +1100)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git
Stephen Rothwell [Mon, 17 Mar 2025 07:17:59 +0000 (18:17 +1100)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git

5 weeks agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 07:17:55 +0000 (18:17 +1100)]
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 [Mon, 17 Mar 2025 07:17:53 +0000 (18:17 +1100)]
Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git

# Conflicts:
# drivers/regulator/dummy.c

5 weeks agoMerge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
Stephen Rothwell [Mon, 17 Mar 2025 07:08:10 +0000 (18:08 +1100)]
Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git

5 weeks agoMerge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb...
Stephen Rothwell [Mon, 17 Mar 2025 07:08:08 +0000 (18:08 +1100)]
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 [Mon, 17 Mar 2025 07:08:06 +0000 (18:08 +1100)]
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 [Mon, 17 Mar 2025 07:08:02 +0000 (18:08 +1100)]
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

5 weeks agoMerge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Mon, 17 Mar 2025 07:07:58 +0000 (18:07 +1100)]
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git

5 weeks agoMerge branch 'for-leds-next' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
Stephen Rothwell [Mon, 17 Mar 2025 06:42:31 +0000 (17:42 +1100)]
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/sre/linux...
Stephen Rothwell [Mon, 17 Mar 2025 06:42:29 +0000 (17:42 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platf...
Stephen Rothwell [Mon, 17 Mar 2025 06:42:26 +0000 (17:42 +1100)]
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 [Mon, 17 Mar 2025 06:42:23 +0000 (17:42 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git

5 weeks agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git
Stephen Rothwell [Mon, 17 Mar 2025 06:42:19 +0000 (17:42 +1100)]
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 [Mon, 17 Mar 2025 06:42:16 +0000 (17:42 +1100)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git

5 weeks agoMerge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git
Stephen Rothwell [Mon, 17 Mar 2025 06:20:57 +0000 (17:20 +1100)]
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git

5 weeks agoMerge branch 'next' of https://github.com/kvm-x86/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 06:20:54 +0000 (17:20 +1100)]
Merge branch 'next' of https://github.com/kvm-x86/linux.git

5 weeks agoMerge branch 'riscv_kvm_next' of https://github.com/kvm-riscv/linux.git
Stephen Rothwell [Mon, 17 Mar 2025 06:20:52 +0000 (17:20 +1100)]
Merge branch 'riscv_kvm_next' of https://github.com/kvm-riscv/linux.git