Commit Graph

20210 Commits

Author SHA1 Message Date
Kalesh Singh
e79c1d4590 ANDROID: 16K: Introduce /sys/kernel/mm/pgsize_miration/enabled
Migrating from 4kB to 16kB page-size in Android requires first making
the platform page-agnostic, which involves increasing Android-ELFs'
max-page-size (p_align) from 4kB to 16kB.

Increasing the ELF max-page-size was found to cause compatibility issues
in apps that use obfuscation or depend on the ELF segments being mapped
based on 4kB-alignment.

Working around these compatibility issues involves both kernel and
userspace (dynamic linker) changes.

Introduce a knob for userspace (dynamic linker) to determine whether the
kernel supports the mitigations needed for page-size migration compatibility.

The knob also allows for userspace to turn on or off these mitigations
by writing 1 or 0 to /sys/kernel/mm/pgsize_miration/enabled:

    echo 1 > /sys/kernel/mm//pgsize_miration/enabled  # Enable
    echo 0 > /sys/kernel/mm//pgsize_miration/enabled  # Disable

Bug: 330117029
Bug: 327600007
Bug: 330767927
Bug: 328266487
Bug: 329803029
Change-Id: I9ac1d15d397b8226b27827ecffa30502da91e10e
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2024-05-02 22:14:25 +00:00
Lokesh Gidra
8dd482be44 UPSTREAM: userfaultfd: fix deadlock warning when locking src and dst VMAs
Use down_read_nested() to avoid the warning.

Link: https://lkml.kernel.org/r/20240321235818.125118-1-lokeshgidra@google.com
Fixes: 867a43a34ff8 ("userfaultfd: use per-vma locks in userfaultfd operations")
Reported-by: syzbot+49056626fe41e01f2ba7@syzkaller.appspotmail.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hillf Danton <hdanton@sina.com>
Cc: Jann Horn <jannh@google.com> [Bug #2]
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 30af24facf0aed12dec23bdf6eac6a907f88306a)

Bug: 320478828
Change-Id: I56d7e33878d6248bba28e1e4204e2b9005d87e4d
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Lokesh Gidra
ce2896c0c6 BACKPORT: userfaultfd: use per-vma locks in userfaultfd operations
All userfaultfd operations, except write-protect, opportunistically use
per-vma locks to lock vmas.  On failure, attempt again inside mmap_lock
critical section.

Write-protect operation requires mmap_lock as it iterates over multiple
vmas.

Link: https://lkml.kernel.org/r/20240215182756.3448972-5-lokeshgidra@google.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Tim Murray <timmurray@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 867a43a34ff8a38772212045262b2c9b77807ea3)
Conflicts:
	mm/userfaultfd.c

1. Resolve conflict in validate_dst_vma() due to absence of
   range_in_vma().
2. Use 'page' instead of 'folio' for BUG_ON on copy_from_user() failure
   in COPY ioctl.
3. Resolve conflict around mfill_file_over_size().
4. Resolve conflict in comment for __mcopy_atomic_hugetlb() due to
   function name change.
5. Resolve conflict due to use of 'flags' instead of 'mode' in
   __mcopy_atomic_hugetlb().
6. Use find_vma() and validate_dst_vma() in mwriteprotect_range()
   instead of find_dst_vma().

Bug: 320478828
Change-Id: I6d5b7101218cb1b11329108c3f31f12bb1caebc6
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Lokesh Gidra
a5b6040d5c BACKPORT: userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx
Increments and loads to mmap_changing are always in mmap_lock critical
section.  This ensures that if userspace requests event notification for
non-cooperative operations (e.g.  mremap), userfaultfd operations don't
occur concurrently.

This can be achieved by using a separate read-write semaphore in
userfaultfd_ctx such that increments are done in write-mode and loads in
read-mode, thereby eliminating the dependency on mmap_lock for this
purpose.

This is a preparatory step before we replace mmap_lock usage with per-vma
locks in fill/move ioctls.

Link: https://lkml.kernel.org/r/20240215182756.3448972-3-lokeshgidra@google.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Tim Murray <timmurray@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 5e4c24a57b0c126686534b5b159a406c5dd02400)
Conflicts:
	fs/userfaultfd.c
	include/linux/userfaultfd_k.h
	mm/userfaultfd.c

1. Functions passing control from fs/userfaultfd.c to mm/userfaultfd.c
   were renamed after 6.1.
   a. Replace mfill_atomic_copy() with mcopy_atomic()
   b. Replace mfill_atomic_zeropage() with mfill_zeropage()
   c. Replace mfill_atomic_continue() with mcopy_continue()
   d. Replace mfill_atomic() with __mcopy_atomic()
   e. Replace mfill_atomic_hugetlb() with __mcopy_atomic_hugetlb()
2. uffd flags were unified into a single parameter after 6.1. Replace
   'flags' with 'mcopy_mode' and 'mode'.
3. Fetch dst_mm from dst_vma in __mcopy_atomic_hugetlb().

Bug: 320478828
Change-Id: I77615c36a0c891801c9eb9de3609df4e7f125c39
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Lokesh Gidra
ac96edb501 BACKPORT: userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
In mfill_atomic_hugetlb(), mmap_changing isn't being checked
again if we drop mmap_lock and reacquire it. When the lock is not held,
mmap_changing could have been incremented. This is also inconsistent
with the behavior in mfill_atomic().

Link: https://lkml.kernel.org/r/20240117223729.1444522-1-lokeshgidra@google.com
Fixes: df2cc96e77 ("userfaultfd: prevent non-cooperative events vs mcopy_atomic races")
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 67695f18d55924b2013534ef3bdc363bc9e14605)
Conflicts:
	mm/userfaultfd.c

1. Update mfill_atomic_hugetlb() parameters to pass 'wp_copy' and 'mode'
   instead of 'flags'.

Bug: 320478828
Change-Id: I11ef09b2b8e477c32cc731205fd48b25bcbd020f
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Lokesh Gidra
4f658d7723 BACKPORT: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE
Commit d7a08838ab74 ("mm: userfaultfd: fix unexpected change to src_folio
when UFFDIO_MOVE fails") moved the src_folio->{mapping, index} changing to
after clearing the page-table and ensuring that it's not pinned.  This
avoids failure of swapout+migration and possibly memory corruption.

However, the commit missed fixing it in the huge-page case.

Link: https://lkml.kernel.org/r/20240404171726.2302435-1-lokeshgidra@google.com
Fixes: adef440691ba ("userfaultfd: UFFDIO_MOVE uABI")
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit c0205eaf3af9f5db14d4b5ee4abacf4a583c3c50)
Conflicts:
	mm/huge_memory.c

1. Replace folio_move_anon_rmap() with page_move_anon_rmap().

Bug: 274911254
Change-Id: I15a07ea22de7ae38ed20320a73c995c7c48ef42b
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Qi Zheng
bfb4b24b64 BACKPORT: mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails
After ptep_clear_flush(), if we find that src_folio is pinned we will fail
UFFDIO_MOVE and put src_folio back to src_pte entry, but the change to
src_folio->{mapping,index} is not restored in this process. This is not
what we expected, so fix it.

This can cause the rmap for that page to be invalid, possibly resulting
in memory corruption.  At least swapout+migration would no longer work,
because we might fail to locate the mappings of that folio.

Link: https://lkml.kernel.org/r/20240222080815.46291-1-zhengqi.arch@bytedance.com
Fixes: adef440691ba ("userfaultfd: UFFDIO_MOVE uABI")
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit d7a08838ab74652f2b53fee9763f0178278c3a4b)
Conflicts:
	mm/userfaultfd.c

1. Replace folio_move_anon_rmap() with page_move_anon_rmap().

Bug: 274911254
Change-Id: Ie4bf5785244271ab233c6230ed71460fd571bd1a
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Suren Baghdasaryan
6ecd08eaf4 BACKPORT: userfaultfd: handle zeropage moves by UFFDIO_MOVE
Current implementation of UFFDIO_MOVE fails to move zeropages and returns
EBUSY when it encounters one.  We can handle them by mapping a zeropage at
the destination and clearing the mapping at the source.  This is done both
for ordinary and for huge zeropages.

Link: https://lkml.kernel.org/r/20240131175618.2417291-1-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202401300107.U8iMAkTl-lkp@intel.com/
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: ZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit eb1521dad8f391d3f3b88f589db27a288b55b8ed)
Conflicts:
	mm/huge_memory.c

1. Replace folio_move_anon_rmap() with page_move_anon_rmap().
2. Remove vma parameter in pmd_mkwrite() calls.

Bug: 274911254
Change-Id: I271aa365bb3930e7e480d5749b44863eeca74dda
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Suren Baghdasaryan
e275c2b743 UPSTREAM: userfaultfd: avoid huge_zero_page in UFFDIO_MOVE
While testing UFFDIO_MOVE ioctl, syzbot triggered VM_BUG_ON_PAGE caused by
a call to PageAnonExclusive() with a huge_zero_page as a parameter.
UFFDIO_MOVE does not yet handle zeropages and returns EBUSY when one is
encountered.  Add an early huge_zero_page check in the PMD move path to
avoid this situation.

Link: https://lkml.kernel.org/r/20240112013935.1474648-1-surenb@google.com
Fixes: adef440691ba ("userfaultfd: UFFDIO_MOVE uABI")
Reported-by: syzbot+705209281e36404998f6@syzkaller.appspotmail.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 5d4747a6cc8e78ce74742d557fc9b7697fcacc95)

Bug: 274911254
Change-Id: I7096b02b3a5b101e049608703ee77179d469a434
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Suren Baghdasaryan
60c5a0e023 UPSTREAM: userfaultfd: fix move_pages_pte() splitting folio under RCU read lock
While testing the split PMD path with lockdep enabled I've got an "Invalid
wait context" error caused by split_huge_page_to_list() trying to lock
anon_vma->rwsem while inside RCU read section.  The issues is due to
move_pages_pte() calling split_folio() under RCU read lock.  Fix this by
unmapping the PTEs and exiting RCU read section before splitting the folio
and then retrying.  The same retry pattern is used when locking the folio
or anon_vma in this function.  After splitting the large folio we unlock
and release it because after the split the old folio might not be the one
that contains the src_addr.

Link: https://lkml.kernel.org/r/20240102233256.1077959-1-surenb@google.com
Fixes: adef440691ba ("userfaultfd: UFFDIO_MOVE uABI")
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: ZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 982ae058b2f08f576e4f3d4055f8916ba789f3d4)

Bug: 274911254
Change-Id: I382c6631d821b0ed26d9b15afa78a417dafaeb2e
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Andrea Arcangeli
5025ad140e BACKPORT: userfaultfd: UFFDIO_MOVE uABI
Implement the uABI of UFFDIO_MOVE ioctl.
UFFDIO_COPY performs ~20% better than UFFDIO_MOVE when the application
needs pages to be allocated [1]. However, with UFFDIO_MOVE, if pages are
available (in userspace) for recycling, as is usually the case in heap
compaction algorithms, then we can avoid the page allocation and memcpy
(done by UFFDIO_COPY). Also, since the pages are recycled in the
userspace, we avoid the need to release (via madvise) the pages back to
the kernel [2].

We see over 40% reduction (on a Google pixel 6 device) in the compacting
thread's completion time by using UFFDIO_MOVE vs.  UFFDIO_COPY.  This was
measured using a benchmark that emulates a heap compaction implementation
using userfaultfd (to allow concurrent accesses by application threads).
More details of the usecase are explained in [2].  Furthermore,
UFFDIO_MOVE enables moving swapped-out pages without touching them within
the same vma.  Today, it can only be done by mremap, however it forces
splitting the vma.

[1] https://lore.kernel.org/all/1425575884-2574-1-git-send-email-aarcange@redhat.com/
[2] https://lore.kernel.org/linux-mm/CA+EESO4uO84SSnBhArH4HvLNhaUQ5nZKNKXqxRCyjniNVjp0Aw@mail.gmail.com/

Update for the ioctl_userfaultfd(2)  manpage:

   UFFDIO_MOVE
       (Since Linux xxx)  Move a continuous memory chunk into the
       userfault registered range and optionally wake up the blocked
       thread. The source and destination addresses and the number of
       bytes to move are specified by the src, dst, and len fields of
       the uffdio_move structure pointed to by argp:

           struct uffdio_move {
               __u64 dst;    /* Destination of move */
               __u64 src;    /* Source of move */
               __u64 len;    /* Number of bytes to move */
               __u64 mode;   /* Flags controlling behavior of move */
               __s64 move;   /* Number of bytes moved, or negated error */
           };

       The following value may be bitwise ORed in mode to change the
       behavior of the UFFDIO_MOVE operation:

       UFFDIO_MOVE_MODE_DONTWAKE
              Do not wake up the thread that waits for page-fault
              resolution

       UFFDIO_MOVE_MODE_ALLOW_SRC_HOLES
              Allow holes in the source virtual range that is being moved.
              When not specified, the holes will result in ENOENT error.
              When specified, the holes will be accounted as successfully
              moved memory. This is mostly useful to move hugepage aligned
              virtual regions without knowing if there are transparent
              hugepages in the regions or not, but preventing the risk of
              having to split the hugepage during the operation.

       The move field is used by the kernel to return the number of
       bytes that was actually moved, or an error (a negated errno-
       style value).  If the value returned in move doesn't match the
       value that was specified in len, the operation fails with the
       error EAGAIN.  The move field is output-only; it is not read by
       the UFFDIO_MOVE operation.

       The operation may fail for various reasons. Usually, remapping of
       pages that are not exclusive to the given process fail; once KSM
       might deduplicate pages or fork() COW-shares pages during fork()
       with child processes, they are no longer exclusive. Further, the
       kernel might only perform lightweight checks for detecting whether
       the pages are exclusive, and return -EBUSY in case that check fails.
       To make the operation more likely to succeed, KSM should be
       disabled, fork() should be avoided or MADV_DONTFORK should be
       configured for the source VMA before fork().

       This ioctl(2) operation returns 0 on success.  In this case, the
       entire area was moved.  On error, -1 is returned and errno is
       set to indicate the error.  Possible errors include:

       EAGAIN The number of bytes moved (i.e., the value returned in
              the move field) does not equal the value that was
              specified in the len field.

       EINVAL Either dst or len was not a multiple of the system page
              size, or the range specified by src and len or dst and len
              was invalid.

       EINVAL An invalid bit was specified in the mode field.

       ENOENT
              The source virtual memory range has unmapped holes and
              UFFDIO_MOVE_MODE_ALLOW_SRC_HOLES is not set.

       EEXIST
              The destination virtual memory range is fully or partially
              mapped.

       EBUSY
              The pages in the source virtual memory range are either
              pinned or not exclusive to the process. The kernel might
              only perform lightweight checks for detecting whether the
              pages are exclusive. To make the operation more likely to
              succeed, KSM should be disabled, fork() should be avoided
              or MADV_DONTFORK should be configured for the source virtual
              memory area before fork().

       ENOMEM Allocating memory needed for the operation failed.

       ESRCH
              The target process has exited at the time of a UFFDIO_MOVE
              operation.

Link: https://lkml.kernel.org/r/20231206103702.3873743-3-surenb@google.com
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: ZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit adef440691bab824e39c1b17382322d195e1fab0)
Conflicts:
        mm/huge_memory.c
        mm/userfaultfd.c

1. Add vma parameter in mmu_notifier_range_init() calls.
2. Replace folio_move_anon_rmap() with page_move_anon_rmap().
3. Remove vma parameter in pmd_mkwrite() calls.
4. Replace pte_offset_map_nolock() with pte_offset_map()+pte_lockptr()
combo.
5. Remove VM_SHADOW_STACK in vma_move_compatible().
6. Replace pmdp_get_lockless() with pmd_read_atomic().

Bug: 274911254
Change-Id: I1116f15a395f1a8bac176906f7f9c2411e59dc54
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Andrea Arcangeli
25db7c13d8 UPSTREAM: mm/rmap: support move to different root anon_vma in folio_move_anon_rmap()
Patch series "userfaultfd move option", v6.

This patch series introduces UFFDIO_MOVE feature to userfaultfd, which has
long been implemented and maintained by Andrea in his local tree [1], but
was not upstreamed due to lack of use cases where this approach would be
better than allocating a new page and copying the contents.  Previous
upstraming attempts could be found at [6] and [7].

UFFDIO_COPY performs ~20% better than UFFDIO_MOVE when the application
needs pages to be allocated [2].  However, with UFFDIO_MOVE, if pages are
available (in userspace) for recycling, as is usually the case in heap
compaction algorithms, then we can avoid the page allocation and memcpy
(done by UFFDIO_COPY).  Also, since the pages are recycled in the
userspace, we avoid the need to release (via madvise) the pages back to
the kernel [3].  We see over 40% reduction (on a Google pixel 6 device) in
the compacting thread's completion time by using UFFDIO_MOVE vs.
UFFDIO_COPY.  This was measured using a benchmark that emulates a heap
compaction implementation using userfaultfd (to allow concurrent accesses
by application threads).  More details of the usecase are explained in
[3].

Furthermore, UFFDIO_MOVE enables moving swapped-out pages without
touching them within the same vma. Today, it can only be done by mremap,
however it forces splitting the vma.

TODOs for follow-up improvements:
- cross-mm support. Known differences from single-mm and missing pieces:
	- memcg recharging (might need to isolate pages in the process)
	- mm counters
	- cross-mm deposit table moves
	- cross-mm test
	- document the address space where src and dest reside in struct
	  uffdio_move

- TLB flush batching.  Will require extensive changes to PTL locking in
  move_pages_pte().  OTOH that might let us reuse parts of mremap code.

This patch (of 5):

For now, folio_move_anon_rmap() was only used to move a folio to a
different anon_vma after fork(), whereby the root anon_vma stayed
unchanged.  For that, it was sufficient to hold the folio lock when
calling folio_move_anon_rmap().

However, we want to make use of folio_move_anon_rmap() to move folios
between VMAs that have a different root anon_vma.  As folio_referenced()
performs an RMAP walk without holding the folio lock but only holding the
anon_vma in read mode, holding the folio lock is insufficient.

When moving to an anon_vma with a different root anon_vma, we'll have to
hold both, the folio lock and the anon_vma lock in write mode.
Consequently, whenever we succeeded in folio_lock_anon_vma_read() to
read-lock the anon_vma, we have to re-check if the mapping was changed in
the meantime.  If that was the case, we have to retry.

Note that folio_move_anon_rmap() must only be called if the anon page is
exclusive to a process, and must not be called on KSM folios.

This is a preparation for UFFDIO_MOVE, which will hold the folio lock, the
anon_vma lock in write mode, and the mmap_lock in read mode.

Link: https://lkml.kernel.org/r/20231206103702.3873743-1-surenb@google.com
Link: https://lkml.kernel.org/r/20231206103702.3873743-2-surenb@google.com
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: kernel-team@android.com
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: ZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 880a99b60d467eefd96322e27b0a8c0b805dfa43)

Bug: 274911254
Change-Id: Iad9619c0273e050af26356f66ae9fc88b56d68bd
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
2024-04-22 18:09:14 +00:00
Carlos Galo
338203a817 BACKPORT: mm: update mark_victim tracepoints fields
The current implementation of the mark_victim tracepoint provides only the
process ID (pid) of the victim process.  This limitation poses challenges
for userspace tools requiring real-time OOM analysis and intervention.
Although this information is available from the kernel logs, it’s not
the appropriate format to provide OOM notifications.  In Android, BPF
programs are used with the mark_victim trace events to notify userspace of
an OOM kill.  For consistency, update the trace event to include the same
information about the OOMed victim as the kernel logs.

- UID
   In Android each installed application has a unique UID. Including
   the `uid` assists in correlating OOM events with specific apps.

- Process Name (comm)
   Enables identification of the affected process.

- OOM Score
  Will allow userspace to get additional insight of the relative kill
  priority of the OOM victim. In Android, the oom_score_adj is used to
  categorize app state (foreground, background, etc.), which aids in
  analyzing user-perceptible impacts of OOM events [1].

- Total VM, RSS Stats, and pgtables
  Amount of memory used by the victim that will, potentially, be freed up
  by killing it.

[1] 246dc8fc95:frameworks/base/services/core/java/com/android/server/am/ProcessList.java;l=188-283
Signed-off-by: Carlos Galo <carlosgalo@google.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Bug: 331214192
(cherry picked from commit 72ba14deb40a9e9668ec5e66a341ed657e5215c2)
[ carlosgalo: Manually added struct cred change in mark_oom_victim function ]
Link: https://lore.kernel.org/all/20240223173258.174828-1-carlosgalo@google.com/
Change-Id: I24f503ceca04b83f8abf42fcd04a3409e17be6b5
2024-04-08 18:00:16 +00:00
Carlos Galo
97808981ed Revert "FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields"
This reverts commit 6b4c816d17.

Reason for revert: b/331214192

Change-Id: I9f4f56de7d65cee19c7015b0cb1bda339d82a5f5
Signed-off-by: Carlos Galo <carlosgalo@google.com>
2024-04-08 18:00:16 +00:00
Minchan Kim
babe7ef868 ANDROID: export two function to reclaim memory
Export two functions to help memory reclaim.

Bug: 323406883
Change-Id: I099d414c9b3648224ab077b9929c6622b2d4228a
Signed-off-by: Minchan Kim <minchan@google.com>
2024-04-08 17:39:38 +00:00
Minchan Kim
66193f866d ANDROID: add reclaim tune parameter functions
This patch adds two exported functions to set/get reclaim parameters.

Bug: 323406883
Change-Id: I8c29073dba3e77cb5db7f45b640518deae04b8a9
Signed-off-by: Minchan Kim <minchan@google.com>
2024-04-08 17:39:38 +00:00
Charan Teja Kalla
5dd0c4814f UPSTREAM: mm: page_alloc: unreserve highatomic page blocks before oom
__alloc_pages_direct_reclaim() is called from slowpath allocation where
high atomic reserves can be unreserved after there is a progress in
reclaim and yet no suitable page is found.  Later should_reclaim_retry()
gets called from slow path allocation to decide if the reclaim needs to be
retried before OOM kill path is taken.

should_reclaim_retry() checks the available(reclaimable + free pages)
memory against the min wmark levels of a zone and returns:

a) true, if it is above the min wmark so that slow path allocation will
   do the reclaim retries.

b) false, thus slowpath allocation takes oom kill path.

should_reclaim_retry() can also unreserves the high atomic reserves **but
only after all the reclaim retries are exhausted.**

In a case where there are almost none reclaimable memory and free pages
contains mostly the high atomic reserves but allocation context can't use
these high atomic reserves, makes the available memory below min wmark
levels hence false is returned from should_reclaim_retry() leading the
allocation request to take OOM kill path.  This can turn into a early oom
kill if high atomic reserves are holding lot of free memory and
unreserving of them is not attempted.

(early)OOM is encountered on a VM with the below state:
[  295.998653] Normal free:7728kB boost:0kB min:804kB low:1004kB
high:1204kB reserved_highatomic:8192KB active_anon:4kB inactive_anon:0kB
active_file:24kB inactive_file:24kB unevictable:1220kB writepending:0kB
present:70732kB managed:49224kB mlocked:0kB bounce:0kB free_pcp:688kB
local_pcp:492kB free_cma:0kB
[  295.998656] lowmem_reserve[]: 0 32
[  295.998659] Normal: 508*4kB (UMEH) 241*8kB (UMEH) 143*16kB (UMEH)
33*32kB (UH) 7*64kB (UH) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB
0*4096kB = 7752kB

Per above log, the free memory of ~7MB exist in the high atomic reserves
is not freed up before falling back to oom kill path.

Fix it by trying to unreserve the high atomic reserves in
should_reclaim_retry() before __alloc_pages_direct_reclaim() can fallback
to oom kill path.

Bug: 332219324
Link: https://lkml.kernel.org/r/1700823445-27531-1-git-send-email-quic_charante@quicinc.com
Fixes: 0aaa29a56e ("mm, page_alloc: reserve pageblocks for high-order atomic allocations on demand")
(cherry picked from commit ac3f3b0a55518056bc80ed32a41931c99e1f7d81)
Change-Id: I432d4ac4864d401a4413f6b2ef902625766f8070
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Reported-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
Suggested-by: Michal Hocko <mhocko@suse.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-03 22:38:24 +00:00
Charan Teja Kalla
6d3db504d1 UPSTREAM: mm: page_alloc: enforce minimum zone size to do high atomic reserves
Highatomic reserves are set to roughly 1% of zone for maximum and a
pageblock size for minimum.  Encountered a system with the below
configuration:
Normal free:7728kB boost:0kB min:804kB low:1004kB high:1204kB
reserved_highatomic:8192KB managed:49224kB

On such systems, even a single pageblock makes highatomic reserves are set
to ~8% of the zone memory.  This high value can easily exert pressure on
the zone.

Per discussion with Michal and Mel, it is not much useful to reserve the
memory for highatomic allocations on such small systems[1].  Since the
minimum size for high atomic reserves is always going to be a pageblock
size and if 1% of zone managed pages is going to be below pageblock size,
don't reserve memory for high atomic allocations.  Thanks Michal for this
suggestion[2].

Since no memory is being reserved for high atomic allocations and if
respective allocation failures are seen, this patch can be reverted.

[1] https://lore.kernel.org/linux-mm/20231117161956.d3yjdxhhm4rhl7h2@techsingularity.net/
[2] https://lore.kernel.org/linux-mm/ZVYRJMUitykepLRy@tiehlicka/

Bug: 332219324
Link: https://lkml.kernel.org/r/c3a2a48e2cfe08176a80eaf01c110deb9e918055.1700821416.git.quic_charante@quicinc.com
Change-Id: Id059b63bd6ee68b3a2cd1c4b44613234a42d0a46
(cherry picked from commit 9cd20f3fe045af95a8fe7a12328b21bfd2f3b8bf)
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-03 22:38:24 +00:00
Charan Teja Kalla
58699757f4 UPSTREAM: mm: page_alloc: correct high atomic reserve calculations
Patch series "mm: page_alloc: fixes for high atomic reserve
caluculations", v3.

The state of the system where the issue exposed shown in oom kill logs:

[  295.998653] Normal free:7728kB boost:0kB min:804kB low:1004kB high:1204kB reserved_highatomic:8192KB active_anon:4kB inactive_anon:0kB active_file:24kB inactive_file:24kB unevictable:1220kB writepending:0kB present:70732kB managed:49224kB mlocked:0kB bounce:0kB free_pcp:688kBlocal_pcp:492kB free_cma:0kB
[  295.998656] lowmem_reserve[]: 0 32
[  295.998659] Normal: 508*4kB (UMEH) 241*8kB (UMEH) 143*16kB (UMEH)
33*32kB (UH) 7*64kB (UH) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 7752kB

From the above, it is seen that ~16MB of memory reserved for high atomic
reserves against the expectation of 1% reserves which is fixed in the 1st
patch.

Don't reserve the high atomic page blocks if 1% of zone memory size is
below a pageblock size.

This patch (of 2):

reserve_highatomic_pageblock() aims to reserve the 1% of the managed pages
of a zone, which is used for the high order atomic allocations.

It uses the below calculation to reserve:
static void reserve_highatomic_pageblock(struct page *page, ....) {

   .......
   max_managed = (zone_managed_pages(zone) / 100) + pageblock_nr_pages;

   if (zone->nr_reserved_highatomic >= max_managed)
       goto out;

   zone->nr_reserved_highatomic += pageblock_nr_pages;
   set_pageblock_migratetype(page, MIGRATE_HIGHATOMIC);
   move_freepages_block(zone, page, MIGRATE_HIGHATOMIC, NULL);

out:
   ....
}

Since we are always appending the 1% of zone managed pages count to
pageblock_nr_pages, the minimum it is turning into 2 pageblocks as the
nr_reserved_highatomic is incremented/decremented in pageblock sizes.

Encountered a system(actually a VM running on the Linux kernel) with the
below zone configuration:
Normal free:7728kB boost:0kB min:804kB low:1004kB high:1204kB
reserved_highatomic:8192KB managed:49224kB

The existing calculations making it to reserve the 8MB(with pageblock size
of 4MB) i.e.  16% of the zone managed memory.  Reserving such high amount
of memory can easily exert memory pressure in the system thus may lead
into unnecessary reclaims till unreserving of high atomic reserves.

Since high atomic reserves are managed in pageblock size granules, as
MIGRATE_HIGHATOMIC is set for such pageblock, fix the calculations for
high atomic reserves as, minimum is pageblock size , maximum is
approximately 1% of the zone managed pages.

Bug: 332219324
Link: https://lkml.kernel.org/r/cover.1700821416.git.quic_charante@quicinc.com
Link: https://lkml.kernel.org/r/1660034138397b82a0a8b6ae51cbe96bd583d89e.1700821416.git.quic_charante@quicinc.com
Change-Id: Icc15fb88ef6166f691f5aa14311bc45bff972b99
(cherry picked from commit d68e39fc45f70e35eb74df2128d315c1d91e4dc4)
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: David Rientjes <rientjes@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-03 22:38:24 +00:00
Greg Kroah-Hartman
3ca4271578 Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1"
This reverts commit 6bad1052c2, it is the
LTS merge that had to previously get reverted due to being merged too
early.

Cc: Todd Kjos <tkjos@google.com>
Change-Id: I31b7d660bd833cf022ac4870f6d01e723fda5182
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-02 19:49:12 +00:00
Zi Yan
176b8fe524 FROMLIST: mm/migrate: set swap entry values of THP tail pages properly.
The tail pages in a THP can have swap entry information stored in their
private field. When migrating to a new page, all tail pages of the new
page need to update ->private to avoid future data corruption.

This fix is stable-only, since after commit 07e09c483cbe ("mm/huge_memory:
work on folio->swap instead of page->private when splitting folio"),
subpages of a swapcached THP no longer requires the maintenance.

Adding THPs to the swapcache was introduced in commit
38d8b4e6bd ("mm, THP, swap: delay splitting THP during swap out"),
where each subpage of a THP added to the swapcache had its own swapcache
entry and required the ->private field to point to the correct swapcache
entry. Later, when THP migration functionality was implemented in commit
616b837153 ("mm: thp: enable thp migration in generic path"),
it initially did not handle the subpages of swapcached THPs, failing to
update their ->private fields or replace the subpage pointers in the
swapcache. Subsequently, commit e71769ae52 ("mm: enable thp migration
for shmem thp") addressed the swapcache update aspect. This patch fixes
the update of subpage ->private fields.

Bug: 324818390
Fixes: 616b837153 ("mm: thp: enable thp migration in generic path")
Link: https://lore.kernel.org/linux-mm/20240306155217.118467-1-zi.yan@sent.com/
Reported-and-tested-by: Charan Teja Kalla <quic_charante@quicinc.com>
Change-Id: Ia4603cd58b76dc6ff46a2c53a735942a87221419
Signed-off-by: Zi Yan <ziy@nvidia.com>
Acked-by: David Hildenbrand <david@redhat.com>
Closes: https://lore.kernel.org/linux-mm/1707814102-22682-1-git-send-email-quic_charante@quicinc.com/
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
2024-03-21 16:07:20 +00:00
Richard Chang
4a85f45e4e BACKPORT: FROMGIT: mm: add alloc_contig_migrate_range allocation statistics
alloc_contig_migrate_range has every information to be able to understand
big contiguous allocation latency.  For example, how many pages are
migrated, how many times they were needed to unmap from page tables.

This patch adds the trace event to collect the allocation statistics.  In
the field, it was quite useful to understand CMA allocation latency.

[akpm@linux-foundation.org: a/trace_mm_alloc_config_migrate_range_info_enabled/trace_mm_alloc_contig_migrate_range_info_enabled]
Link: https://lkml.kernel.org/r/20240228051127.2859472-1-richardycc@google.com
Signed-off-by: Richard Chang <richardycc@google.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org.
Cc: Martin Liu <liumartin@google.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Bug: 315897534
(cherry picked from commit c8b36003121834cb77fcaf8a1ce0a454d7a97891
 https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-stable)
[richardycc: slight modification for android change 0de2f42977]
Change-Id: If6c3cd106201fd13683d1dd5afdfa62a48a4dd3b
Signed-off-by: Richard Chang <richardycc@google.com>
2024-03-13 16:15:27 +00:00
Richard Chang
8bd9771065 ANDROID: vendor_hooks: Export cma_alloc trace points
For cma_alloc latency measurement.

Bug: 315897033
Change-Id: I5941c0e0017728dc2139d5fad073f8b58f4efa29
Signed-off-by: Richard Chang <richardycc@google.com>
2024-03-08 04:04:18 +00:00
Todd Kjos
6bad1052c2 Revert "Merge tag 'android14-6.1.75_r00' into android14-6.1"
This reverts commit 1dbafe61e3.

Reason for revert: Too early. Needs to wait until 2024-03-27

Change-Id: I769b944bd089aa2278659ec87f7ba4ac4e74ee4a
Signed-off-by: Todd Kjos <tkjos@google.com>
2024-03-07 21:18:27 +00:00
Greg Kroah-Hartman
c3a1a1e97e Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
Backmerge the latest android14-6.1 changes into the lts branch to keep
up to date.  Contains the following commits:

* 3578913b2e UPSTREAM: net/rose: Fix Use-After-Free in rose_ioctl
* 8fbed1ea00 UPSTREAM: ida: Fix crash in ida_free when the bitmap is empty
* 6ce5bb744e ANDROID: GKI: Update symbol list for mtk
* 7cbad58851 Reapply "perf: Disallow mis-matched inherited group reads"
* 067a03c44e ANDROID: GKI: Add Pasa symbol list
* b6be1a36f7 FROMGIT: mm: memcg: don't periodically flush stats when memcg is disabled
* d0e2d333f9 ANDROID: Update the ABI symbol list
* 10558542a1 ANDROID: sched: export update_misfit_status symbol
* a0b3b39898 ANDROID: GKI: Add ASR KMI symbol list
* 599710db0f FROMGIT: usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
* 9265fa90c1 FROMLIST: usb: core: Prevent null pointer dereference in update_port_device_state
* 2730733d54 ANDROID: gki_defconfig: Enable CONFIG_NVME_MULTIPATH
* 4f668f5682 BACKPORT: irqchip/gic-v3: Work around affinity issues on ASR8601
* 473a871315 BACKPORT: irqchip/gic-v3: Improve affinity helper
* 6c32acf537 UPSTREAM: sched/fair: Limit sched slice duration
* 7088d250bf ANDROID: Update the ABI symbol list
* c249740414 ANDROID: idle_inject: Export function symbols
* 990d341477 ANDROID: Update the ABI symbol list
* be92a6a1b4 ANDROID: GKI: Remove CONFIG_MEDIA_CEC_RC
* fa9ac43f16 BACKPORT: usb: host: xhci: Avoid XHCI resume delay if SSUSB device is not present
*   f27fc6ba23 Merge "Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'" into android14-6.1
|\
| * 0177cfb2a2 Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'
* c96cea1a3c ANDROID: Update the ABI symbol list
* c2fbc12180 ANDROID: uid_sys_stats: Drop CONFIG_UID_SYS_STATS_DEBUG logic
* 90bd30bdef ANDROID: Update the ABI symbol list
* 3280560843 ANDROID: Update the ABI symbol list
* 427210e440 UPSTREAM: usb: gadget: uvc: Remove nested locking
* 9267e267be ANDROID: uid_sys_stats: Fully initialize uid_entry_tmp value
* 2d3f0c9d41 ANDROID: Roll back some code to fix system_server registers psi trigger failed.
* bd77c97c76 UPSTREAM: usb: gadget: uvc: Fix use are free during STREAMOFF
* 21c71a7d0e ANDROID: GKI: Add symbol list for Nothing
* aba5a3fe09 ANDROID: Enable CONFIG_LAZY_RCU in x86 gki_defconfig
* 204160394a ANDROID: fuse-bpf: Fix the issue of abnormal lseek system calls
* 947708f1ff ANDROID: ABI: Update symbol list for imx
* 7eedea7abf BACKPORT: PM: sleep: Fix possible deadlocks in core system-wide PM code
* e1a20dd9ff UPSTREAM: async: Introduce async_schedule_dev_nocall()
* e4b0e14f83 UPSTREAM: async: Split async_schedule_node_domain()
* 6b4c816d17 FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields
* d97ea65296 ANDROID: Enable CONFIG_LAZY_RCU in arm64 gki_defconfig
* 90d68cedd1 FROMLIST: rcu: Provide a boot time parameter to control lazy RCU
* a079cc5876 ANDROID: rcu: Add a minimum time for marking boot as completed
* ffe09c06a8 UPSTREAM: rcu: Disable laziness if lazy-tracking says so
* d07488d26e UPSTREAM: rcu: Track laziness during boot and suspend
* 4316bd568b UPSTREAM: net: Use call_rcu_hurry() for dst_release()
* b9427245f0 UPSTREAM: workqueue: Make queue_rcu_work() use call_rcu_hurry()
* 72fdf7f606 UPSTREAM: percpu-refcount: Use call_rcu_hurry() for atomic switch
* ced65a053b UPSTREAM: io_uring: use call_rcu_hurry if signaling an eventfd
* 84c8157d06 UPSTREAM: rcu: Update synchronize_rcu_mult() comment for call_rcu_hurry()
* 3751416eeb UPSTREAM: scsi/scsi_error: Use call_rcu_hurry() instead of call_rcu()
* 52193e9489 UPSTREAM: rcu/rcutorture: Use call_rcu_hurry() where needed
* 83f8ba569f UPSTREAM: rcu/rcuscale: Use call_rcu_hurry() for async reader test
* 9b625f4978 UPSTREAM: rcu/sync: Use call_rcu_hurry() instead of call_rcu
* c570c8fea3 BACKPORT: rcu: Shrinker for lazy rcu
* 4957579439 UPSTREAM: rcu: Refactor code a bit in rcu_nocb_do_flush_bypass()
* 66a832fe38 UPSTREAM: rcu: Make call_rcu() lazy to save power
* 4fb09fb4f7 UPSTREAM: rcu: Fix missing nocb gp wake on rcu_barrier()
* 64c59ad2c3 UPSTREAM: rcu: Fix late wakeup when flush of bypass cblist happens
* 0799ace265 ANDROID: Update the ABI symbol list
* 65db2f8ed3 ANDROID: GKI: add GKI symbol list for Exynosauto SoC
* cfe8cce4e8 UPSTREAM: coresight: tmc: Don't enable TMC when it's not ready.
* 899194d7e9 UPSTREAM: netfilter: nf_tables: bail out on mismatching dynset and set expressions
* e6712ed4f0 ANDROID: ABI: Update oplus symbol list
* 24bb8fc82e ANDROID: vendor_hooks: add hooks in driver/android/binder.c
* 55930b39ca ANDROID: GKI: Update honda symbol list for xt_LOG
* 3160b69e20 ANDROID: GKI: Update honda symbol list for ebt filter
* 4dc7f98815 ANDROID: GKI: Update honda symbol list for ebtables
* 39a0823340 ANDROID: GKI: Update honda symbol list for net scheduler
* dd0098bdb4 ANDROID: GKI: Update honda symbol list for led-trigger
* 66a20ed4b8 ANDROID: GKI: Add initial symbol list for honda
* 28dbe4d613 ANDROID: GKI: add symbols to ABI
* 97100e867e FROMGIT: usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
* 36248a15a7 FROMGIT: usb: dwc3: set pm runtime active before resume common

Change-Id: I8d9586a94c3182cd365d1e3b651a7552c7c9949b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-02-01 16:48:05 +00:00
T.J. Mercier
b6be1a36f7 FROMGIT: mm: memcg: don't periodically flush stats when memcg is disabled
The root memcg is onlined even when memcg is disabled.  When it's onlined
a 2 second periodic stat flush is started, but no stat flushing is
required when memcg is disabled because there can be no child memcgs.
Most calls to flush memcg stats are avoided when memcg is disabled as a
result of the mem_cgroup_disabled check added in 7d7ef0a4686a ("mm: memcg:
restore subtree stats flushing"), but the periodic flushing started in
mem_cgroup_css_online is not.  Skip it.

Link: https://lkml.kernel.org/r/20240126211927.1171338-1-tjmercier@google.com
Fixes: aa48e47e39 ("memcg: infrastructure to flush memcg stats")
Change-Id: Iae6aeb3091d349898ea4987a784a971d9b3c97f7
Signed-off-by: T.J. Mercier <tjmercier@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Chris Li <chrisl@kernel.org>
Reported-by: Minchan Kim <minchan@google.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 7e9bccbe57812f888f51d46d7cdbc6327eee24f3
 https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/
 mm-unstable)
Signed-off-by: T.J. Mercier <tjmercier@google.com>
2024-01-30 20:40:37 +00:00
Todd Kjos
f27fc6ba23 Merge "Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'" into android14-6.1 2024-01-24 17:34:59 +00:00
Carlos Galo
6b4c816d17 FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields
The current implementation of the mark_victim tracepoint provides only the
process ID (pid) of the victim process.  This limitation poses challenges
for userspace tools that need additional information about the OOM victim.
The association between pid and the additional data may be lost after the
kill, making it difficult for userspace to correlate the OOM event with
the specific process.

In order to mitigate this limitation, add the following fields:

- UID
   In Android each installed application has a unique UID. Including
   the `uid` assists in correlating OOM events with specific apps.

- Process Name (comm)
   Enables identification of the affected process.

- OOM Score
   Allows userspace to get additional insights of the relative kill
   priority of the OOM victim.

Link: https://lkml.kernel.org/r/20240111210539.636607-1-carlosgalo@google.com
Change-Id: Icc3ed013a9dfff9bb09f1d7588757e6028c17069
Signed-off-by: Carlos Galo <carlosgalo@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 649ffb4cbb90a7f60f17dd74e57d814e762ea01d mm-unstable)
[ carlosgalo: Manually added struct cred change in mark_oom_victim function ]

Bug: 315560026
Change-Id: I81fb6f3447f432100ad4cd25e22db23768003388
Signed-off-by: Carlos Galo <carlosgalo@google.com>
2024-01-19 00:27:34 +00:00
Greg Kroah-Hartman
732ef8a408 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This syncs up the -lts branch with the changes in the non-lts branch,
specifically needed for the ABI symbol updates to allow the build
servers to keep running properly.

Included in here are commits:
* df1cdb0a70 ANDROID: Update the pixel symbol list
* 66cd99ccdb BACKPORT: UPSTREAM: phy: qcom-qmp: Introduce Kconfig symbols for discrete drivers
* a70d3b7bdd ANDROID: GKI: add symbols of vendor hooks to ABI for swapping in ahead
* d4db0d5d08 ANDROID: GKI: add vendor hooks for swapping in ahead
* fd40c1d901 ANDROID: add 16k targets for Microdroid kernel
* 82bf9e7625 FROMGIT: BACKPORT: mm/cma: fix placement of trace_cma_alloc_start/finish
* 800cac4b33 FROMGIT: wifi: nl80211: Extend del pmksa support for SAE and OWE security

Change-Id: I94352b7351253b88af675cc7749bde2936dd91c7
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-16 15:53:08 +00:00
Greg Kroah-Hartman
e1b12db2de Merge 6.1.72 into android14-6.1-lts
Changes in 6.1.72
	keys, dns: Fix missing size check of V1 server-list header
	block: Don't invalidate pagecache for invalid falloc modes
	ALSA: hda/realtek: enable SND_PCI_QUIRK for hp pavilion 14-ec1xxx series
	ALSA: hda/realtek: fix mute/micmute LEDs for a HP ZBook
	ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
	mptcp: prevent tcp diag from closing listener subflows
	Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
	drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE
	cifs: cifs_chan_is_iface_active should be called with chan_lock held
	cifs: do not depend on release_iface for maintaining iface_list
	KVM: x86/pmu: fix masking logic for MSR_CORE_PERF_GLOBAL_CTRL
	wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
	drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
	netfilter: use skb_ip_totlen and iph_totlen
	netfilter: nf_tables: set transport offset from mac header for netdev/egress
	nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
	octeontx2-af: Fix marking couple of structure as __packed
	drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
	ice: Fix link_down_on_close message
	ice: Shut down VSI with "link-down-on-close" enabled
	i40e: Fix filter input checks to prevent config with invalid values
	igc: Report VLAN EtherType matching back to user
	igc: Check VLAN TCI mask
	igc: Check VLAN EtherType mask
	ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
	ASoC: mediatek: mt8186: fix AUD_PAD_TOP register and offset
	mlxbf_gige: fix receive packet race condition
	net: sched: em_text: fix possible memory leak in em_text_destroy()
	r8169: Fix PCI error on system resume
	can: raw: add support for SO_MARK
	net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
	net: annotate data-races around sk->sk_tsflags
	net: annotate data-races around sk->sk_bind_phc
	net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
	selftests: bonding: do not set port down when adding to bond
	ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
	sfc: fix a double-free bug in efx_probe_filters
	net: bcmgenet: Fix FCS generation for fragmented skbuffs
	netfilter: nft_immediate: drop chain reference counter on error
	net: Save and restore msg_namelen in sock_sendmsg
	i40e: fix use-after-free in i40e_aqc_add_filters()
	ASoC: meson: g12a-toacodec: Validate written enum values
	ASoC: meson: g12a-tohdmitx: Validate written enum values
	ASoC: meson: g12a-toacodec: Fix event generation
	ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
	i40e: Restore VF MSI-X state during PCI reset
	igc: Fix hicredit calculation
	net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
	net/smc: fix invalid link access in dumping SMC-R connections
	octeontx2-af: Always configure NIX TX link credits based on max frame size
	octeontx2-af: Re-enable MAC TX in otx2_stop processing
	asix: Add check for usbnet_get_endpoints
	net: ravb: Wait for operating mode to be applied
	bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
	net: Implement missing SO_TIMESTAMPING_NEW cmsg support
	selftests: secretmem: floor the memory size to the multiple of page_size
	cpu/SMT: Create topology_smt_thread_allowed()
	cpu/SMT: Make SMT control more robust against enumeration failures
	srcu: Fix callbacks acceleration mishandling
	bpf, x64: Fix tailcall infinite loop
	bpf, x86: Simplify the parsing logic of structure parameters
	bpf, x86: save/restore regs with BPF_DW size
	net: Declare MSG_SPLICE_PAGES internal sendmsg() flag
	udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES
	splice, net: Add a splice_eof op to file-ops and socket-ops
	ipv4, ipv6: Use splice_eof() to flush
	udp: introduce udp->udp_flags
	udp: move udp->no_check6_tx to udp->udp_flags
	udp: move udp->no_check6_rx to udp->udp_flags
	udp: move udp->gro_enabled to udp->udp_flags
	udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flags
	udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO
	udp: annotate data-races around udp->encap_type
	wifi: iwlwifi: yoyo: swap cdb and jacket bits values
	arm64: dts: qcom: sdm845: align RPMh regulator nodes with bindings
	arm64: dts: qcom: sdm845: Fix PSCI power domain names
	fbdev: imsttfb: Release framebuffer and dealloc cmap on error path
	fbdev: imsttfb: fix double free in probe()
	bpf: decouple prune and jump points
	bpf: remove unnecessary prune and jump points
	bpf: Remove unused insn_cnt argument from visit_[func_call_]insn()
	bpf: clean up visit_insn()'s instruction processing
	bpf: Support new 32bit offset jmp instruction
	bpf: handle ldimm64 properly in check_cfg()
	bpf: fix precision backtracking instruction iteration
	blk-mq: make sure active queue usage is held for bio_integrity_prep()
	net/mlx5: Increase size of irq name buffer
	s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc()
	s390/cpumf: support user space events for counting
	f2fs: clean up i_compress_flag and i_compress_level usage
	f2fs: convert to use bitmap API
	f2fs: assign default compression level
	f2fs: set the default compress_level on ioctl
	selftests: mptcp: fix fastclose with csum failure
	selftests: mptcp: set FAILING_LINKS in run_tests
	media: camss: sm8250: Virtual channels for CSID
	media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
	ext4: convert move_extent_per_page() to use folios
	khugepage: replace try_to_release_page() with filemap_release_folio()
	memory-failure: convert truncate_error_page() to use folio
	mm: merge folio_has_private()/filemap_release_folio() call pairs
	mm, netfs, fscache: stop read optimisation when folio removed from pagecache
	filemap: add a per-mapping stable writes flag
	block: update the stable_writes flag in bdev_add
	smb: client: fix missing mode bits for SMB symlinks
	net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
	dpaa2-eth: recycle the RX buffer only after all processing done
	ethtool: don't propagate EOPNOTSUPP from dumps
	bpf, sockmap: af_unix stream sockets need to hold ref for pair sock
	firmware: arm_scmi: Fix frequency truncation by promoting multiplier type
	ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7
	genirq/affinity: Remove the 'firstvec' parameter from irq_build_affinity_masks
	genirq/affinity: Pass affinity managed mask array to irq_build_affinity_masks
	genirq/affinity: Don't pass irq_affinity_desc array to irq_build_affinity_masks
	genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
	genirq/affinity: Move group_cpus_evenly() into lib/
	lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly
	mm/memory_hotplug: add missing mem_hotplug_lock
	mm/memory_hotplug: fix error handling in add_memory_resource()
	net: sched: call tcf_ct_params_free to free params in tcf_ct_init
	netfilter: flowtable: allow unidirectional rules
	netfilter: flowtable: cache info of last offload
	net/sched: act_ct: offload UDP NEW connections
	net/sched: act_ct: Fix promotion of offloaded unreplied tuple
	netfilter: flowtable: GC pushes back packets to classic path
	net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table
	octeontx2-af: Fix pause frame configuration
	octeontx2-af: Support variable number of lmacs
	btrfs: fix qgroup_free_reserved_data int overflow
	btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
	ring-buffer: Fix 32-bit rb_time_read() race with rb_time_cmpxchg()
	firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
	x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
	i2c: core: Fix atomic xfer check for non-preempt config
	mm: fix unmap_mapping_range high bits shift bug
	drm/amdgpu: skip gpu_info fw loading on navi12
	drm/amd/display: add nv12 bounding box
	mmc: meson-mx-sdhc: Fix initialization frozen issue
	mmc: rpmb: fixes pause retune on all RPMB partitions.
	mmc: core: Cancel delayed work before releasing host
	mmc: sdhci-sprd: Fix eMMC init failure after hw reset
	genirq/affinity: Only build SMP-only helper functions on SMP kernels
	f2fs: compress: fix to assign compress_level for lz4 correctly
	net/sched: act_ct: additional checks for outdated flows
	net/sched: act_ct: Always fill offloading tuple iifidx
	bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4
	bpf: syzkaller found null ptr deref in unix_bpf proto add
	media: qcom: camss: Comment CSID dt_id field
	smb3: Replace smb2pdu 1-element arrays with flex-arrays
	Revert "interconnect: qcom: sm8250: Enable sync_state"
	Linux 6.1.72

Change-Id: Id00eb2ae1159d4d5fa0ef914e672c5669cbf5b0a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-14 13:26:13 +00:00
Greg Kroah-Hartman
8eac30b25e This is the 6.1.71 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmWYD8QACgkQONu9yGCS
 aT5cEA//UKwVnselP3QHU6yEm2j8Vuq5IOEIqIeYTDTyS7TGP83SsyM4n2KRlTwC
 /vaY3HWNsZHLqsNICPOPSdQn9STa7MYTnf/ackBbPglDnDz/A6mSB3zkXtCKFm6+
 UBmk6Y8pZwpdvk3aa6Z62Kr5bGGHdzvXdiJitERLlD2PFUOZT9/IHSncGnts3TQv
 PjFXy1KVIGsThKbtjtYPpa100RAti5HeLv/NbsaVbuKYMME/QCFmqyNRAp9k2iHx
 3nkze70aoREShEDjaLkcsirzwRKJu7qqNriYLt+wd7HmcD328R2UlTR8L3ZM0xOq
 qxBHnzbFtQyGR7NAudi2pStqwctPhFP6vRz1aJvt+w9tmbeKAWQWMd2pNvG8GhJm
 nxYFGyPLzTgPifK5SELCNIW4WXf8rnrRNgZ+Ph/JIGuhp+603//ATHRlVEwHcnl+
 M0GRbL06nWFVvfdKCYuu0autb9sW5T/vq02cbE5vRVVaziazry8S8EmxYQyOg9X/
 CBAd1XTybVZki9VkIP5zbdvWJL3LhFfsabBFy7TPZor/YCJQDvxzw1iwtY/BPVDT
 MryHjrYwH/n5RvibANRcTbCamMQY4IrJ4X3afJGgh7BK5N5C5ug4HYJ7oG5QB++x
 xC4A5x3L6D9SE/St8hFWghjYcd6lFcjlz1wJ5MyLImwYqfr8DnY=
 =Vt0s
 -----END PGP SIGNATURE-----

Merge 6.1.71 into android14-6.1-lts

Changes in 6.1.71
	ksmbd: replace one-element arrays with flexible-array members
	ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
	ksmbd: use F_SETLK when unlocking a file
	ksmbd: Fix resource leak in smb2_lock()
	ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
	ksmbd: Implements sess->rpc_handle_list as xarray
	ksmbd: fix typo, syncronous->synchronous
	ksmbd: Remove duplicated codes
	ksmbd: update Kconfig to note Kerberos support and fix indentation
	ksmbd: Fix spelling mistake "excceed" -> "exceeded"
	ksmbd: Fix parameter name and comment mismatch
	ksmbd: remove unused is_char_allowed function
	ksmbd: delete asynchronous work from list
	ksmbd: set NegotiateContextCount once instead of every inc
	ksmbd: avoid duplicate negotiate ctx offset increments
	ksmbd: remove unused compression negotiate ctx packing
	fs: introduce lock_rename_child() helper
	ksmbd: fix racy issue from using ->d_parent and ->d_name
	ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
	ksmbd: fix uninitialized pointer read in smb2_create_link()
	ksmbd: call putname after using the last component
	ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
	ksmbd: add mnt_want_write to ksmbd vfs functions
	ksmbd: remove unused ksmbd_tree_conn_share function
	ksmbd: use kzalloc() instead of __GFP_ZERO
	ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
	ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
	ksmbd: use kvzalloc instead of kvmalloc
	ksmbd: Replace the ternary conditional operator with min()
	ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
	ksmbd: Replace one-element array with flexible-array member
	ksmbd: Fix unsigned expression compared with zero
	ksmbd: check if a mount point is crossed during path lookup
	ksmbd: switch to use kmemdup_nul() helper
	ksmbd: add support for read compound
	ksmbd: fix wrong interim response on compound
	ksmbd: fix `force create mode' and `force directory mode'
	ksmbd: Fix one kernel-doc comment
	ksmbd: add missing calling smb2_set_err_rsp() on error
	ksmbd: remove experimental warning
	ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
	ksmbd: fix passing freed memory 'aux_payload_buf'
	ksmbd: return invalid parameter error response if smb2 request is invalid
	ksmbd: check iov vector index in ksmbd_conn_write()
	ksmbd: fix race condition with fp
	ksmbd: fix race condition from parallel smb2 logoff requests
	ksmbd: fix race condition from parallel smb2 lock requests
	ksmbd: fix race condition between tree conn lookup and disconnect
	ksmbd: fix wrong error response status by using set_smb2_rsp_status()
	ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
	ksmbd: fix potential double free on smb2_read_pipe() error path
	ksmbd: Remove unused field in ksmbd_user struct
	ksmbd: reorganize ksmbd_iov_pin_rsp()
	ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
	ksmbd: fix recursive locking in vfs helpers
	ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
	ksmbd: add support for surrogate pair conversion
	ksmbd: no need to wait for binded connection termination at logoff
	ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
	ksmbd: prevent memory leak on error return
	ksmbd: fix possible deadlock in smb2_open
	ksmbd: separately allocate ci per dentry
	ksmbd: move oplock handling after unlock parent dir
	ksmbd: release interim response after sending status pending response
	ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
	ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
	ksmbd: set epoch in create context v2 lease
	ksmbd: set v2 lease capability
	ksmbd: downgrade RWH lease caching state to RH for directory
	ksmbd: send v2 lease break notification for directory
	ksmbd: lazy v2 lease break on smb2_write()
	ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
	ksmbd: fix wrong allocation size update in smb2_open()
	ARM: dts: Fix occasional boot hang for am3 usb
	usb: fotg210-hcd: delete an incorrect bounds test
	spi: Introduce spi_get_device_match_data() helper
	iio: imu: adis16475: add spi_device_id table
	nfsd: separate nfsd_last_thread() from nfsd_put()
	nfsd: call nfsd_last_thread() before final nfsd_put()
	linux/export: Ensure natural alignment of kcrctab array
	spi: Reintroduce spi_set_cs_timing()
	spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiod
	spi: atmel: Fix clock issue when using devices with different polarities
	block: renumber QUEUE_FLAG_HW_WC
	ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
	platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
	mm/filemap: avoid buffered read/write race to read inconsistent data
	mm: migrate high-order folios in swap cache correctly
	mm/memory-failure: cast index to loff_t before shifting it
	mm/memory-failure: check the mapcount of the precise page
	ring-buffer: Fix wake ups when buffer_percent is set to 100
	tracing: Fix blocked reader of snapshot buffer
	ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
	netfilter: nf_tables: skip set commit for deleted/destroyed sets
	ring-buffer: Fix slowpath of interrupted event
	NFSD: fix possible oops when nfsd/pool_stats is closed.
	spi: Constify spi parameters of chip select APIs
	device property: Allow const parameter to dev_fwnode()
	kallsyms: Make module_kallsyms_on_each_symbol generally available
	tracing/kprobes: Fix symbol counting logic by looking at modules as well
	Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe"
	Linux 6.1.71

Change-Id: I7bc16d981b90e8e0b633628438f79fce898ad15a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-14 11:21:18 +00:00
Greg Kroah-Hartman
1e63881f5c This is the 6.1.70 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmWSsnYACgkQONu9yGCS
 aT7ZRw//bmrTWoNbFf/qdM11oPF9EHus9FUgSlP5yvNaa6jcPfwGx71NPXUkz+wU
 xKobh1VwK7TJxq4JHFQeMmupW/8++NeWNygwtYsllwnsMGzHL+mz2Txysrr/mhMx
 WUs6UVYXRxnuQJJDSqtTvMoyllpAJ1QQxJNuhKKOI1i+0DIu9YjQklD/4eW3cebv
 8B9f3CeOyP/oL5Z0MqFTP8OnWx6X3jTbO4caor+qsyR+frgpXgBppTF76RHcd8lX
 MLVlx7aqr4wcml/uUMsolw8Zjbb719mX+KW3LHltl8wHftZeinYUsu1afnlb5dG1
 rAaVgut0PmjTAQ/KwIp54CGO2MADwApMCUXIm0yyKSpNfw+HKR10bpz64HOFp9KQ
 368YpjDJ3onkQdrLjV57w37YBRLyWxipeBya2+S4rdyPSfuvPkPCRNVkEDnHVAnH
 jxEhuoMZ2f/CIA8BT32y4DYDvEaIdfp7jVvEDFREDyIVXRMBhIneMhhyjU+Oe7Rw
 1q/sfEJejXFa5VvC+Jl+K5LouP59M5MTq3RkCoYxZKz+bdfpOLEJ6AZJoZHcS02J
 QlM/pL213nC1ye3tuWFu3tNPzPS/G6LNQfGgSsBUzRn9IX2osn/epNFnCHBIFqlK
 apjrXObrmqKE6jNvy6ktHUDpnEXPZFpvirSXRN2Lk9SYh76bFP0=
 =d63o
 -----END PGP SIGNATURE-----

Merge 6.1.70 into android14-6.1-lts

Changes in 6.1.70
	kasan: disable kasan_non_canonical_hook() for HW tags
	bpf: Fix prog_array_map_poke_run map poke update
	HID: i2c-hid: acpi: Unify ACPI ID tables format
	HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
	drm/amd/display: fix hw rotated modes when PSR-SU is enabled
	ARM: dts: dra7: Fix DRA7 L3 NoC node register size
	ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
	reset: Fix crash when freeing non-existent optional resets
	s390/vx: fix save/restore of fpu kernel context
	wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
	wifi: mac80211: check if the existing link config remains unchanged
	wifi: mac80211: mesh: check element parsing succeeded
	wifi: mac80211: mesh_plink: fix matches_local logic
	Revert "net/mlx5e: fix double free of encap_header in update funcs"
	Revert "net/mlx5e: fix double free of encap_header"
	net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
	net/mlx5: Introduce and use opcode getter in command interface
	net/mlx5: Prevent high-rate FW commands from populating all slots
	net/mlx5: Re-organize mlx5_cmd struct
	net/mlx5e: Fix a race in command alloc flow
	net/mlx5e: fix a potential double-free in fs_udp_create_groups
	net/mlx5: Fix fw tracer first block check
	net/mlx5e: Correct snprintf truncation handling for fw_version buffer
	net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
	net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above
	octeontx2-pf: Fix graceful exit during PFC configuration failure
	net: Return error from sk_stream_wait_connect() if sk_wait_event() fails
	net: sched: ife: fix potential use-after-free
	ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
	net/rose: fix races in rose_kill_by_device()
	Bluetooth: Fix deadlock in vhci_send_frame
	Bluetooth: hci_event: shut up a false-positive warning
	net: mana: select PAGE_POOL
	net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
	afs: Fix the dynamic root's d_delete to always delete unused dentries
	afs: Fix dynamic root lookup DNS check
	net: check dev->gso_max_size in gso_features_check()
	keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
	afs: Fix overwriting of result of DNS query
	afs: Fix use-after-free due to get/remove race in volume tree
	ASoC: hdmi-codec: fix missing report for jack initial status
	ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
	i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
	x86/xen: add CPU dependencies for 32-bit build
	pinctrl: at91-pio4: use dedicated lock class for IRQ
	gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
	nvme-pci: fix sleeping function called from interrupt context
	drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
	drm/i915: Relocate intel_atomic_setup_scalers()
	drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
	drm/i915/dpt: Only do the POT stride remap when using DPT
	drm/i915/mtl: Add MTL for remapping CCS FBs
	drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original
	interconnect: Treat xlate() returning NULL node as an error
	iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
	interconnect: qcom: sm8250: Enable sync_state
	Input: ipaq-micro-keys - add error handling for devm_kmemdup
	scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
	iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
	iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
	iio: triggered-buffer: prevent possible freeing of wrong buffer
	ALSA: usb-audio: Increase delay in MOTU M quirk
	usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
	wifi: cfg80211: Add my certificate
	wifi: cfg80211: fix certs build to not depend on file order
	USB: serial: ftdi_sio: update Actisense PIDs constant names
	USB: serial: option: add Quectel EG912Y module support
	USB: serial: option: add Foxconn T99W265 with new baseline
	USB: serial: option: add Quectel RM500Q R13 firmware support
	ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
	Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
	Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
	Bluetooth: L2CAP: Send reject on command corrupted request
	Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
	Bluetooth: Add more enc key size check
	net: usb: ax88179_178a: avoid failed operations when device is disconnected
	Input: soc_button_array - add mapping for airplane mode button
	net: 9p: avoid freeing uninit memory in p9pdu_vreadf
	net: rfkill: gpio: set GPIO direction
	net: ks8851: Fix TX stall caused by TX buffer overrun
	dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
	smb: client: fix OOB in cifsd when receiving compounded resps
	smb: client: fix potential OOB in cifs_dump_detail()
	smb: client: fix OOB in SMB2_query_info_init()
	smb: client: fix OOB in smbCalcSize()
	drm/i915: Reject async flips with bigjoiner
	9p: prevent read overrun in protocol dump tracepoint
	RISC-V: Fix do_notify_resume / do_work_pending prototype
	loop: do not enforce max_loop hard limit by (new) default
	dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client
	Revert "drm/amd/display: Do not set DRR on pipe commit"
	btrfs: zoned: no longer count fresh BG region as zone unusable
	ubifs: fix possible dereference after free
	ublk: move ublk_cancel_dev() out of ub->mutex
	selftests: mptcp: join: fix subflow_send_ack lookup
	Revert "scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity"
	scsi: core: Always send batch on reset or error handling command
	tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
	dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
	pinctrl: starfive: jh7100: ignore disabled device tree nodes
	bus: ti-sysc: Flush posted write only after srst_udelay
	gpio: dwapb: mask/unmask IRQ when disable/enale it
	lib/vsprintf: Fix %pfwf when current node refcount == 0
	thunderbolt: Fix memory leak in margining_port_remove()
	KVM: arm64: vgic: Simplify kvm_vgic_destroy()
	KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
	KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
	x86/alternatives: Sync core before enabling interrupts
	mm/damon/core: make damon_start() waits until kdamond_fn() starts
	fuse: share lookup state between submount and its parent
	wifi: cfg80211: fix CQM for non-range use
	wifi: nl80211: fix deadlock in nl80211_set_cqm_rssi (6.6.x)
	loop: deprecate autoloading callback loop_probe()
	Linux 6.1.70

Change-Id: I72bfbd39ae932d290b13d6fdde8e6684a84ec9e1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-12 18:48:13 +00:00
Lianjun Huang
d4db0d5d08 ANDROID: GKI: add vendor hooks for swapping in ahead
Add vendor hooks to capture demand paging during APP launch,
so we can do it in advance in next launch.

Bug: 315913896
Signed-off-by: Lianjun Huang <huanglianjun@xiaomi.com>
Signed-off-by: Lianjun Huang <huanglianjun@xiaomi.corp-partner.google.com>
Change-Id: I2698fefd347745fb4ff84b111caedbb3bb365ce3
2024-01-12 18:47:42 +00:00
Greg Kroah-Hartman
0b58f24c02 Reapply "kasan: print the original fault addr when access invalid shadow"
This reverts commit a2eefda9e3.

This issue is fixed properly in 6.1.70 so no longer needed here as it
will cause merge issues.

Change-Id: Ie80acf8e96dbcedd4a5d61701db8cbd3871258e2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-12 18:46:58 +00:00
Greg Kroah-Hartman
d3d46ac25c Merge 6.1.69 into android14-6.1-lts
Changes in 6.1.69
	perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
	r8152: add USB device driver for config selection
	r8152: add vendor/device ID pair for D-Link DUB-E250
	r8152: add vendor/device ID pair for ASUS USB-C2500
	powerpc/ftrace: Fix stack teardown in ftrace_no_trace
	ext4: fix warning in ext4_dio_write_end_io()
	ksmbd: fix memory leak in smb2_lock()
	afs: Fix refcount underflow from error handling race
	HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
	net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work
	net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
	qca_debug: Prevent crash on TX ring changes
	qca_debug: Fix ethtool -G iface tx behavior
	qca_spi: Fix reset behavior
	bnxt_en: Clear resource reservation during resume
	bnxt_en: Save ring error counters across reset
	bnxt_en: Fix wrong return value check in bnxt_close_nic()
	bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic
	atm: solos-pci: Fix potential deadlock on &cli_queue_lock
	atm: solos-pci: Fix potential deadlock on &tx_queue_lock
	net: vlan: introduce skb_vlan_eth_hdr()
	net: fec: correct queue selection
	octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
	octeontx2-pf: Fix promisc mcam entry action
	octeontx2-af: Update RSS algorithm index
	atm: Fix Use-After-Free in do_vcc_ioctl
	net/rose: Fix Use-After-Free in rose_ioctl
	iavf: Introduce new state machines for flow director
	iavf: Handle ntuple on/off based on new state machines for flow director
	qed: Fix a potential use-after-free in qed_cxt_tables_alloc
	net: Remove acked SYN flag from packet in the transmit queue correctly
	net: ena: Destroy correct number of xdp queues upon failure
	net: ena: Fix xdp drops handling due to multibuf packets
	net: ena: Fix XDP redirection error
	stmmac: dwmac-loongson: Make sure MDIO is initialized before use
	sign-file: Fix incorrect return values check
	vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
	dpaa2-switch: fix size of the dma_unmap
	dpaa2-switch: do not ask for MDB, VLAN and FDB replay
	net: stmmac: Handle disabled MDIO busses from devicetree
	appletalk: Fix Use-After-Free in atalk_ioctl
	net: atlantic: fix double free in ring reinit logic
	cred: switch to using atomic_long_t
	fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
	ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
	ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
	ALSA: hda/realtek: Apply mute LED quirk for HP15-db
	Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
	PCI: loongson: Limit MRRS to 256
	ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
	drm/mediatek: Add spinlock for setting vblank event in atomic_begin
	x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM
	usb: aqc111: check packet for fixup for true limit
	stmmac: dwmac-loongson: Add architecture dependency
	blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
	blk-cgroup: bypass blkcg_deactivate_policy after destroying
	bcache: avoid oversize memory allocation by small stripe_size
	bcache: remove redundant assignment to variable cur_idx
	bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
	bcache: avoid NULL checking to c->root in run_cache_set()
	nbd: fold nbd config initialization into nbd_alloc_config()
	nvme-auth: set explanation code for failure2 msgs
	nvme: catch errors from nvme_configure_metadata()
	selftests/bpf: fix bpf_loop_bench for new callback verification scheme
	LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi
	LoongArch: Implement constant timer shutdown interface
	platform/x86: intel_telemetry: Fix kernel doc descriptions
	HID: glorious: fix Glorious Model I HID report
	HID: add ALWAYS_POLL quirk for Apple kb
	nbd: pass nbd_sock to nbd_read_reply() instead of index
	HID: hid-asus: reset the backlight brightness level on resume
	HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
	asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
	net: usb: qmi_wwan: claim interface 4 for ZTE MF290
	arm64: add dependency between vmlinuz.efi and Image
	HID: hid-asus: add const to read-only outgoing usb buffer
	perf: Fix perf_event_validate_size() lockdep splat
	btrfs: do not allow non subvolume root targets for snapshot
	soundwire: stream: fix NULL pointer dereference for multi_link
	ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
	arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
	team: Fix use-after-free when an option instance allocation fails
	drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
	dmaengine: stm32-dma: avoid bitfield overflow assertion
	mm/mglru: fix underprotected page cache
	mm/shmem: fix race in shmem_undo_range w/THP
	btrfs: free qgroup reserve when ORDERED_IOERR is set
	btrfs: don't clear qgroup reserved bit in release_folio
	drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
	drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
	drm/i915: Fix remapped stride with CCS on ADL+
	smb: client: fix OOB in receive_encrypted_standard()
	smb: client: fix NULL deref in asn1_ber_decoder()
	smb: client: fix OOB in smb2_query_reparse_point()
	ring-buffer: Fix memory leak of free page
	tracing: Update snapshot buffer on resize if it is allocated
	ring-buffer: Do not update before stamp when switching sub-buffers
	ring-buffer: Have saved event hold the entire event
	ring-buffer: Fix writing to the buffer with max_data_size
	ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
	ring-buffer: Do not try to put back write_stamp
	ring-buffer: Have rb_time_cmpxchg() set the msb counter too
	net: tls, update curr on splice as well
	r8152: avoid to change cfg for all devices
	r8152: remove rtl_vendor_mode function
	r8152: fix the autosuspend doesn't work
	Linux 6.1.69

Change-Id: I695d1d50ca8c00ff505505918bdc59ce9d29d479
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-11 22:37:52 +00:00
Kalesh Singh
82bf9e7625 FROMGIT: BACKPORT: mm/cma: fix placement of trace_cma_alloc_start/finish
The current placement of trace_cma_alloc_start/finish misses the fail
cases: !cma || !cma->count || !cma->bitmap.

trace_cma_alloc_finish is also not emitted for the failure case
where bitmap_count > bitmap_maxno.

Fix these missed cases by moving the start event before the failure
checks and moving the finish event to the out label.

Link: https://lkml.kernel.org/r/20240110012234.3793639-1-kaleshsingh@google.com
Fixes: 7bc1aec5e2 ("mm: cma: add trace events for CMA alloc perf testing")
Change-Id: I61153fe078da4f9f3338147f1fbb7697a5554078
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 3b08ab9a811caebe1327f25f51557f95200d94bf https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable)
Bug: 315897033
[ Remove ret arg from trace_cma_alloc_finish - Kalesh Singh ]
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2024-01-11 17:56:51 +00:00
Greg Kroah-Hartman
bb47960a9d Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This merges all of the latest changes in 'android14-6.1' into
'android14-6.1-lts' to get it to pass TH again due to new symbols being
added.  Included in here are the following commits:

* a41a4ee370 ANDROID: Update the ABI symbol list
* 0801d8a89d ANDROID: mm: export dump_tasks symbol.
* 7c91752f5d FROMLIST: scsi: ufs: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
* 28154afe74 FROMLIST: scsi: ufs: Simplify power management during async scan
* febcf1429f ANDROID: gki_defconfig: Set CONFIG_IDLE_INJECT and CONFIG_CPU_IDLE_THERMAL into y
* bc4d82ee40 ANDROID: KMI workaround for CONFIG_NETFILTER_FAMILY_BRIDGE
* 227b55a7a3 ANDROID: dma-buf: don't re-purpose kobject as work_struct
* c1b1201d39 BACKPORT: FROMLIST: dma-buf: Move sysfs work out of DMA-BUF export path
* 928b3b5dde UPSTREAM: netfilter: nf_tables: skip set commit for deleted/destroyed sets
* 031f804149 ANDROID: KVM: arm64: Avoid BUG-ing from the host abort path
* c5dc4b4b3d ANDROID: Update the ABI symbol list
* 5070b3b594 UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
* 02aa72665c UPSTREAM: nvmet-tcp: Fix a possible UAF in queue intialization setup
* d6554d1262 FROMGIT: usb: dwc3: gadget: Handle EP0 request dequeuing properly
* 29544d4157 ANDROID: ABI: Update symbol list for imx
* 02f444ba07 UPSTREAM: io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
* ec46fe0ac7 UPSTREAM: bpf: Fix prog_array_map_poke_run map poke update
* 98b0e4cf09 BACKPORT: xhci: track port suspend state correctly in unsuccessful resume cases
* ac90f08292 ANDROID: Update the ABI symbol list
* ef67750d99 ANDROID: sched: Export symbols for vendor modules
* 934a40576e UPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode
* 8a597e7a2d ANDROID: KVM: arm64: Don't prepopulate MMIO regions for host stage-2
* ed9b660cd1 BACKPORT: FROMGIT fork: use __mt_dup() to duplicate maple tree in dup_mmap()
* 3743b40f65 FROMGIT: maple_tree: preserve the tree attributes when destroying maple tree
* 1bec2dd52e FROMGIT: maple_tree: update check_forking() and bench_forking()
* e57d333531 FROMGIT: maple_tree: skip other tests when BENCH is enabled
* c79ca61edc FROMGIT: maple_tree: update the documentation of maple tree
* 7befa7bbc9 FROMGIT: maple_tree: add test for mtree_dup()
* f73f881af4 FROMGIT: radix tree test suite: align kmem_cache_alloc_bulk() with kernel behavior.
* eb5048ea90 FROMGIT: maple_tree: introduce interfaces __mt_dup() and mtree_dup()
* dc9323545b FROMGIT: maple_tree: introduce {mtree,mas}_lock_nested()
* 4ddcdc519b FROMGIT: maple_tree: add mt_free_one() and mt_attr() helpers
* c52d48818b UPSTREAM: maple_tree: introduce __mas_set_range()
* 066d57de87 ANDROID: GKI: Enable symbols for v4l2 in async and fwnode
* e74417834e ANDROID: Update the ABI symbol list
* 15a93de464 ANDROID: KVM: arm64: Fix hyp event alignment
* 717d1f8f91 ANDROID: KVM: arm64: Fix host_smc print typo
* 8fc25d7862 FROMGIT: f2fs: do not return EFSCORRUPTED, but try to run online repair
* 99288e911a ANDROID: KVM: arm64: Document module_change_host_prot_range
* 4d99e41ce1 FROMGIT: PM / devfreq: Synchronize devfreq_monitor_[start/stop]
* 6c8f710857 FROMGIT: arch/mm/fault: fix major fault accounting when retrying under per-VMA lock
* 4a518d8633 UPSTREAM: mm: handle write faults to RO pages under the VMA lock
* c1da94fa44 UPSTREAM: mm: handle read faults under the VMA lock
* 6541fffd92 UPSTREAM: mm: handle COW faults under the VMA lock
* c7fa581a79 UPSTREAM: mm: handle shared faults under the VMA lock
* 95af8a80bb BACKPORT: mm: call wp_page_copy() under the VMA lock
* b43b26b4cd UPSTREAM: mm: make lock_folio_maybe_drop_mmap() VMA lock aware
* 9c4bc457ab UPSTREAM: mm/memory.c: fix mismerge
* 7d50253c27 ANDROID: Export functions to be used with dma_map_ops in modules
* 37e0a5b868 BACKPORT: FROMGIT: erofs: enable sub-page compressed block support
* f466d52164 FROMGIT: erofs: refine z_erofs_transform_plain() for sub-page block support
* a18efa4e4a FROMGIT: erofs: fix ztailpacking for subpage compressed blocks
* 0c6a18c75b BACKPORT: FROMGIT: erofs: fix up compacted indexes for block size < 4096
* d7bb85f1cb FROMGIT: erofs: record `pclustersize` in bytes instead of pages
* 9d259220ac FROMGIT: erofs: support I/O submission for sub-page compressed blocks
* 8a49ea9441 FROMGIT: erofs: fix lz4 inplace decompression
* bdc5d268ba FROMGIT: erofs: fix memory leak on short-lived bounced pages
* 0d329bbe5c BACKPORT: erofs: tidy up z_erofs_do_read_page()
* dc94c3cc6b UPSTREAM: erofs: move preparation logic into z_erofs_pcluster_begin()
* 7751567a71 BACKPORT: erofs: avoid obsolete {collector,collection} terms
* d0dbf74792 BACKPORT: erofs: simplify z_erofs_read_fragment()
* 4067dd9969 UPSTREAM: erofs: get rid of the remaining kmap_atomic()
* 365ca16da2 UPSTREAM: erofs: simplify z_erofs_transform_plain()
* 187d034575 BACKPORT: erofs: adapt managed inode operations into folios
* 3d93182661 UPSTREAM: erofs: avoid on-stack pagepool directly passed by arguments
* 5c1827383a UPSTREAM: erofs: allocate extra bvec pages directly instead of retrying
* bed20ed1d3 UPSTREAM: erofs: clean up z_erofs_pcluster_readmore()
* 5e861fa97e UPSTREAM: erofs: remove the member readahead from struct z_erofs_decompress_frontend
* 66595bb17c UPSTREAM: erofs: fold in z_erofs_decompress()
* 88a1939504 UPSTREAM: erofs: enable large folios for iomap mode
* 2c085909e7 ANDROID: Update the ABI symbol list
* d16a15fde5 UPSTREAM: USB: gadget: core: adjust uevent timing on gadget unbind
* d3006fb944 ANDROID: ABI: Update oplus symbol list
* bc97d5019a ANDROID: vendor_hooks: Add hooks for rt_mutex steal
* 401a2769d9 UPSTREAM: dm verity: don't perform FEC for failed readahead IO
* 30bca9e278 UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk
* 44702d8fa1 FROMLIST: mm: migrate high-order folios in swap cache correctly
* 613d8368e3 ANDROID: fuse-bpf: Follow mounts in lookups

Change-Id: I49d28ad030d7840490441ce6a7936b5e1047913e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-11 08:06:52 +00:00
liangjlee
0801d8a89d ANDROID: mm: export dump_tasks symbol.
Export dump_tasks to dump per-task memory status when ramdump.

Bug: 316372318
Change-Id: Ie0dd1a4c7ada280dc0c7696781b4b9a5e2a100ab
Signed-off-by: liangjlee <liangjlee@google.com>
2024-01-10 23:50:22 +00:00
Jiajun Xie
dafdeb7b91 mm: fix unmap_mapping_range high bits shift bug
commit 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d upstream.

The bug happens when highest bit of holebegin is 1, suppose holebegin is
0x8000000111111000, after shift, hba would be 0xfff8000000111111, then
vma_interval_tree_foreach would look it up fail or leads to the wrong
result.

error call seq e.g.:
- mmap(..., offset=0x8000000111111000)
  |- syscall(mmap, ... unsigned long, off):
     |- ksys_mmap_pgoff( ... , off >> PAGE_SHIFT);

  here pgoff is correctly shifted to 0x8000000111111,
  but pass 0x8000000111111000 as holebegin to unmap
  would then cause terrible result, as shown below:

- unmap_mapping_range(..., loff_t const holebegin)
  |- pgoff_t hba = holebegin >> PAGE_SHIFT;
          /* hba = 0xfff8000000111111 unexpectedly */

The issue happens in Heterogeneous computing, where the device(e.g.
gpu) and host share the same virtual address space.

A simple workflow pattern which hit the issue is:
        /* host */
    1. userspace first mmap a file backed VA range with specified offset.
                        e.g. (offset=0x800..., mmap return: va_a)
    2. write some data to the corresponding sys page
                         e.g. (va_a = 0xAABB)
        /* device */
    3. gpu workload touches VA, triggers gpu fault and notify the host.
        /* host */
    4. reviced gpu fault notification, then it will:
            4.1 unmap host pages and also takes care of cpu tlb
                  (use unmap_mapping_range with offset=0x800...)
            4.2 migrate sys page to device
            4.3 setup device page table and resolve device fault.
        /* device */
    5. gpu workload continued, it accessed va_a and got 0xAABB.
    6. gpu workload continued, it wrote 0xBBCC to va_a.
        /* host */
    7. userspace access va_a, as expected, it will:
            7.1 trigger cpu vm fault.
            7.2 driver handling fault to migrate gpu local page to host.
    8. userspace then could correctly get 0xBBCC from va_a
    9. done

But in step 4.1, if we hit the bug this patch mentioned, then userspace
would never trigger cpu fault, and still get the old value: 0xAABB.

Making holebegin unsigned first fixes the bug.

Link: https://lkml.kernel.org/r/20231220052839.26970-1-jiajun.xie.sh@gmail.com
Signed-off-by: Jiajun Xie <jiajun.xie.sh@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-10 17:10:35 +01:00
Sumanth Korikkar
d49bf9c1ce mm/memory_hotplug: fix error handling in add_memory_resource()
[ Upstream commit f42ce5f087eb69e47294ababd2e7e6f88a82d308 ]

In add_memory_resource(), creation of memory block devices occurs after
successful call to arch_add_memory().  However, creation of memory block
devices could fail.  In that case, arch_remove_memory() is called to
perform necessary cleanup.

Currently with or without altmap support, arch_remove_memory() is always
passed with altmap set to NULL during error handling.  This leads to
freeing of struct pages using free_pages(), eventhough the allocation
might have been performed with altmap support via
altmap_alloc_block_buf().

Fix the error handling by passing altmap in arch_remove_memory(). This
ensures the following:
* When altmap is disabled, deallocation of the struct pages array occurs
  via free_pages().
* When altmap is enabled, deallocation occurs via vmem_altmap_free().

Link: https://lkml.kernel.org/r/20231120145354.308999-3-sumanthk@linux.ibm.com
Fixes: a08a2ae346 ("mm,memory_hotplug: allocate memmap from the added memory range")
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: <stable@vger.kernel.org>	[5.15+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:33 +01:00
Sumanth Korikkar
4666f003af mm/memory_hotplug: add missing mem_hotplug_lock
[ Upstream commit 001002e73712cdf6b8d9a103648cda3040ad7647 ]

From Documentation/core-api/memory-hotplug.rst:
When adding/removing/onlining/offlining memory or adding/removing
heterogeneous/device memory, we should always hold the mem_hotplug_lock
in write mode to serialise memory hotplug (e.g. access to global/zone
variables).

mhp_(de)init_memmap_on_memory() functions can change zone stats and
struct page content, but they are currently called w/o the
mem_hotplug_lock.

When memory block is being offlined and when kmemleak goes through each
populated zone, the following theoretical race conditions could occur:
CPU 0:					     | CPU 1:
memory_offline()			     |
-> offline_pages()			     |
	-> mem_hotplug_begin()		     |
	   ...				     |
	-> mem_hotplug_done()		     |
					     | kmemleak_scan()
					     | -> get_online_mems()
					     |    ...
-> mhp_deinit_memmap_on_memory()	     |
  [not protected by mem_hotplug_begin/done()]|
  Marks memory section as offline,	     |   Retrieves zone_start_pfn
  poisons vmemmap struct pages and updates   |   and struct page members.
  the zone related data			     |
   					     |    ...
   					     | -> put_online_mems()

Fix this by ensuring mem_hotplug_lock is taken before performing
mhp_init_memmap_on_memory().  Also ensure that
mhp_deinit_memmap_on_memory() holds the lock.

online/offline_pages() are currently only called from
memory_block_online/offline(), so it is safe to move the locking there.

Link: https://lkml.kernel.org/r/20231120145354.308999-2-sumanthk@linux.ibm.com
Fixes: a08a2ae346 ("mm,memory_hotplug: allocate memmap from the added memory range")
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: kernel test robot <lkp@intel.com>
Cc: <stable@vger.kernel.org>	[5.15+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:33 +01:00
Christoph Hellwig
a8e4300ae5 filemap: add a per-mapping stable writes flag
[ Upstream commit 762321dab9a72760bf9aec48362f932717c9424d ]

folio_wait_stable waits for writeback to finish before modifying the
contents of a folio again, e.g. to support check summing of the data
in the block integrity code.

Currently this behavior is controlled by the SB_I_STABLE_WRITES flag
on the super_block, which means it is uniform for the entire file system.
This is wrong for the block device pseudofs which is shared by all
block devices, or file systems that can use multiple devices like XFS
witht the RT subvolume or btrfs (although btrfs currently reimplements
folio_wait_stable anyway).

Add a per-address_space AS_STABLE_WRITES flag to control the behavior
in a more fine grained way.  The existing SB_I_STABLE_WRITES is kept
to initialize AS_STABLE_WRITES to the existing default which covers
most cases.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231025141020.192413-2-hch@lst.de
Tested-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:32 +01:00
David Howells
d0eafc7631 mm, netfs, fscache: stop read optimisation when folio removed from pagecache
[ Upstream commit b4fa966f03b7401ceacd4ffd7227197afb2b8376 ]

Fscache has an optimisation by which reads from the cache are skipped
until we know that (a) there's data there to be read and (b) that data
isn't entirely covered by pages resident in the netfs pagecache.  This is
done with two flags manipulated by fscache_note_page_release():

	if (...
	    test_bit(FSCACHE_COOKIE_HAVE_DATA, &cookie->flags) &&
	    test_bit(FSCACHE_COOKIE_NO_DATA_TO_READ, &cookie->flags))
		clear_bit(FSCACHE_COOKIE_NO_DATA_TO_READ, &cookie->flags);

where the NO_DATA_TO_READ flag causes cachefiles_prepare_read() to
indicate that netfslib should download from the server or clear the page
instead.

The fscache_note_page_release() function is intended to be called from
->releasepage() - but that only gets called if PG_private or PG_private_2
is set - and currently the former is at the discretion of the network
filesystem and the latter is only set whilst a page is being written to
the cache, so sometimes we miss clearing the optimisation.

Fix this by following Willy's suggestion[1] and adding an address_space
flag, AS_RELEASE_ALWAYS, that causes filemap_release_folio() to always call
->release_folio() if it's set, even if PG_private or PG_private_2 aren't
set.

Note that this would require folio_test_private() and page_has_private() to
become more complicated.  To avoid that, in the places[*] where these are
used to conditionalise calls to filemap_release_folio() and
try_to_release_page(), the tests are removed the those functions just
jumped to unconditionally and the test is performed there.

[*] There are some exceptions in vmscan.c where the check guards more than
just a call to the releaser.  I've added a function, folio_needs_release()
to wrap all the checks for that.

AS_RELEASE_ALWAYS should be set if a non-NULL cookie is obtained from
fscache and cleared in ->evict_inode() before truncate_inode_pages_final()
is called.

Additionally, the FSCACHE_COOKIE_NO_DATA_TO_READ flag needs to be cleared
and the optimisation cancelled if a cachefiles object already contains data
when we open it.

[dwysocha@redhat.com: call folio_mapping() inside folio_needs_release()]
  Link: 902c990e31
Link: https://lkml.kernel.org/r/20230628104852.3391651-3-dhowells@redhat.com
Fixes: 1f67e6d0b1 ("fscache: Provide a function to note the release of a page")
Fixes: 047487c947 ("cachefiles: Implement the I/O routines")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Reported-by: Rohith Surabattula <rohiths.msft@gmail.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Tested-by: SeongJae Park <sj@kernel.org>
Cc: Daire Byrne <daire.byrne@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Steve French <sfrench@samba.org>
Cc: Shyam Prasad N <nspmangalore@gmail.com>
Cc: Rohith Surabattula <rohiths.msft@gmail.com>
Cc: Dave Wysochanski <dwysocha@redhat.com>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: Ilya Dryomov <idryomov@gmail.com>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Jingbo Xu <jefflexu@linux.alibaba.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:31 +01:00
David Howells
bceff380f3 mm: merge folio_has_private()/filemap_release_folio() call pairs
[ Upstream commit 0201ebf274a306a6ebb95e5dc2d6a0a27c737cac ]

Patch series "mm, netfs, fscache: Stop read optimisation when folio
removed from pagecache", v7.

This fixes an optimisation in fscache whereby we don't read from the cache
for a particular file until we know that there's data there that we don't
have in the pagecache.  The problem is that I'm no longer using PG_fscache
(aka PG_private_2) to indicate that the page is cached and so I don't get
a notification when a cached page is dropped from the pagecache.

The first patch merges some folio_has_private() and
filemap_release_folio() pairs and introduces a helper,
folio_needs_release(), to indicate if a release is required.

The second patch is the actual fix.  Following Willy's suggestions[1], it
adds an AS_RELEASE_ALWAYS flag to an address_space that will make
filemap_release_folio() always call ->release_folio(), even if
PG_private/PG_private_2 aren't set.  folio_needs_release() is altered to
add a check for this.

This patch (of 2):

Make filemap_release_folio() check folio_has_private().  Then, in most
cases, where a call to folio_has_private() is immediately followed by a
call to filemap_release_folio(), we can get rid of the test in the pair.

There are a couple of sites in mm/vscan.c that this can't so easily be
done.  In shrink_folio_list(), there are actually three cases (something
different is done for incompletely invalidated buffers), but
filemap_release_folio() elides two of them.

In shrink_active_list(), we don't have have the folio lock yet, so the
check allows us to avoid locking the page unnecessarily.

A wrapper function to check if a folio needs release is provided for those
places that still need to do it in the mm/ directory.  This will acquire
additional parts to the condition in a future patch.

After this, the only remaining caller of folio_has_private() outside of
mm/ is a check in fuse.

Link: https://lkml.kernel.org/r/20230628104852.3391651-1-dhowells@redhat.com
Link: https://lkml.kernel.org/r/20230628104852.3391651-2-dhowells@redhat.com
Reported-by: Rohith Surabattula <rohiths.msft@gmail.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Steve French <sfrench@samba.org>
Cc: Shyam Prasad N <nspmangalore@gmail.com>
Cc: Rohith Surabattula <rohiths.msft@gmail.com>
Cc: Dave Wysochanski <dwysocha@redhat.com>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: Ilya Dryomov <idryomov@gmail.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Xiubo Li <xiubli@redhat.com>
Cc: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:31 +01:00
Vishal Moola (Oracle)
8b6b3ecf0c memory-failure: convert truncate_error_page() to use folio
[ Upstream commit ac5efa782041670b63a05c36d92d02a80e50bb63 ]

Replace try_to_release_page() with filemap_release_folio().  This change
is in preparation for the removal of the try_to_release_page() wrapper.

Link: https://lkml.kernel.org/r/20221118073055.55694-4-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:31 +01:00
Vishal Moola (Oracle)
a6f440f3b9 khugepage: replace try_to_release_page() with filemap_release_folio()
[ Upstream commit 64ab3195ea077eaeedc8b382939c3dc5ca56f369 ]

Replace some calls with their folio equivalents.  This change removes 4
calls to compound_head() and is in preparation for the removal of the
try_to_release_page() wrapper.

Link: https://lkml.kernel.org/r/20221118073055.55694-3-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:10:31 +01:00
Greg Kroah-Hartman
0177cfb2a2 Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'
This merges the changes up to 6.1.68 LTS into the android14-6.1 branch.
Included in here are the following commits:

* 8968561242 ANDROID: fix crc error in put_cmsg caused in 6.1.68
* c077094653 Revert "hrtimers: Push pending hrtimers away from outgoing CPU earlier"
* e0690152b8 Revert "drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group"
*   c9b484c69d Merge 6.1.68 into android14-6.1-lts
|\
| * ba6f5fb465 Linux 6.1.68
| * f38b4e99e2 drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
| * d9ef7b05cc drm/i915/sdvo: stop caching has_hdmi_monitor in struct intel_sdvo
| * cf70d62ace drm/i915/lvds: Use REG_BIT() & co.
| * e6d55cf493 drm/i915/display: Drop check for doublescan mode in modevalid
| * 9c322aaf28 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
| * 189c2a8293 netfilter: nft_set_pipapo: skip inactive elements during set walk
| * b4e440cf60 MIPS: Loongson64: Enable DMA noncoherent support
| * d52a5178cb MIPS: Loongson64: Handle more memory types passed from firmware
| * 8d18a01585 MIPS: Loongson64: Reserve vgabios memory on boot
| * 2b9b2d28a9 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
| * 6d6314c3db KVM: s390/mm: Properly reset no-dat
| * be297475ca MIPS: kernel: Clear FPU states when setting up kernel threads
| * 358bd5f436 cifs: Fix flushing, invalidation and file size with FICLONE
| * 18b02e4343 cifs: Fix flushing, invalidation and file size with copy_file_range()
| * 69540c108d USB: gadget: core: adjust uevent timing on gadget unbind
| * 2467f4f8cb x86/CPU/AMD: Check vendor in the AMD microcode callback
| * 0553d52908 devcoredump: Send uevent once devcd is ready
| * 74799b43d8 serial: 8250_omap: Add earlycon support for the AM654 UART controller
| * d59dafa9eb serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
| * 638a6cbace serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
| * f434703fb8 serial: sc16is7xx: address RX timeout interrupt errata
| * a8027753ab ARM: PL011: Fix DMA support
| * c909ce57d0 usb: typec: class: fix typec_altmode_put_partner to put plugs
| * b12ccef705 smb: client: fix potential NULL deref in parse_dfs_referrals()
| * f48430635b Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
| * 9ce109b748 cifs: Fix non-availability of dedup breaking generic/304
| * 8e25331ea5 parport: Add support for Brainboxes IX/UC/PX parallel cards
| * bee9affd37 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
| * 16da1f84f5 usb: gadget: f_hid: fix report descriptor allocation
| * c8bf22e0d0 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
| * 8750977871 drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
| * 4ccb34d431 drm/amdgpu: simplify amdgpu_ras_eeprom.c
| * af6b1f1156 drm/amdgpu: Return from switch early for EEPROM I2C address
| * a3049c9a30 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
| * 30289057ef drm/amdgpu: Add support for RAS table at 0x40000
| * c67c553b4d drm/amdgpu: Decouple RAS EEPROM addresses from chips
| * ee9efcdc76 drm/amdgpu: Remove redundant I2C EEPROM address
| * a945568638 drm/amdgpu: Add EEPROM I2C address support for ip discovery
| * f549f837b9 drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
| * 458affed06 drm/amdgpu: correct the amdgpu runtime dereference usage count
| * 41c5dd545e drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
| * 613eaee445 drm/amdgpu: fix memory overflow in the IB test
| * 1705927a10 gpiolib: sysfs: Fix error handling on failed export
| * 4b716fcacd x86/sev: Fix kernel crash due to late update to read-only ghcb_version
| * 06dec254c5 perf: Fix perf_event_validate_size()
| * b0c195a825 arm64: dts: mt8183: kukui: Fix underscores in node names
| * 8a3d746c7e arm64: dts: mediatek: add missing space before {
| * 5656634ce0 parisc: Fix asm operand number out of range build error in bug table
| * f9e9e156db parisc: Reduce size of the bug_table on 64-bit kernel by half
| * 8479f5ca8b tracing: Stop current tracer when resizing buffer
| * df4aa7e84d tracing: Set actual size after ring buffer resize
| * 07ad456e1c ring-buffer: Force absolute timestamp on discard of event
| * 40421e0cf3 LoongArch: BPF: Don't sign extend function return value
| * ebb09d58df LoongArch: BPF: Don't sign extend memory load operand
| * 066dcd87b9 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
| * d78789ba21 misc: mei: client.c: return negative error code in mei_cl_write
| * 672976c28e hwtracing: hisi_ptt: Add dummy callback pmu::read()
| * 0b80e6af0d coresight: etm4x: Remove bogous __exit annotation for some functions
| * 766b29f614 coresight: etm4x: Make etm4_remove_dev() return void
| * 920f84a6e8 binder: fix memory leaks of spam and pending work
| * 18847b6bba arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
| * c428285eab arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
| * bdd7508661 arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
| * 66398d1856 arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc clocks
| * e1d4f02a68 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
| * ff566a8d76 arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
| * 6d50aa9656 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
| * c2adea3191 arm64: dts: mediatek: mt7622: fix memory node warning check
| * 515d971cd2 md/raid6: use valid sector values to determine if an I/O should wait on the reshape
| * 4132cc3a3a powercap: DTPM: Fix missing cpufreq_cpu_put() calls
| * 686cc4de09 mm: fix oops when filemap_map_pmd() without prealloc_pte
| * 574a6db80f hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write
| * f5e6958919 platform/surface: aggregator: fix recv_buf() return value
| * bcd50a3bd6 regmap: fix bogus error on regcache_sync success
| * 1c1c6d5c7e r8169: fix rtl8125b PAUSE frames blasting when suspended
| * 6a71d77856 packet: Move reference count in packet_sock to atomic_long_t
| * 15c251f814 tracing: Fix a possible race when disabling buffered events
| * b00b500916 tracing: Fix incomplete locking when disabling buffered events
| * 6e0d6c685b tracing: Disable snapshot buffer when stopping instance tracers
| * 20fd56ca2e tracing: Always update snapshot buffer size
| * f33d663db0 checkstack: fix printed address
| * 4c00f01832 cgroup_freezer: cgroup_freezing: Check if not frozen
| * 3907e9cc85 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
| * c344e99dd8 nilfs2: fix missing error check for sb_set_blocksize call
| * d2558e726e ring-buffer: Test last update in 32bit version of __rb_time_read()
| * c4dcc915ea ALSA: hda/realtek: Add Framework laptop 16 to quirks
| * 0675fe3b32 ALSA: hda/realtek: add new Framework laptop to quirks
| * 8b23707c8a ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
| * dc1141ae5c ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
| * bb43c57c3d ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
| * bfe5a5e2f9 io_uring: fix mutex_unlock with unreferenced ctx
| * 8bba38f7a0 nvme-pci: Add sleep quirk for Kingston drives
| * f2f57f51b5 io_uring/af_unix: disable sending io_uring over sockets
| * 515c25be77 ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA
| * 0fcfc90c86 kprobes: consistent rcu api usage for kretprobe holder
| * a5325a055f rethook: Use __rcu pointer for rethook::handler
| * 68bc7b2003 iommu: Avoid more races around device probe
| * 3c796895b4 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
| * 5255ded034 md: introduce md_ro_state
| * a38c1e766f riscv: fix misaligned access handling of C.SWSP and C.SDSP
| * 8b41bdcc22 ARM: dts: imx28-xea: Pass the 'model' property
| * 282b5acd58 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
| * 12ac3b0ab8 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
| * 4d8cc87d18 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
| * bc5b79df6d tracing: Fix a warning when allocating buffered events fails
| * fc2d811d31 ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
| * 22143a0e5a arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
| * 8dd0e20b41 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
| * 188de9839f drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS
| * 1ff56298ab RDMA/irdma: Avoid free the non-cqp_request scratch
| * 0a929e8375 RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
| * ebcb4e19d3 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
| * 2358e53208 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
| * 3baaba7908 ASoC: codecs: lpass-tx-macro: set active_decimator correct default value
| * c11b7e26d2 hwmon: (acpi_power_meter) Fix 4.29 MW bug
| * 19269741c3 RDMA/irdma: Fix UAF in irdma_sc_ccq_get_cqe_info()
| * 439857e2fe RDMA/irdma: Refactor error handling in create CQP
| * 59a022a869 RDMA/bnxt_re: Correct module description string
| * 7ed498095c RDMA/rtrs-clt: Remove the warnings for req in_use check
| * 03095a6440 RDMA/rtrs-clt: Fix the max_send_wr setting
| * 233c32bcf0 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
| * 7be574c34d RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
| * 9dd976c435 RDMA/rtrs-srv: Check return values while processing info request
| * 3910ccbf25 RDMA/rtrs-clt: Start hb after path_up
| * 1e46485045 RDMA/rtrs-srv: Do not unconditionally enable irq
| * 4a8774a633 ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
| * 3166c76d1d arm64: dts: rockchip: Expand reg size of vdec node for RK3399
| * aa9ae3dffc arm64: dts: rockchip: Expand reg size of vdec node for RK3328
| * 945bfe4e0b RDMA/irdma: Add wait for suspend on SQD
| * 0b0afd4e14 RDMA/irdma: Do not modify to SQD on error
| * 9d005ea01e RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
| * 1c9561b438 tee: optee: Fix supplicant based device enumeration
| * 5fd29433b2 mm/damon/sysfs: eliminate potential uninitialized variable warning
| * b5ca945612 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
| * 07c8229c02 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
| * af39b80173 bpf: sockmap, updating the sg structure should also update curr
| * 008b807fe4 tcp: do not accept ACK of bytes we never sent
| * 7a63521ed0 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
| * 3176160c22 netfilter: nf_tables: validate family when identifying table via handle
| * 96f8654b70 netfilter: nf_tables: bail out on mismatching dynset and set expressions
| * c9704c2619 netfilter: nf_tables: fix 'exist' matching on bigendian arches
| * 0bfbfd9423 netfilter: nft_exthdr: add boolean DCCP option matching
| * 9225a4566b dt-bindings: interrupt-controller: Allow #power-domain-cells
| * 6b9e78d6c6 octeontx2-af: Update Tx link register range
| * 9be8f66ea8 octeontx2-af: Add missing mcs flr handler call
| * d54470adfc octeontx2-af: Fix mcs stats register address
| * 90773de073 octeontx2-af: Fix mcs sa cam entries size
| * 0c8baa37bf octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
| * d2689aea4f net: hns: fix fake link up on xge port
| * 217cc7f6a6 net: hns: fix wrong head when modify the tx feature when sending packets
| * 87559196c3 net: atlantic: Fix NULL dereference of skb pointer in
| * 64c78c57e3 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
| * ce3c5acb59 ionic: Fix dim work handling in split interrupt mode
| * a92719900f ionic: fix snprintf format length warning
| * c91685ac1b tcp: fix mid stream window clamp.
| * 9fc81912fc net: bnxt: fix a potential use-after-free in bnxt_init_tc
| * 0d33871b66 iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero
| * 75fd86e541 i40e: Fix unexpected MFS warning message
| * ba6eb3a77a octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
| * 2c0cbb97b1 xsk: Skip polling event check for unbound socket
| * ed7e211b67 net: stmmac: fix FPE events losing
| * 1a41ffc4dc octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing
| * 8d034da825 arcnet: restoring support for multiple Sohard Arcnet cards
| * 3c32379695 platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
| * 29d82b366a platform/mellanox: Add null pointer checks for devm_kasprintf()
| * 646f1e9c19 mlxbf-bootctl: correctly identify secure boot with development keys
| * ef91309a57 r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
| * d11ef4d3dd r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
| * 284cd311bb r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
| * 0823990da7 r8152: Add RTL8152_INACCESSIBLE checks to more loops
| * 3759e73556 r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
| * ecb5068f55 hv_netvsc: rndis_filter needs to select NLS
| * 80de965ca5 octeontx2-af: Check return value of nix_get_nixlf before using nixlf
| * f565044d1d octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
| * a3f5de10b5 ipv6: fix potential NULL deref in fib6_add()
| * e2b202821d platform/x86: wmi: Skip blocks with zero instances
| * b536601d05 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
| * 76b9ea6f54 platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
| * 3453531284 dt: dt-extract-compatibles: Don't follow symlinks when walking tree
| * 8a124b9e78 dt: dt-extract-compatibles: Handle cfile arguments in generator function
| * cde700ceb0 x86/tdx: Allow 32-bit emulation by default
| * e09d243a51 x86/entry: Do not allow external 0x80 interrupts
| * d5f999317e x86/entry: Convert INT 0x80 emulation to IDTENTRY
| * b8ec27ae22 x86/coco: Disable 32-bit emulation by default on TDX and SEV
| * 0870f19b54 x86: Introduce ia32_enabled()
| * 9046665bef drm/amdgpu: correct chunk_ptr to a pointer to chunk.
| * 18209382db kconfig: fix memory leak from range properties
| * bcc2abaa40 tg3: Increment tx_dropped in tg3_tso_bug()
| * 9bbc655e18 tg3: Move the [rt]x_dropped counters to tg3_napi
| * 62c6d82bac zstd: Fix array-index-out-of-bounds UBSAN warning
| * 875ee3a09e netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
| * 6025052bbf i2c: designware: Fix corrupted memory seen in the ISR
| * 75b5016ce3 hrtimers: Push pending hrtimers away from outgoing CPU earlier
| * 8ea2b4ba9b vdpa/mlx5: preserve CVQ vringh index
* |   2af1386be0 Merge "Merge 6.1.67 into android14-6.1-lts" into android14-6.1-lts
|\ \
| * | 0292321d13 Merge 6.1.67 into android14-6.1-lts
| |\|
| | * e7cddbb41b Linux 6.1.67
| | * db46c77f3d Revert "wifi: cfg80211: fix CQM for non-range use"
| * | c539451364 Revert "mmc: core: add helpers mmc_regulator_enable/disable_vqmmc"
| * | 975d5f2ae9 Revert "mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled"
* | | 44affaea1e Revert "mmc: core: add helpers mmc_regulator_enable/disable_vqmmc"
* | | c49b4a744f Revert "mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled"
* | | 59f96234bf Merge "Merge 6.1.66 into android14-6.1-lts" into android14-6.1-lts
|\| |
| * | 6b1e1d37f1 Merge 6.1.66 into android14-6.1-lts
| |\|
| | * 6c6a6c7e21 Linux 6.1.66
| | * ea574927fc iomap: update ki_pos a little later in iomap_dio_complete
| | * adf0ecebf0 x86/apic/msi: Fix misconfigured non-maskable MSI quirk
| | * b3b839fb63 x86/xen: fix percpu vcpu_info allocation
| | * 00bc8b2cf4 xen: simplify evtchn_do_upcall() call maze
| | * 9311a0ff38 xen: Allow platform PCI interrupt to be shared
| | * 402b832346 r8169: fix deadlock on RTL8125 in jumbo mtu mode
| | * 22ee0ddb2a r8169: disable ASPM in case of tx timeout
| | * 10ce630100 drm/amd/display: Fix MPCC 1DLUT programming
| | * 8332cb6c63 drm/amd/display: Fix the delta clamping for shaper LUT
| | * 442a4d4d01 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
| | * 6cd7362721 drm/amd/display: Expand kernel doc for DC
| | * 8b01195be4 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
| | * 38d3216032 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
| | * 0e0a951668 drm/amd/pm: fix a memleak in aldebaran_tables_init
| | * 59862b8692 iommu/vt-d: Make context clearing consistent with context mapping
| | * ee2c224769 iommu/vt-d: Disable PCI ATS in legacy passthrough mode
| | * 8f39d297a2 iommu/vt-d: Add device_block_translation() helper
| | * 3787b3168b iommu/vt-d: Allocate pasid table in device probe path
| | * 681aeeda41 iommu/vt-d: Omit devTLB invalidation requests when TES=0
| | * 8aaed5b81d cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
| | * d3788f6e9d cpufreq: imx6q: don't warn for disabling a non-existing frequency
| | * 195514bda6 drm/amd/display: Guard against invalid RPTR/WPTR being set
| | * 395a63ca1a drm/amd/display: Restore rptr/wptr for DMCUB as workaround
| | * 4ec4508db9 spi: Fix null dereference on suspend
| | * b57eebfb80 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
| | * 5bc8d96fed PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
| | * 10c3d86fea octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
| | * 1c8f75ee92 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
| | * 7545ddda9c KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
| | * 21feaf558f net: ravb: Keep reverse order of operations in ravb_remove()
| | * 8d04278ff4 net: ravb: Stop DMA in case of failures on ravb_open()
| | * 52b751686c net: ravb: Start TX queues after HW initialization succeeded
| | * e2db25d16c net: ravb: Make write access to CXR35 first before accessing other EMAC registers
| | * f5c649ce79 net: ravb: Use pm_runtime_resume_and_get()
| | * 149b2fe12a net: ravb: Check return value of reset_control_deassert()
| | * 7ed2e4c2d0 ravb: Fix races between ravb_tx_timeout_work() and net related ops
| | * 8b1d088be5 r8169: prevent potential deadlock in rtl8169_close
| | * 9c4ac2d98a octeontx2-pf: Restore TC ingress police rules when interface is up
| | * aef2d5b3e5 octeontx2-af: Install TC filter rules in hardware based on priority
| | * 662b887084 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
| | * 5d5bcfb1ca net: stmmac: xgmac: Disable FPE MMC interrupts
| | * 334e6378c2 octeontx2-af: Fix possible buffer overflow
| | * c3e974e9c4 selftests/net: mptcp: fix uninitialized variable warnings
| | * 12dd4c1bf3 selftests/net: unix: fix unused variable compiler warning
| | * 4e999af7cf selftests/net: fix a char signedness issue
| | * 249ceee95c selftests/net: ipsec: fix constant out of range
| | * e01249a839 uapi: propagate __struct_group() attributes to the container union
| | * fd91b48f10 dpaa2-eth: increase the needed headroom to account for alignment
| | * 94445d9583 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
| | * f89fef7710 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
| | * 9aff7c51b4 USB: core: Change configuration warnings to notices
| | * c89b34eef3 USB: xhci-plat: fix legacy PHY double init
| | * 307a6525c8 wifi: cfg80211: fix CQM for non-range use
| | * e8c1105c0c serial: sc16is7xx: add missing support for rs485 devicetree properties
| | * 55061c3230 serial: sc16is7xx: Put IOControl register into regmap_volatile
| | * a491c7be35 auxdisplay: hd44780: move cursor home after clear display command
| | * 7f21167775 Input: xpad - add HyperX Clutch Gladiate Support
| | * 7a105de275 btrfs: fix 64bit compat send ioctl arguments not initializing version member
| | * 32912ee869 btrfs: make error messages more clear when getting a chunk map
| | * 4fc9c61c02 btrfs: send: ensure send_fd is writable
| | * 86742a963f btrfs: fix off-by-one when checking chunk map includes logical address
| | * 9fe447c485 btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
| | * 3f26d9b257 btrfs: add dmesg output for first mount and last unmount of a filesystem
| | * 0ad7d59e79 parisc: Mark altinstructions read-only and 32-bit aligned
| | * cf2ae6494d parisc: Ensure 32-bit alignment on parisc unwind section
| | * 2acfff5730 parisc: Mark jump_table naturally aligned
| | * 3793cd2ded parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
| | * 79a1fdf4c2 parisc: Mark lock_aligned variables 16-byte aligned on SMP
| | * 41d7852a0a parisc: Use natural CPU alignment for bug_table
| | * c7c78a4aa6 parisc: Mark ex_table entries 32-bit aligned in uaccess.h
| | * 645e4b693b parisc: Mark ex_table entries 32-bit aligned in assembly.h
| | * c23b9eaca8 powerpc: Don't clobber f0/vs0 during fp|altivec register save
| | * e6bc42fae6 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
| | * 59419ebcc0 iommu/vt-d: Add MTL to quirk list to skip TE disabling
| | * 0b48970ce1 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
| | * fc98ea2699 dma-buf: fix check in dma_resv_add_fence
| | * 4da1556996 cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
| | * 9d4c721c18 powercap: DTPM: Fix unneeded conversions to micro-Watts
| | * a62ca58bb3 nvme: check for valid nvme_identify_ns() before using it
| | * 82b5e603ed dm verity: don't perform FEC for failed readahead IO
| | * 6f5a9fc94b dm verity: initialize fec io before freeing it
| | * 7cfc3884a8 drm/amd/display: fix ABM disablement
| | * 859a3a9f1e drm/amd/display: Update min Z8 residency time to 2100 for DCN314
| | * 6ef7f13c72 drm/amd/display: Use DRAM speed from validation for dummy p-state
| | * a67c187047 drm/amd/display: Remove min_dst_y_next_start check for Z8
| | * 33ed892f0c drm/amd/display: Include udelay when waiting for INBOX0 ACK
| | * c5cf436c89 drm/amdgpu: Force order between a read and write to the same address
| | * c608842963 drm/amd: Enable PCIe PME from D3
| | * cebccbe801 scsi: sd: Fix system start for ATA devices
| | * 181fd67dc5 scsi: Change SCSI device boolean fields to single bit flags
| | * 7d2faae81b dm-verity: align struct dm_verity_fec_io properly
| | * da9f55393f ALSA: hda/realtek: Add supported ALC257 for ChromeOS
| | * f4b1302134 ALSA: hda/realtek: Headset Mic VREF to 100%
| | * 65654af4c8 ALSA: hda: Disable power-save on KONTRON SinglePC
| | * ba911edc6c mmc: block: Be sure to wait while busy in CQE error recovery
| | * eab9ec6446 mmc: block: Do not lose cache flush during CQE error recovery
| | * e121f6d73d mmc: block: Retry commands in CQE error recovery
| | * 3a9a9c256f mmc: cqhci: Fix task clearing in CQE error recovery
| | * def67fd8ef mmc: cqhci: Warn of halt or task clear failure
| | * 2ebc8b758c mmc: cqhci: Increase recovery halt timeout
| | * d2fc10e262 mmc: sdhci-pci-gli: Disable LPM during initialization
| | * 87ceaa8521 firewire: core: fix possible memory leak in create_units()
| | * db0b69e46d pinctrl: avoid reload of p state in list iteration
| | * 74820f7406 smb: client: report correct st_size for SMB and NFS symlinks
| | * 60fed17ca5 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
| | * 6406cce4b2 cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved
| * | 157836a2ab Merge 6.1.65 into android14-6.1-lts
| |\|
* | | 1775bee186 Revert "HID: fix HID device resource race between HID core and debugging support"
* | |   ee16988743 Merge 6.1.65 into android14-6.1-lts
|\ \ \
| | |/
| |/|
| * | c6114c8459 Linux 6.1.65
| * | 66ecd1cd8b io_uring: fix off-by one bvec index
| * | 812171018e USB: dwc3: qcom: fix wakeup after probe deferral
| * | 72ef87bb8e USB: dwc3: qcom: fix software node leak on probe errors
| * | fc7b2fe267 usb: dwc3: set the dma max_seg_size
| * | 92b9eca53d usb: dwc3: Fix default mode initialization
| * | 451c5a6172 USB: dwc2: write HCINT with INTMASK applied
| * | d9be7a1297 usb: typec: tcpm: Skip hard reset when in error recovery
| * | c15cb712da USB: serial: option: don't claim interface 4 for ZTE MF290
| * | 5a657b34fe USB: serial: option: fix FM101R-GL defines
| * | 4fccb016ff USB: serial: option: add Fibocom L7xx modules
| * | f70b0b6fd8 usb: cdnsp: Fix deadlock issue during using NCM gadget
| * | f9ba5dd0d9 bcache: fixup lock c->root error
| * | c736af32a8 bcache: fixup init dirty data errors
| * | c37aca3dd5 bcache: prevent potential division by zero error
| * | 366f3648f1 bcache: check return value from btree_node_alloc_replacement()
| * | 4241b51f3e dm-delay: fix a race between delay_presuspend and delay_bio
| * | c4d3957510 hv_netvsc: Mark VF as slave before exposing it to user-mode
| * | 5dd83db613 hv_netvsc: Fix race of register_netdevice_notifier and VF register
| * | e8ef65c174 hv_netvsc: fix race of netvsc and VF register_netdevice
| * | 043c8e0306 USB: serial: option: add Luat Air72*U series products
| * | dc96fde8fc s390/dasd: protect device queue against concurrent access
| * | b964a0a391 io_uring/fs: consider link->flags when getting path for LINKAT
| * | 12f4971589 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
| * | fa9bacc1d5 md: fix bi_status reporting in md_end_clone_io
| * | 415f644b1f bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
| * | 354d162ba5 swiotlb-xen: provide the "max_mapping_size" method
| * | 05591c0d17 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
| * | 1ed904f424 arm64: dts: imx8mn-var-som: add 20ms delay to ethernet regulator enable
| * | 5d9ddbf4b5 NFSD: Fix checksum mismatches in the duplicate reply cache
| * | b597f3c85d NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
| * | d7eb37615b ext4: make sure allocate pending entry not fail
| * | 8384d8c5cc ext4: fix slab-use-after-free in ext4_es_insert_extent()
| * | 9164978bce ext4: using nofail preallocation in ext4_es_insert_extent()
| * | 614b383d01 ext4: using nofail preallocation in ext4_es_insert_delayed_block()
| * | 51cef2a5c6 ext4: using nofail preallocation in ext4_es_remove_extent()
| * | f1c2369366 ext4: use pre-allocated es in __es_remove_extent()
| * | ce581f8631 ext4: use pre-allocated es in __es_insert_extent()
| * | 594a5f00e5 ext4: factor out __es_alloc_extent() and __es_free_extent()
| * | 9381ff6512 ext4: add a new helper to check if es must be kept
| * | 3a14f4fd7b media: qcom: camss: Fix genpd cleanup
| * | df5bb7b408 media: qcom: camss: Fix V4L2 async notifier error path
| * | fdfcdf9697 media: qcom: Initialise V4L2 async notifier later
| * | 153a4396c3 media: camss: Convert to platform remove callback returning void
| * | 4ae3c85e73 media: camss: Split power domain management
| * | 8bdcaa7c03 MIPS: KVM: Fix a build warning about variable set but not used
| * | e9c3d6b09c cifs: fix leak of iface for primary channel
| * | b24d42b52b cifs: account for primary channel in the interface list
| * | 548893404c cifs: distribute channels across interfaces based on speed
| * | 5607a415d4 cifs: print last update time for interface list
| * | f4dff37111 smb3: allow dumping session and tcon id to improve stats analysis and debugging
| * | fbc666a9ac cifs: minor cleanup of some headers
| * | c2d336140a lockdep: Fix block chain corruption
| * | e9611e8404 USB: dwc3: qcom: fix ACPI platform device leak
| * | eaa315288b USB: dwc3: qcom: fix resource leaks on probe deferral
| * | 0e485f12eb nvmet: nul-terminate the NQNs passed in the connect command
| * | 573fa2b708 i40e: Fix adding unsupported cloud filters
| * | f7f3e69ced i40e: use ERR_PTR error print in i40e messages
| * | 27f5dd22af arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
| * | 558b8ee45f mm,kfence: decouple kfence from page granularity mapping judgement
| * | 48b3ee0134 afs: Fix file locking on R/O volumes to operate in local mode
| * | f9cf17836e afs: Return ENOENT if no cell DNS record can be found
| * | 8025fd0706 net: axienet: Fix check for partial TX checksum
| * | 3481ff3811 amd-xgbe: propagate the correct speed and duplex status
| * | 73d114dd57 amd-xgbe: handle the corner-case during tx completion
| * | 4bcc07bb36 amd-xgbe: handle corner-case during sfp hotplug
| * | 76b088b639 octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
| * | 97703eb199 arm/xen: fix xen_vcpu_info allocation alignment
| * | 94a0ae698b net/smc: avoid data corruption caused by decline
| * | a573b334be net: usb: ax88179_178a: fix failed operations during ax88179_reset
| * | e784313dd0 ipv4: Correct/silence an endian warning in __ip_do_redirect
| * | 377c4c7e97 HID: fix HID device resource race between HID core and debugging support
| * | 8e9a649965 drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
| * | 84a6e47545 drm/i915: do not clean GT table on error path
| * | 84c9d30dbc ata: pata_isapnp: Add missing error check for devm_ioport_map()
| * | cfbdb36727 octeontx2-pf: Fix memory leak during interface down
| * | 4206f46d3f wireguard: use DEV_STATS_INC()
| * | 7dfa514744 drm/panel: simple: Fix Innolux G101ICE-L01 timings
| * | 7f5eae8585 drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
| * | 39f11604e5 drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
| * | 84b232a9c8 drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
| * | d2b3bc8c7f afs: Make error on cell lookup failure consistent with OpenAFS
| * | 790ea5bc40 afs: Fix afs_server_list to be cleaned up with RCU
* | | a01e106f08 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
| |/
|/|
* | fc9e81c1a1 ANDROID: Fix up merge issues in 6.1.64 in net/netfilter/nf_tables_api.c
* | 31e1ff253d ANDROID: Fix up unneeded crc break in af_vsock.c
* | 8a7ce2ee18 Revert "mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A"
* | dcea2ba909 Revert "ASoC: soc-card: Add storage for PCI SSID"
* | 88487f809a Revert "tracing: Have trace_event_file have ref counters"
* | fd71493204 Revert "workqueue: Provide one lock class key per work_on_cpu() callsite"
* | f1bc13cb9d Merge 6.1.64 into android14-6.1-lts
|\|
| * 6ac30d748b Linux 6.1.64
| * 04ff8a5107 RISC-V: drop error print from riscv_hartid_to_cpuid()
| * 9e1e0887ea cxl/port: Fix NULL pointer access in devm_cxl_add_port()
| * c88cfbb18a mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
| * 2132941b45 Input: xpad - add VID for Turtle Beach controllers
| * 2fa74d29fc tracing: Have trace_event_file have ref counters
| * 6460508dce powerpc/powernv: Fix fortify source warnings in opal-prd.c
| * 4c55be0855 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
| * 68d774eb10 drm/amd/display: Enable fast plane updates on DCN3.2 and above
| * fb5c134ca5 drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
| * 51ffa1a379 drm/amdgpu: lower CS errors to debug severity
| * c52aac5884 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
| * 2ab6c1237b drm/amdgpu: don't use ATRM for external devices
| * 965dce07a4 drm/amdgpu: don't use pci_is_thunderbolt_attached()
| * 8e54a91d3e drm/amdgpu/smu13: drop compute workload workaround
| * 454d0cdd7c drm/amd/pm: Fix error of MACO flag setting code
| * 07e94f204f drm/i915: Fix potential spectre vulnerability
| * 9457636a49 drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
| * e973f40de1 drm/amd/pm: Handle non-terminated overdrive commands.
| * dc4542861e ext4: properly sync file size update after O_SYNC direct IO
| * e1d0f68bc0 ext4: add missed brelse in update_backups
| * 1793dc461e ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
| * 80ddcf21e7 ext4: correct the start block of counting reserved clusters
| * ec4ba3d62f ext4: correct return value of ext4_convert_meta_bg
| * 32b9fb9a67 ext4: mark buffer new if it is unwritten to avoid stale data exposure
| * f0cc1368fa ext4: correct offset of gdb backup in non meta_bg group to update_backups
| * af075d06b3 ext4: apply umask if ACL support is disabled
| * e795a56654 Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
| * eb2f435be2 media: qcom: camss: Fix csid-gen2 for test pattern generator
| * eeab07ddd0 media: qcom: camss: Fix invalid clock enable bit disjunction
| * 18a06f2eeb media: qcom: camss: Fix missing vfe_lite clocks check
| * ddc424aedb media: qcom: camss: Fix VFE-480 vfe_disable_output()
| * 0f3e5f93fe media: qcom: camss: Fix VFE-17x vfe_disable_output()
| * 04ef31a3e3 media: qcom: camss: Fix vfe_get() error jump
| * 3166c3af55 media: qcom: camss: Fix pm_domain_on sequence in probe
| * 6dcb2605c2 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
| * f7164cb037 r8169: add handling DASH when DASH is disabled
| * 862565f324 r8169: fix network lost after resume on DASH systems
| * 9e9e2107ae mptcp: fix setsockopt(IP_TOS) subflow locking
| * dba6f08cef mptcp: add validity check for sending RM_ADDR
| * 70ff9b65a7 mptcp: deal with large GSO size
| * 16fcda24b1 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
| * a7fd033550 mm: fix for negative counter: nr_file_hugepages
| * 2594bdaa16 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
| * 97fb6013f3 riscv: kprobes: allow writing to x0
| * 645257ad8d riscv: correct pt_level name via pgtable_l5/4_enabled
| * fb1b16f041 riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
| * 9f74b261e4 LoongArch: Mark __percpu functions as always inline
| * 1bb61fb790 nfsd: fix file memleak on client_opens_release
| * a5d4be493a dm-verity: don't use blocking calls from tasklets
| * 002d2473dd drm/mediatek/dp: fix memory leak on ->get_edid callback error path
| * 5e9fcba176 drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
| * e082326473 media: ccs: Correctly initialise try compose rectangle
| * 424fc46381 media: venus: hfi: add checks to handle capabilities from firmware
| * 9ebb3c14ec media: venus: hfi: fix the check to handle session buffer requirement
| * a3e0b55dea media: venus: hfi_parser: Add check to keep the number of codecs within range
| * 997639c100 media: sharp: fix sharp encoding
| * 41c269083c media: lirc: drop trailing space from scancode transmit
| * 526dd7540a f2fs: avoid format-overflow warning
| * 6122b72ce5 f2fs: do not return EFSCORRUPTED, but try to run online repair
| * e6fa9ac60f i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
| * f5617a21c7 net: phylink: initialize carrier state at creation
| * 105d29fa8d net: dsa: lan9303: consequently nested-lock physical MDIO
| * eef592e71a net: ethtool: Fix documentation of ethtool_sprintf()
| * 57e35d9229 s390/ap: fix AP bus crash on early config change callback invocation
| * 75d5c85cf4 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
| * ba1a9eef3e sbsa_gwdt: Calculate timeout with 64-bit math
| * cfcb1e7c17 lsm: fix default return value for inode_getsecctx
| * 7a048a90ac lsm: fix default return value for vm_enough_memory
| * b3fd9db79e Revert "i2c: pxa: move to generic GPIO recovery"
| * 677fc3780f Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
| * 31f6ff62df cxl/region: Fix x1 root-decoder granularity calculations
| * 683b6a7324 tools/testing/cxl: Define a fixed volatile configuration to parse
| * 8cdc6b8b81 cxl/mem: Move devm_cxl_add_endpoint() from cxl_core to cxl_mem
| * 8fce427169 cxl: Unify debug messages when calling devm_cxl_add_port()
| * e841a59ac1 i3c: master: svc: fix random hot join failure since timeout error
| * a807a44189 i3c: master: svc: add NACK check after start byte sent
| * 90db4c1d5e cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
| * c415f113d9 cxl/region: Move region-position validation to a helper
| * 008b08ab07 cxl/region: Cleanup target list on attach error
| * 93d242f63e cxl/region: Validate region mode vs decoder mode
| * 3b70d45c7e drm/amd/display: enable dsc_clk even if dsc_pg disabled
| * 1d1cc275d1 Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
| * 6c6a39080b Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
| * ba9302fd93 bluetooth: Add device 13d3:3571 to device tables
| * fc3423d55c bluetooth: Add device 0bda:887b to device tables
| * f1c7f81e97 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
| * 1f026218f8 clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
| * b2a2828720 clk: visconti: remove unused visconti_pll_provider::regmap
| * e785584e0a cpufreq: stats: Fix buffer overflow detection in trans_stats()
| * c2d14682b3 pmdomain: imx: Make imx pgc power domain also set the fwnode
| * 8bd370cc3c pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
| * 68620ef460 ALSA: hda/realtek: Add quirks for HP Laptops
| * 4d50004416 ALSA: hda/realtek: Enable Mute LED on HP 255 G10
| * 4645d3bcd5 ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
| * eaa4e4ba7a ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
| * 0fcc2cf28f ALSA: hda/realtek: Enable Mute LED on HP 255 G8
| * fa7c9cc3cb ALSA: info: Fix potential deadlock at disconnection
| * a0d43e0f7c btrfs: zoned: wait for data BG to be finished on direct IO allocation
| * 9ad4c7f065 xfs: recovery should not clear di_flushiter unconditionally
| * 209379924a cifs: do not reset chan_max if multichannel is not supported at mount
| * c9569bfd28 cifs: force interface update before a fresh session setup
| * 5bdf34ca32 cifs: reconnect helper should set reconnect for the right channel
| * 9eb44db68c smb: client: fix potential deadlock when releasing mids
| * 558817597d smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
| * 49d0ff613f smb3: fix caching of ctime on setxattr
| * 34828baf81 smb3: fix touch -h of symlink
| * 9d96ac07ae smb3: fix creating FIFOs when mounting with "sfu" mount option
| * 5691e15695 fs: add ctime accessors infrastructure
| * b50ca24c3e xhci: Enable RPM on controllers that support low-power states
| * 72a90e7eb4 parisc/power: Fix power soft-off when running on qemu
| * 40b6914f42 parisc/pgtable: Do not drop upper 5 address bits of physical address
| * 1651b334f1 parisc: Prevent booting 64-bit kernels on PA1.x machines
| * 3ddb2fa5ec i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
| * 1ea1fb2216 i3c: master: svc: fix check wrong status register in irq handler
| * 65d9f61324 i3c: master: svc: fix ibi may not return mandatory data byte
| * e32e9cba56 i3c: master: svc: fix wrong data return when IBI happen during start frame
| * 3a8e03f133 i3c: master: svc: fix race condition in ibi work thread
| * de6ca501ad i3c: master: cdns: Fix reading status register
| * 3b93096d29 mtd: cfi_cmdset_0001: Byte swap OTP info
| * aee642ae99 mm/memory_hotplug: use pfn math in place of direct struct page manipulation
| * 5a2768b9de mm/cma: use nth_page() in place of direct struct page manipulation
| * 20412ca356 s390/cmma: fix detection of DAT pages
| * 7fc465d265 dmaengine: stm32-mdma: correct desc prep when channel running
| * 55d699e2d2 mcb: fix error handling for different scenarios when parsing
| * afcde812dd driver core: Release all resources during unbind before updating device links
| * f7ab9dee22 tracing: Have the user copy of synthetic event address use correct context
| * 185f3617ad i2c: core: Run atomic i2c xfer when !preemptible
| * 59cb785919 kernel/reboot: emergency_restart: Set correct system_state
| * 4f3135e2dd quota: explicitly forbid quota files from being encrypted
| * ed3cc4f3ca jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
| * e166cc2bf5 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
| * 479a120a04 hid: lenovo: Resend all settings on reset_resume for compact keyboards
| * 9ea5df7290 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
| * 72f5a918b4 selftests/resctrl: Move _GNU_SOURCE define into Makefile
| * e6526e403a selftests/resctrl: Remove duplicate feature check from CMT test
| * 3f100cc63a netfilter: nf_tables: split async and sync catchall in two functions
| * 13e2d49647 netfilter: nf_tables: remove catchall element in GC sync path
| * 143f450c6c ima: detect changes to the backing overlay file
| * 2c63b9d7f7 ima: annotate iint mutex to avoid lockdep false positive warnings
| * db98de0809 mfd: qcom-spmi-pmic: Fix revid implementation
| * 5231eb1190 mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
| * 4d259683bc arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
| * c754a6f5c3 ACPI: FPDT: properly handle invalid FPDT subtables
| * 95e747c3c6 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
| * cd222fc61e arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
| * e866ef947a btrfs: don't arbitrarily slow down delalloc if we're committing
| * ddf42b7c8d rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
| * d150294818 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
| * 567c6f6495 PM: hibernate: Use __get_safe_page() rather than touching the list
| * 2c9222b7dc arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
| * 8d837850d3 rcu/tree: Defer setting of jiffies during stall reset
| * 6aa3cab6be svcrdma: Drop connection after an RDMA Read error
| * 4b0d6ddb64 wifi: wilc1000: use vmm_table as array in wilc struct
| * efd8e6d19c PCI: exynos: Don't discard .remove() callback
| * 75bf9a8b0e PCI: kirin: Don't discard .remove() callback
| * e02b9c6a83 PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
| * 51dcd20a4a mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
| * 07d425242e mmc: sdhci_am654: fix start loop index for TAP value parsing
| * 4542aa7569 mmc: vub300: fix an error code
| * 8387c94d73 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
| * 482aaa72f9 ksmbd: handle malformed smb1 message
| * 8e76941a16 clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 877080a349 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 3291d3ecf3 clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
| * ea2c6e85b6 parisc/power: Add power soft-off when running on qemu
| * 783645be98 parisc/pdc: Add width field to struct pdc_model
| * ef0224ee53 arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
| * 938c4c7318 PCI: keystone: Don't discard .probe() callback
| * b7d27cbfef PCI: keystone: Don't discard .remove() callback
| * fe0b2a20f7 KEYS: trusted: Rollback init_trusted() consistently
| * 454ad98f31 KEYS: trusted: tee: Refactor register SHM usage
| * 3ef9944681 genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
| * 17381882fc mmc: meson-gx: Remove setting of CMD_CFG_ERROR
| * 0cf7577b6b wifi: ath11k: fix gtk offload status event locking
| * e3199b3fac wifi: ath11k: fix htt pktlog locking
| * ca420ac4f9 wifi: ath11k: fix dfs radar event locking
| * f0ea9e4726 wifi: ath11k: fix temperature event locking
| * 164fa9a0b1 regmap: Ensure range selector registers are updated after cache sync
| * e10facbd25 ACPI: resource: Do IRQ override on TongFang GMxXGxx
| * 08a98c345f mm/damon/sysfs: check error from damon_sysfs_update_target()
| * b0fc14428c mm/damon: implement a function for max nr_accesses safe calculation
| * 834a800c58 mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
| * 2b38f0dbe8 mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
| * cf2641099c watchdog: move softlockup_panic back to early_param
| * f0f3328af9 mm/damon/sysfs: update monitoring target regions for online input commit
| * 9275f65d77 mm/damon/sysfs: remove requested targets when online-commit inputs
| * 4e0fbf3188 PCI/sysfs: Protect driver's D3cold preference from user space
| * 1a2c7a2f35 hvc/xen: fix event channel handling for secondary consoles
| * b772e415e1 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
| * 74db59e63b hvc/xen: fix console unplug
| * e5b0e23080 tty: serial: meson: fix hard LOCKUP on crtscts mode
| * 5e3b2141c7 tty/sysrq: replace smp_processor_id() with get_cpu()
| * 5b2352c64c proc: sysctl: prevent aliased sysctls from getting passed to init
| * d91fd028c9 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
| * 38968c63e9 audit: don't take task_lock() in audit_exe_compare() code path
| * 43cea54109 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
| * 27976fa917 KVM: x86: Ignore MSR_AMD64_TW_CFG access
| * 7e218114a2 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
| * 41689ef19b x86/cpu/hygon: Fix the CPU topology evaluation for real
| * f0732c646a crypto: x86/sha - load modules based on CPU features
| * 1fc94de1c1 scsi: qla2xxx: Fix system crash due to bad pointer access
| * b16ea57d6c scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
| * bb5e307366 scsi: mpt3sas: Fix loop logic
| * dd56d43244 bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
| * 947635fa17 bpf: Fix check_stack_write_fixed_off() to correctly spill imm
| * 3bdbe399b8 randstruct: Fix gcc-plugin performance mode to stay in group
| * bee4f891fe powerpc/perf: Fix disabling BHRB and instruction sampling
| * 4cb064f617 perf intel-pt: Fix async branch flags
| * a1d8f675ea media: venus: hfi: add checks to perform sanity on queue pointers
| * 55db76caa7 i915/perf: Fix NULL deref bugs with drm_dbg() calls
| * d1a04a5219 cifs: fix check of rc in function generate_smb3signingkey
| * 17cfba4aeb cifs: spnego: add ';' in HOST_KEY_LEN
| * 4b91ba060f tools/power/turbostat: Enable the C-state Pre-wake printing
| * c5fcba7ff9 tools/power/turbostat: Fix a knl bug
| * ca56cdfab3 macvlan: Don't propagate promisc change to lower dev in passthru
| * f9b592a9e6 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
| * 0ab53cd69f net/mlx5e: Check return value of snprintf writing to fw_version buffer
| * 7f2feab701 net/mlx5e: Reduce the size of icosq_str
| * e2d93cfd1b net/mlx5e: Fix pedit endianness
| * 991ba64898 net/mlx5e: fix double free of encap_header in update funcs
| * e8ae37f863 net/mlx5e: fix double free of encap_header
| * 7414a28de1 net: stmmac: avoid rx queue overrun
| * 49fb680403 net: stmmac: fix rx budget limit check
| * 18a169810c netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
| * 6a15d97104 netfilter: nf_conntrack_bridge: initialize err to 0
| * d179189eec af_unix: fix use-after-free in unix_stream_read_actor()
| * 14b11892a6 net: ethernet: cortina: Fix MTU max setting
| * 1a1efaed5f net: ethernet: cortina: Handle large frames
| * 4794b6b16a net: ethernet: cortina: Fix max RX frame define
| * 19554aa901 bonding: stop the device in bond_setup_by_slave()
| * f84846731b ptp: annotate data-race around q->head and q->tail
| * ceae93d76a xen/events: fix delayed eoi list handling
| * ab3e13b35c ppp: limit MRU to 64K
| * 00768b3e90 net: mvneta: fix calls to page_pool_get_stats
| * 1e83edbc42 tipc: Fix kernel-infoleak due to uninitialized TLV value
| * a28ec8322d net: hns3: fix VF wrong speed and duplex issue
| * 55d82e092c net: hns3: fix VF reset fail issue
| * f47c6fba72 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
| * 07f5b8c471 net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
| * 83a177b942 net: hns3: fix incorrect capability bit display for copper port
| * 5dc440293d net: hns3: add barrier in vf mailbox reply process
| * 61c5ba5042 net: hns3: fix add VLAN fail issue
| * 76bd42849c tty: Fix uninit-value access in ppp_sync_receive()
| * 732a67ca43 ipvlan: add ipvlan_route_v6_outbound() helper
| * 12af02d24a net: set SOCK_RCU_FREE before inserting socket into hashtable
| * c0f8b8fb7d vhost-vdpa: fix use after free in vhost_vdpa_probe()
| * 58278cc71d gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
| * 7749fd2dbe SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
| * af0095a559 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
| * 19d7dbf71e SUNRPC: Add an IS_ERR() check back to where it was
| * c65b915641 NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
| * 5ee813da0c mtd: rawnand: meson: check return value of devm_kasprintf()
| * b2a9ba69df mtd: rawnand: intel: check return value of devm_kasprintf()
| * 8d02b6fb3c SUNRPC: ECONNRESET might require a rebind
| * 11f6aadd1f sched/core: Optimize in_task() and in_interrupt() a bit
| * 3a6ad749e9 wifi: iwlwifi: Use FW rate for non-data frames
| * 2fa178e2cd mtd: rawnand: tegra: add missing check for platform_get_irq()
| * 1fb3a9c59e pwm: Fix double shift bug
| * 6586b5f8e4 drm/amdgpu: fix software pci_unplug on some chips
| * 8a1552e908 ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
| * 07ab6615a9 drm/qxl: prevent memory leak
| * 09297e3ffc ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
| * aff8be2cad i2c: dev: copy userspace array safely
| * 72d02adae3 kgdb: Flush console before entering kgdb on panic
| * 8a06894666 drm/amd/display: Avoid NULL dereference of timing generator
| * b083aaf5db media: imon: fix access to invalid resource for the second interface
| * 65335aef1a media: ccs: Fix driver quirk struct documentation
| * b8dcbbd0c4 media: cobalt: Use FIELD_GET() to extract Link Width
| * e2ccedd4d1 gfs2: fix an oops in gfs2_permission
| * 53fc16c1ad gfs2: ignore negated quota changes
| * 329a8d1d60 media: vivid: avoid integer overflow
| * a647f27a74 media: gspca: cpia1: shift-out-of-bounds in set_flicker
| * e64d23dc65 i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
| * 472bd47874 virtio-blk: fix implicit overflow on virtio_max_dma_size
| * 32b17bc21f i2c: sun6i-p2wi: Prevent potential division by zero
| * 0b5e729d4e i2c: fix memleak in i2c_new_client_device()
| * 8be39f6691 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
| * 07c11a5249 9p: v9fs_listxattr: fix %s null argument warning
| * 3851d844d7 9p/trans_fd: Annotate data-racy writes to file::f_flags
| * c7b0ce54b1 usb: gadget: f_ncm: Always set current gadget in ncm_bind()
| * ff95007583 f2fs: fix error handling of __get_node_page
| * a82bd79cbf soundwire: dmi-quirks: update HP Omen match
| * 7932afa9bb usb: dwc3: core: configure TX/RX threshold for DWC3_IP
| * 7cebc86481 tty: vcc: Add check for kstrdup() in vcc_probe()
| * d6957635de thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
| * b80aaff5f7 iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
| * c92de3bf6c mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
| * b469227b1d exfat: support handle zero-size directory
| * 24e222a54e HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
| * 4ee3b3a0ff crypto: hisilicon/qm - prevent soft lockup in receive loop
| * a70cb0d59d ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
| * cbf304de78 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
| * 52cd51ba57 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
| * 6f9557a5c9 PCI: Disable ATS for specific Intel IPU E2000 devices
| * 161767bb7c PCI: Extract ATS disabling to a helper function
| * 6b46084582 PCI: Use FIELD_GET() to extract Link Width
| * 442fd24d7b scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
| * dabc0ee84d PCI: Do error check on own line to split long "if" conditions
| * 146badf18e atm: iphase: Do PCI error checks on own line
| * 1a7c3d2e1d PCI: mvebu: Use FIELD_PREP() with Link Width
| * aac90c7197 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
| * 43b91df291 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
| * fa7abd3c5c ARM: 9320/1: fix stack depot IRQ stack filter
| * 6e2076cad8 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
| * 8c68af2af6 jfs: fix array-index-out-of-bounds in diAlloc
| * a50b796d36 jfs: fix array-index-out-of-bounds in dbFindLeaf
| * 5013f82698 fs/jfs: Add validity check for db_maxag and db_agpref
| * 0cb567e727 fs/jfs: Add check for negative db_l2nbperpage
| * 88984ec479 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
| * 33331b265a scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
| * f1521fe0b4 RDMA/hfi1: Use FIELD_GET() to extract Link Width
| * af493dde68 ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
| * c55fc098fd crypto: pcrypt - Fix hungtask for PADATA_RESET
| * 62c65e799f ASoC: SOF: Pass PCI SSID to machine driver
| * 14107cbeb5 ASoC: soc-card: Add storage for PCI SSID
| * 0aaf807756 selftests/efivarfs: create-read: fix a resource leak
| * c68535657f arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
| * 6c1b3d89a2 drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
| * 2806f88037 drm/amdkfd: Fix shift out-of-bounds issue
| * 7017e83500 drm/panel: st7703: Pick different reset sequence
| * 33fb1a5553 drm/amdgpu/vkms: fix a possible null pointer dereference
| * 16fa59e273 drm/radeon: fix a possible null pointer dereference
| * d0bc9ab0a1 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
| * 79813cd593 drm/panel: fix a possible null pointer dereference
| * 9b70fc7d70 drm/amdgpu: Fix potential null pointer derefernce
| * d0725232da drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
| * fc9ac0e8e0 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
| * 09b900fc2c drm/msm/dp: skip validity check for DP CTS EDID checksum
| * 412ce89669 drm: vmwgfx_surface.c: copy user-array safely
| * 0f5f567451 drm_lease.c: copy user-array safely
| * 6995df256e kernel: watch_queue: copy user-array safely
| * 8332523b13 kernel: kexec: copy user-array safely
| * 2fabc3289b string.h: add array-wrappers for (v)memdup_user()
| * 24faa2740b drm/amd/display: use full update for clip size increase of large plane source
| * 09d4f579d3 drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
| * 50f35a907c drm/amdkfd: Fix a race condition of vram buffer unref in svm code
| * 5b978a8ce4 drm/amdgpu: not to save bo in the case of RAS err_event_athub
| * 0c8eda600e drm/komeda: drop all currently held locks if deadlock happens
| * 4048cf4615 drm/gma500: Fix call trace when psb_gem_mm_init() fails
| * a57a54a8bc platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
| * 6edd5ea504 platform/chrome: kunit: initialize lock for fake ec_dev
| * c90c7bf7b1 tsnep: Fix tsnep_request_irq() format-overflow warning
| * 70997012d8 ACPI: EC: Add quirk for HP 250 G7 Notebook PC
| * 87624b1f9b Bluetooth: Fix double free in hci_conn_cleanup
| * a556f2ef55 Bluetooth: btusb: Add date->evt_skb is NULL check
| * 0a40c609e2 bpf: Ensure proper register state printing for cond jumps
| * 8093dd759e vsock: read from socket's error queue
| * 459970363e wifi: ath10k: Don't touch the CE interrupt registers after power up
| * 1c6a6c926a net: annotate data-races around sk->sk_dst_pending_confirm
| * e7960d2a09 net: annotate data-races around sk->sk_tx_queue_mapping
| * 46537b4597 wifi: ath10k: fix clang-specific fortify warning
| * de979982eb wifi: ath9k: fix clang-specific fortify warnings
| * aa42a7cb92 bpf: Detect IP == ksym.end as part of BPF program
| * 57e44ff9c2 atl1c: Work around the DMA RX overflow issue
| * 2be24c47ac wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
| * 9c2e4a81d3 wifi: mac80211_hwsim: fix clang-specific fortify warning
| * d0fc4cb9d2 wifi: plfxlc: fix clang-specific fortify warning
| * b5046b2532 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
| * 2652d199dd workqueue: Provide one lock class key per work_on_cpu() callsite
| * 3410b70235 cpu/hotplug: Don't offline the last non-isolated CPU
| * b7441453ff smp,csd: Throw an error if a CSD lock is stuck for too long
| * 6680d55aba clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
| * ff8370a0d8 clocksource/drivers/timer-imx-gpt: Fix potential memory leak
| * 9f4c391dc2 selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
| * e9a27fdce5 srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
| * 9ce4e87a8e perf/core: Bail out early if the request AUX area is out of bound
| * 784d01f9bb lib/generic-radix-tree.c: Don't overflow in peek()
| * c56df79d68 locking/ww_mutex/test: Fix potential workqueue corruption
* | 0c2e40b9a3 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | 3e0f75c1a4 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | 0dfb0f3c97 Revert "inet: shrink struct flowi_common"
* | 937b554499 Revert "mfd: core: Un-constify mfd_cell.of_reg"
* | c42877e34f Revert "arm64/arm: xen: enlighten: Fix KPTI checks"
* | 55d4929d66 Revert "virtio/vsock: replace virtio_vsock_pkt with sk_buff"
* | 5418948a0a Revert "vsock/virtio: remove socket from connected/bound list on shutdown"
* | 98f663d79a Revert "virtio/vsock: don't use skbuff state to account credit"
* | 497503c6ec Revert "virtio/vsock: remove redundant 'skb_pull()' call"
* | 5b9223a56f Revert "virtio/vsock: don't drop skbuff on copy failure"
* | ec573670da Revert "virtio/vsock: fix leaks due to missing skb owner"
* | e8ad0104af Revert "virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()"
* | db612631b7 Revert "virtio/vsock: fix header length on skb merging"
* | 7ccdce2dc4 Revert "vsock/loopback: use only sk_buff_head.lock to protect the packet queue"
* | 2b3ea8bdef Merge 6.1.63 into android14-6.1-lts
|\|
| * 69e434a1cb Linux 6.1.63
| * 830c11c9c0 virtio/vsock: fix header length on skb merging
| * cd12535b97 virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()
| * a6650e78c4 virtio/vsock: fix leaks due to missing skb owner
| * bb1c9a5907 vsock/loopback: use only sk_buff_head.lock to protect the packet queue
| * 1e5f00e9db virtio/vsock: don't drop skbuff on copy failure
| * 883a3db221 virtio/vsock: remove redundant 'skb_pull()' call
| * 5852a2b573 virtio/vsock: don't use skbuff state to account credit
| * 25bc87768c wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush()
| * fc3a19543e btrfs: use u64 for buffer sizes in the tree search ioctls
| * c606c43ab6 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
| * acca43d813 x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
| * 129debbb41 io_uring/net: ensure socket is marked connected on connect retry
| * b80b85f494 tracing/kprobes: Fix the order of argument descriptions
| * 28e7153418 fbdev: fsl-diu-fb: mark wr_reg_wa() static
| * 7bc7b82fb2 fbdev: imsttfb: fix a resource leak in probe
| * 9858458282 fbdev: imsttfb: Fix error path of imsttfb_probe()
| * 6d53668c43 spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
| * b4843bf39d ASoC: dapm: fix clock get name
| * f5350c6f78 ASoC: hdmi-codec: register hpd callback on component probe
| * acc36089bc ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
| * 3bbf06efb8 drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
| * 3df98bd319 RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs
| * 587e6308d6 netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
| * 8fa280d1a9 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
| * d85670128f netfilter: xt_recent: fix (increase) ipv6 literal buffer length
| * 7ee2070589 i2c: iproc: handle invalid slave state
| * b5974b0c89 r8169: respect userspace disabling IFF_MULTICAST
| * 1fecefb092 vsock/virtio: remove socket from connected/bound list on shutdown
| * baddcc2c71 virtio/vsock: replace virtio_vsock_pkt with sk_buff
| * 46c541fa66 blk-core: use pr_warn_ratelimited() in bio_check_ro()
| * 4e9b3ec84d nbd: fix uaf in nbd_open
| * b0310063d4 tg3: power down device only on SYSTEM_POWER_OFF
| * 2dbafb0081 nvme: fix error-handling for io_uring nvme-passthrough
| * f4277cb562 net/smc: put sk reference if close work was canceled
| * 2d563aa752 net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
| * 9d976cd3e3 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
| * 4a12fb7d1a octeontx2-pf: Free pending and dropped SQEs
| * a1e8e68204 octeontx2-pf: qos send queues management
| * 479d344a92 octeontx2-pf: Rename tot_tx_queues to non_qos_queues
| * f9c2807e2a selftests: pmtu.sh: fix result checking
| * 490dfbf651 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
| * 0b8ffe3cb0 Fix termination state for idr_for_each_entry_ul()
| * 7f4a2c2967 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
| * db68ac51fe dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
| * 414d36c117 dccp: Call security_inet_conn_request() after setting IPv4 addresses.
| * e129327d80 net: page_pool: add missing free_percpu when page_pool_init fail
| * a95acc2099 octeontx2-pf: Fix holes in error code
| * 00376cc743 octeontx2-pf: Fix error codes
| * 612c22e928 inet: shrink struct flowi_common
| * 89d92e4fc5 bpf: Check map->usercnt after timer->timer is assigned
| * 4c731e98fe tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
| * 6086258bd5 hsr: Prevent use after free in prp_create_tagged_frame()
| * f980e9a57d llc: verify mac len before reading mac header
| * 8803da01fe watchdog: ixp4xx: Make sure restart always works
| * 7082b1fb53 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
| * f8225c3c65 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
| * 679d2ab67e pwm: sti: Reduce number of allocations and drop usage of chip_data
| * 713629765f regmap: prevent noinc writes from clobbering cache
| * 7ec7b7d3f2 media: cec: meson: always include meson sub-directory in Makefile
| * 103c66dcf5 media: dvb-usb-v2: af9035: fix missing unlock
| * 39c2ec94a8 media: cadence: csi2rx: Unregister v4l2 async notifier
| * 76d12296ee media: cedrus: Fix clock/reset sequence
| * a254ee1ddc media: vidtv: mux: Add check and kfree for kstrdup
| * 5c26aae372 media: vidtv: psi: Add check for kstrdup
| * e7c96f4605 media: s3c-camif: Avoid inappropriate kfree()
| * 1620531a3d media: mtk-jpegenc: Fix bug in JPEG encode quality selection
| * b75fb8a2ee media: amphion: handle firmware debug message
| * 20568d06f6 media: bttv: fix use after free error due to btv->timeout timer
| * 825a7a6a3a media: ov5640: Fix a memory leak when ov5640_probe fails
| * ba305517a1 media: i2c: max9286: Fix some redundant of_node_put() calls
| * a7a8c49dc6 media: ov5640: fix vblank unchange issue when work at dvp mode
| * 9b1c0aca7f media: ov5640: Drop dead code using frame_interval
| * 6380621de3 media: verisilicon: Do not enable G2 postproc downscale if source is narrower than destination
| * 64f55cebb4 media: hantro: Check whether reset op is defined before use
| * f258fd94ab pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
| * 7c9947693b pcmcia: ds: fix refcount leak in pcmcia_device_add()
| * fbdf451e76 pcmcia: cs: fix possible hung task and memory leak pccardd()
| * f9e17bce0a rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
| * b4dda701d0 virt: sevguest: Fix passing a stack buffer as a scatterlist target
| * d889b7bc12 x86/sev: Change snp_guest_issue_request()'s fw_err argument
| * a5b03f56d3 crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALL
| * 7c7371b41a cxl/mem: Fix shutdown order
| * 174ae0a3b8 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
| * b9793c9c03 9p/net: fix possible memory leak in p9_check_errors()
| * 8b184ebff6 perf hist: Add missing puts to hist__account_cycles
| * 8e1f41a853 perf machine: Avoid out of bounds LBR memory read
| * 209f4a67d8 usb: host: xhci-plat: fix possible kernel oops while resuming
| * 071666451e xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
| * abdd1f47ef powerpc/pseries: fix potential memory leak in init_cpu_associativity()
| * 257517c00b powerpc/imc-pmu: Use the correct spinlock initializer.
| * 8409ee076d powerpc/vas: Limit open window failure messages in log bufffer
| * 0f8dabe79a powerpc/xive: Fix endian conversion size
| * b4bc030af7 powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
| * a204f9f3cb modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
| * 339148f786 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
| * 9d4f7441cd powerpc: Only define __parse_fpscr() when required
| * 4a43be67d6 interconnect: qcom: sm8350: Set ACV enable_mask
| * bfc019c713 interconnect: qcom: sm8350: Retire DEFINE_QBCM
| * ccbd1281a2 interconnect: qcom: sm8150: Set ACV enable_mask
| * d7e501045e interconnect: qcom: sm8150: Retire DEFINE_QBCM
| * 386a4d6f83 interconnect: qcom: sm8150: Drop IP0 interconnects
| * 8979ed70da interconnect: move ignore_list out of of_count_icc_providers()
| * bf7039825f interconnect: qcom: sm6350: Set ACV enable_mask
| * d39e3249c0 interconnect: qcom: sm6350: Retire DEFINE_QBCM
| * 639ee7fbc0 interconnect: qcom: sdm845: Set ACV enable_mask
| * 8085888045 interconnect: qcom: sdm845: Retire DEFINE_QBCM
| * e82d634fdb interconnect: qcom: sc8280xp: Set ACV enable_mask
| * 50e4e1ad35 interconnect: qcom: sc8180x: Set ACV enable_mask
| * 673ced6e01 interconnect: qcom: sc7280: Set ACV enable_mask
| * 8fe916ff8a interconnect: qcom: sc7180: Set ACV enable_mask
| * 3f884277f9 interconnect: qcom: sc7180: Retire DEFINE_QBCM
| * 695b3cfe1c f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
| * 7b863b8bcd dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
| * 2ed67a40dd USB: usbip: fix stub_dev hub disconnect
| * dae6fd9747 tools: iio: iio_generic_buffer ensure alignment
| * 06a1286345 misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
| * fc968818d5 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
| * 03984e24db usb: chipidea: Simplify Tegra DMA alignment code
| * c9095c743b usb: chipidea: Fix DMA overwrite for Tegra
| * 6b21a22728 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
| * 0806a6afe1 dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
| * 1e03a26959 perf record: Fix BTF type checks in the off-cpu profiling
| * 1c4eb1bc39 pinctrl: renesas: rzg2l: Make reverse order of enable() for disable()
| * cd7d804f52 livepatch: Fix missing newline character in klp_resolve_symbols()
| * f1cda3c5dd tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
| * fb4251dab3 f2fs: compress: fix to avoid redundant compress extension
| * 9375ea7f26 f2fs: compress: fix to avoid use-after-free on dic
| * 071bbc5a66 f2fs: compress: fix deadloop in f2fs_write_cache_pages()
| * ec67c83dd5 f2fs: convert f2fs_write_cache_pages() to use filemap_get_folios_tag()
| * 599befdd79 filemap: add filemap_get_folios_tag()
| * 855516cb6e perf kwork: Set ordered_events to true in 'struct perf_tool'
| * 231665cc6f perf kwork: Add the supported subcommands to the document
| * 16e02976cf perf kwork: Fix incorrect and missing free atom in work_push_atom()
| * e27c2668ac iio: frequency: adf4350: Use device managed functions and fix power down issue.
| * 550711e007 perf stat: Fix aggr mode initialization
| * 6cb0495d36 apparmor: fix invalid reference on profile->disconnected
| * cef064fdde apparmor: test: make static symbols visible during kunit testing
| * cfce1e26b4 kunit: add macro to allow conditionally exposing static symbols to tests
| * 1d47d1abb4 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
| * 4198a7a6ef leds: pwm: Don't disable the PWM when the LED should be off
| * 63cdeb20ee leds: turris-omnia: Do not use SMBUS calls
| * 7d0e60e4ff leds: turris-omnia: Drop unnecessary mutex locking
| * ce58f479b5 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
| * 26b534a3f0 dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC
| * 90155dfd99 dt-bindings: mfd: mt6397: Add binding for MT6357
| * 9ac0c05365 mfd: dln2: Fix double put in dln2_probe
| * ee6b91411d mfd: core: Ensure disabled devices are skipped without aborting
| * f1ed6c4e59 mfd: core: Un-constify mfd_cell.of_reg
| * 437f033e30 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF
| * ad52f21e3d ASoC: ams-delta.c: use component after check
| * 3dd998f78c crypto: qat - fix deadlock in backlog processing
| * c7c26d0ef5 padata: Fix refcnt handling in padata_free_shell()
| * 980a7fd5e5 ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
| * 9ee89579e6 HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
| * cf47abd7d8 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
| * 8eb1f933cc HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
| * 7f2ed86dde HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
| * b1736354a7 Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
| * 693baca82d sh: bios: Revive earlyprintk support
| * 35ac8075ae hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
| * 8a716eb7f8 HID: cp2112: Make irq_chip immutable
| * cce6785b84 RDMA/hfi1: Workaround truncation compilation error
| * 7a22e6fa51 scsi: ufs: core: Leave space for '\0' in utf8 desc string
| * f9f4a6bdf9 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
| * 002bd3c874 ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.
| * fe6efb2d18 RDMA/hns: The UD mode can only be configured with DCQCN
| * 1a6806f27e RDMA/hns: Add check for SL
| * d3a8efb9de RDMA/hns: Fix signed-unsigned mixed comparisons
| * 1000adbac3 RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
| * 7c09504c37 RDMA/hns: Fix printing level of asynchronous events
| * 3d559a5d5d IB/mlx5: Fix rdma counter binding for RAW QP
| * c0f4144d0d ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
| * 4f13eab0e8 ext4: move 'ix' sanity check to corrent position
| * 242ba2e20b ARM: 9321/1: memset: cast the constant byte to unsigned char
| * 0a7f9238f3 crypto: hisilicon/qm - fix PF queue parameter issue
| * 07eb93dbe1 crypto: hisilicon/qm - split a debugfs.c from qm
| * 2cec6774fd crypto: hisilicon/qm - modify the process of regs dfx
| * 56785a3a08 crypto: hisilicon/qm - delete redundant null assignment operations
| * bafb12b629 hid: cp2112: Fix duplicate workqueue initialization
| * aa804deca1 PCI: vmd: Correct PCI Header Type Register's multi-function check
| * ed7f07ef84 crypto: qat - increase size of buffers
| * 17c890a887 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
| * 9857f811e5 crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
| * f23859748e nd_btt: Make BTT lanes preemptible
| * 93aa88170c libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
| * 4795de8c04 scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
| * dc44e3fdb0 crypto: qat - fix unregistration of crypto algorithms
| * 5e989aeb40 crypto: qat - extend buffer list interface
| * 443bde2a4c crypto: qat - generalize crypto request buffers
| * 380f0a1de2 crypto: qat - change bufferlist logic interface
| * 2ad909a408 crypto: qat - rename bufferlist functions
| * 61c57bb986 crypto: qat - relocate bufferlist logic
| * e3294cccd8 crypto: qat - ignore subsequent state up commands
| * bb55130d02 RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
| * e39b84448f hwrng: geode - fix accessing registers
| * 3c5c7f926a hwrng: bcm2835 - Fix hwrng throughput regression
| * 0c824b77ad crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
| * 12d2087a7d KEYS: Include linux/errno.h in linux/verification.h
| * 44dcf6d33e ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
| * 2d81896fe1 ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
| * 0642126913 ASoC: cs35l41: Undo runtime PM changes at driver exit time
| * ab3aa429c8 ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
| * f20c4b0c01 module/decompress: use vmalloc() for gzip decompression workspace
| * c8a2355833 selftests/resctrl: Ensure the benchmark commands fits to its array
| * 02c167c93f selftests/pidfd: Fix ksft print formats
| * 6b7feafde7 arm64: tegra: Use correct interrupts for Tegra234 TKE
| * 87367bc3d9 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
| * fef0af2250 arm64: dts: imx8mm: Add sound-dai-cells to micfil node
| * fafaf5a2f3 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
| * 37658e5189 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
| * db6db0af76 ARM: dts: am3517-evm: Fix LED3/4 pinmux
| * d43c3e4974 firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
| * 5429ecbb1b firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
| * e0cf8e811f arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz
| * eccde2dbd9 firmware: ti_sci: Mark driver as non removable
| * 7efb91501b kunit: Fix missed memory release in kunit_free_suite_set()
| * f0ef883cae soc: qcom: llcc: Handle a second device without data corruption
| * 4653225f41 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
| * d97268ce08 arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
| * 7867e1d926 ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
| * 945f2e4f13 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
| * 89465723e0 arm64: dts: qcom: sm8350: fix pinctrl for UART18
| * 1a404795c4 arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
| * cd952d43c0 arm64: dts: qcom: sc7280: Add missing LMH interrupts
| * 03a0a34f04 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
| * 4109f7d1a8 arm64: dts: qcom: msm8916: Fix iommu local address range
| * 389a4aa5e3 arm64: dts: qcom: sc7280: link usb3_phy_wrapper_gcc_usb30_pipe_clk
| * 426d3c7c72 arm64: dts: qcom: sdm845: cheza doesn't support LMh node
| * e65c1aa21b ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
| * b660420f44 perf: hisi: Fix use-after-free when register pmu fails
| * 104fa6426a drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
| * c6e00bc30e perf/arm-cmn: Fix DTC domain detection
| * 28fa550a49 perf/arm-cmn: Revamp model detection
| * 4589403a34 drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
| * 1e88414e64 drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
| * 025d2ac470 clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
| * 96c3a18304 drm/msm/dsi: free TX buffer in unbind
| * 8b072ab6c4 drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
| * 5671bed3c0 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
| * 934747e2f8 xenbus: fix error exit in xenbus_init()
| * ace6403e78 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
| * 2836c72e8d arm64/arm: xen: enlighten: Fix KPTI checks
| * 008b2a93c5 drm/bridge: lt9611uxc: fix the race in the error path
| * af19ebfc6a gpu: host1x: Correct allocated size for contexts
| * 9da0193454 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
| * 8045808be1 drm/mediatek: Fix iommu fault during crtc enabling
| * 5d30fedc20 drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
| * 32b15fef33 io_uring/kbuf: Allow the full buffer id space for provided buffers
| * 60db638be5 io_uring/kbuf: Fix check of BID wrapping in provided buffers
| * 03e334565d drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
| * a99afba394 drm/amd/display: Refactor dm_get_plane_scale helper
| * 8960662027 drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
| * 9eae81af92 drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
| * 78e998884d drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
| * 9dbfdf5dcc drm/bridge: tc358768: Clean up clock period code
| * 3ed322a852 drm/bridge: tc358768: Rename dsibclk to hsbyteclk
| * 14d546d067 drm/bridge: tc358768: Use dev for dbg prints, not priv->dev
| * 4a1c4eff65 drm/bridge: tc358768: Print logical values, not raw register values
| * fb82b3b4ac drm/bridge: tc358768: Use struct videomode
| * e87a3c24ce drm/bridge: tc358768: remove unused variable
| * 1942dc48f4 drm/bridge: tc358768: Fix bit updates
| * 2fab90bcde drm/bridge: tc358768: Fix use of uninitialized variable
| * 3c0b681ba4 drm/bridge: lt8912b: Add missing drm_bridge_attach call
| * 5a521f6b68 drm/bridge: lt8912b: Manually disable HPD only if it was enabled
| * 7bf0cb8f40 drm/bridge: lt8912b: Fix crash on bridge detach
| * 2cfa9dc32c drm/bridge: lt8912b: Fix bridge_detach
| * 45350e5471 drm/bridge: lt8912b: Add hot plug detection
| * 2c80c4f0d2 drm: bridge: it66121: Fix invalid connector dereference
| * 341e79f8ae drm/radeon: possible buffer overflow
| * 2d68194e1a drm/rockchip: vop2: Add missing call to crtc reset helper
| * bc05621888 drm/rockchip: vop2: Don't crash for invalid duplicate_state
| * b248ccaabf drm/rockchip: vop: Fix call to crtc reset helper
| * ffebe76e50 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
| * 4d37df40b1 hte: tegra: Fix missing error code in tegra_hte_test_probe()
| * a671a41d60 hwmon: (sch5627) Disallow write access if virtual registers are locked
| * 4a30312982 hwmon: (sch5627) Use bit macros when accessing the control register
| * 3385632de8 Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
| * 581255403a Revert "hwmon: (sch56xx-common) Add DMI override table"
| * dd06f92fd8 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
| * 33de53a270 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
| * 44a96796d2 platform/x86: wmi: Fix opening of char device
| * ae28868bba platform/x86: wmi: Fix probe failure when failing to register WMI devices
| * 7b8d88df17 clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
| * 2a18dd6532 clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
| * a836efc21e clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
| * a540ca0aea clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
| * 357df1c2f6 clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
| * df1c4a9efa clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
| * dd1f30d68f clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
| * 7d022726e3 clk: npcm7xx: Fix incorrect kfree
| * cc1c2772c1 clk: ti: fix double free in of_ti_divider_clk_setup()
| * e4df931fb4 clk: ti: change ti_clk_register[_omap_hw]() API
| * cb6c38995f clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
| * 0a37614109 spi: nxp-fspi: use the correct ioremap function
| * cdaa544dc4 clk: linux/clk-provider.h: fix kernel-doc warnings and typos
| * a0b3b2cc2d clk: renesas: rzg2l: Fix computation formula
| * e1809bb19a clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
| * e6070f0cda clk: renesas: rzg2l: Trust value returned by hardware
| * c823ffba5d clk: renesas: rzg2l: Lock around writes to mux register
| * 77e2338802 clk: renesas: rzg2l: Wait for status bit of SD mux before continuing
| * f26a440d0e clk: renesas: rcar-gen3: Extend SDnH divider table
| * d72c586809 clk: imx: imx8qxp: Fix elcdif_pll clock
| * 2c2f1fb3f8 clk: imx: imx8mq: correct error handling path
| * 0e2b088240 clk: imx: Select MXC_CLK for CLK_IMX8QXP
| * 5b8d3ea093 regulator: mt6358: Fail probe on unknown chip ID
| * 8d20252d96 clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
| * a588f440c4 clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
| * d2ffd85ee3 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
| * 06a7365e2b clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
| * 101c2d257c clk: qcom: gcc-msm8996: Remove RPM bus clocks
| * 5c25f89c00 spi: tegra: Fix missing IRQ check in tegra_slink_probe()
| * 51d4d3cd18 regmap: debugfs: Fix a erroneous check after snprintf()
| * 30e77e3ee9 ipvlan: properly track tx_errors
| * 4836b94e5e net: add DEV_STATS_READ() helper
| * fae5cc598e ipv6: avoid atomic fragment on GSO packets
| * 35aff53626 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
| * 1ca7bc1b08 bpf: Fix unnecessary -EBUSY from htab_lock_bucket
| * 4bb26ec7ed Bluetooth: hci_sync: Fix Opcode prints in bt_dev_dbg/err
| * 6f505a013c wifi: iwlwifi: empty overflow queue during flush
| * e2be4ab86a wifi: iwlwifi: pcie: synchronize IRQs before NAPI
| * c56aed37b6 wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
| * 6d88d4b1bb tcp: fix cookie_init_timestamp() overflows
| * 72c23b3071 chtls: fix tp->rcv_tstamp initialization
| * 2acedc5372 net: skb_find_text: Ignore patterns extending past 'to'
| * d860416236 selftests: netfilter: test for sctp collision processing in nf_conntrack
| * aa0a050c65 r8169: fix rare issue with broken rx after link-down on RTL8125
| * 4789d93f94 r8169: use tp_to_dev instead of open code
| * 77ff34a56b thermal: core: prevent potential string overflow
| * 9709c6d759 netfilter: nf_tables: Drop pointless memset when dumping rules
| * 100a75d56b wifi: wfx: fix case where rates are out of order
| * f64a559f2d PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
| * 0d30931f1f can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
| * 76378a8bae can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
| * 614d615d49 can: dev: can_restart(): don't crash kernel if carrier is OK
| * d5342dafca wifi: ath11k: fix Tx power value during active CAC
| * 8a777b28d7 ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100
| * 396ec51b13 ACPI: property: Allow _DSD buffer data only for byte accessors
| * 75de6a6641 wifi: rtlwifi: fix EDCA limit set by BT coexistence
| * 14a7e73b28 tcp_metrics: do not create an entry from tcp_init_metrics()
| * 52ec0669f4 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
| * e850efcf2b tcp_metrics: add missing barriers on delete
| * 586ce1064f wifi: ath: dfs_pattern_detector: Fix a memory initialization issue
| * ebca9ae926 wifi: mt76: mt7915: fix beamforming availability check
| * 2b12aebbd3 wifi: mt76: mt7603: improve stuck beacon handling
| * c2fd48179c wifi: mt76: mt7603: improve watchdog reset reliablity
| * e3c46ce78d wifi: mt76: mt7603: rework/fix rx pse hang check
| * e01b3400d6 wifi: ath11k: fix boot failure with one MSI vector
| * 26e301a70d wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
| * 365fe12f45 net: ethernet: mtk_wed: fix EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
| * d97463c1f3 net: spider_net: Use size_add() in call to struct_size()
| * 254187a64a tipc: Use size_add() in calls to struct_size()
| * 065cb7ae3f tls: Use size_add() in call to struct_size()
| * 8ae1873864 tls: Only use data field in crypto completion function
| * 65e65a8b2d mlxsw: Use size_mul() in call to struct_size()
| * a764c22bbc gve: Use size_add() in call to struct_size()
| * 5dd1344de3 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
| * a08ff0544b udp: add missing WRITE_ONCE() around up->encap_rcv
| * ec18d7507f selftests/bpf: Correct map_fd to data_fd in tailcalls
| * 3e1d754b5d iavf: Fix promiscuous mode configuration flow messages
| * 42b452960a i40e: fix potential memory leaks in i40e_remove()
| * 36f0004fe5 wifi: iwlwifi: honor the enable_ini value
| * 9c6269f5d1 wifi: mac80211: fix # of MSDU in A-MSDU calculation
| * cee323e56c wifi: mac80211: move sched-scan stop work to wiphy work
| * 0568d1e889 wifi: mac80211: move offchannel works to wiphy work
| * ef41361519 wifi: mac80211: move scan work to wiphy work
| * 09915293c3 wifi: mac80211: move radar detect work to wiphy work
| * 697fb94e3e wifi: cfg80211: add flush functions for wiphy work
| * 36aa50d578 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
| * 4f834ad034 string: Adjust strtomem() logic to allow for smaller sources
| * 63f637309b pstore/platform: Add check for kstrdup
| * 0a1dab4a8e drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
| * dbb5581603 x86/boot: Fix incorrect startup_gdt_descr.size
| * 21c5c3f95f x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
| * 7807c269cb ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window
| * bf178c8b9c x86/numa: Introduce numa_fill_memblks()
| * dce53a017c futex: Don't include process MM in futex key on no-MMU
| * 3c1a20c122 x86/srso: Fix SBPB enablement for (possible) future fixed HW
| * 2351c03529 writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
| * bc8e02850a vfs: fix readahead(2) on block devices
| * 8620933c3c sched: Fix stop_one_cpu_nowait() vs hotplug
| * 21f99a5adb objtool: Propagate early errors
| * df870d47d2 sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
| * d77530a1d4 sched/uclamp: Set max_spare_cap_cpu even if max_spare_cap is 0
| * b783919771 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
| * 42bed989f0 sched/fair: Fix cfs_rq_is_decayed() on !SMP
| * 71e3e7830b hwmon: (nct6775) Fix incorrect variable reuse in fan_div calculation
* | 0d9fb52165 Merge 6.1.62 into android14-6.1-lts
|\|
| * fb2635ac69 Linux 6.1.62
| * 585da49ad6 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
| * c1c15b09f4 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
| * 5c59879031 misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
| * 6bebd303ad tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
| * 3017a17ad6 tty: 8250: Add support for Intashield IX cards
| * c3444894e8 tty: 8250: Add support for additional Brainboxes PX cards
| * 31ebf431ed tty: 8250: Fix up PX-803/PX-857
| * bfe9bde05f tty: 8250: Fix port count of PX-257
| * b75ee2d9d7 tty: 8250: Add support for Intashield IS-100
| * cdd260b220 tty: 8250: Add support for Brainboxes UP cards
| * 8af676c698 tty: 8250: Add support for additional Brainboxes UC cards
| * abcb12f319 tty: 8250: Remove UC-257 and UC-431
| * df6cfab66f tty: n_gsm: fix race condition in status line change on dead connections
| * 23107989be usb: raw-gadget: properly handle interrupted requests
| * e7a802447c usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
| * 6f17be2700 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
| * b25a2f2470 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
| * 977ae4dbe2 ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices
| * 9411dbe2c6 mmap: fix error paths with dup_anon_vma()
| * 21ca008c53 mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer
| * 7ab62e3415 x86: KVM: SVM: always update the x2avic msr interception
| * e833591265 perf evlist: Avoid frequency mode for the dummy event
| * b3eed11110 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
| * 803cc77a3a ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
| * 9eab5008db io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
| * ed0ba37e7b powerpc/mm: Fix boot crash with FLATMEM
| * 31ae7876da r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
| * f90656fbf6 r8152: Check for unplug in rtl_phy_patch_request()
| * 98567c9d84 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
| * ff86d69b2e drm/amdgpu: Reserve fences for VM update
| * 8e4a77ba25 platform/mellanox: mlxbf-tmfifo: Fix a warning message
| * 0f2840dabf netfilter: nf_tables: audit log object reset once per table
| * ec80ad4585 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
| * afe80b58ee LoongArch: Export symbol invalid_pud_table for modules building
| * 9f9b2ec53a gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
| * cafa191b27 drm/amdgpu: Unset context priority is now invalid
| * 0eb733b53e scsi: mpt3sas: Fix in error path
| * 4e000daf39 fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
| * 50736464a7 fbdev: omapfb: fix some error codes
| * 6a87b333ba drm/ttm: Reorder sys manager cleanup step
| * 9951b2309e ASoC: codecs: tas2780: Fix log of failed reset via I2C.
| * b7ed4aa0c2 ASoC: rt5650: fix the wrong result of key button
| * 8e1a6594d7 efi: fix memory leak in krealloc failure handling
| * 678edd2dfd netfilter: nfnetlink_log: silence bogus compiler warning
| * c6f6a50527 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
| * 6a7a2d5a08 fs/ntfs3: Avoid possible memory leak
| * 84aabd18c8 fs/ntfs3: Fix directory element type detection
| * 3bff4bb7f9 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
| * c8cbae3cbb fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
| * 6fe32f79ab fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
| * 92f9c7c7dd fs/ntfs3: Write immediately updated ntfs state
| * fc91bb3e1b fs/ntfs3: Add ckeck in ni_update_parent()
| * 768e857ac3 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
| * dd6d75eb00 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
| * c64c237275 powerpc/85xx: Fix math emulation exception
| * 96c7aac8d8 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
| * 9ef4697548 irqchip/stm32-exti: add missing DT IRQ flag translation
| * 7378415da0 irqchip/riscv-intc: Mark all INTC nodes as initialized
| * d3204c0fdd net: sched: cls_u32: Fix allocation size in u32_init()
| * f15dbcda2c ASoC: tlv320adc3xxx: BUG: Correct micbias setting
| * 30ed998604 coresight: tmc-etr: Disable warnings for allocation failures
| * 6618e7a740 ASoC: simple-card: fixup asoc_simple_probe() error handling
* | d3f3412122 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | a2eefda9e3 Revert "kasan: print the original fault addr when access invalid shadow"
* | 2cd386b08b Merge 6.1.61 into android14-6.1-lts
|\|
| * 4a61839152 Linux 6.1.61
| * 5926b0886d objtool/x86: add missing embedded_insn check
| * 2afa9f7eb1 ext4: avoid overlapping preallocations due to overflow
| * fcefddf3a1 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
| * 495c4c58d6 ext4: add two helper functions extent_logical_end() and pa_logical_end()
| * d022e4ea9c platform/x86: Add s2idle quirk for more Lenovo laptops
| * 48ebeab0ed clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
| * 65e5a9890e sparc32: fix a braino in fault handling in csum_and_copy_..._user()
| * 8b8cde8ebb perf/core: Fix potential NULL deref
| * 5e232f2205 x86/cpu: Add model number for Intel Arrow Lake mobile processor
| * 63cc3d5d34 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
| * 37495846b1 nvmem: imx: correct nregs for i.MX6UL
| * 116671d259 nvmem: imx: correct nregs for i.MX6SLL
| * b90b8633ef nvmem: imx: correct nregs for i.MX6ULL
| * cc87c73eac misc: fastrpc: Unmap only if buffer is unmapped from DSP
| * 38c5faf2a9 misc: fastrpc: Clean buffers on remote invocation failures
| * 7737e9384e misc: fastrpc: Free DMA handles for RPC calls with no arguments
| * 1e8851b513 misc: fastrpc: Reset metadata buffer to avoid incorrect free
| * 5a35fc1c00 tracing/kprobes: Fix the description of variable length arguments
| * 91b95e3b4a i2c: aspeed: Fix i2c bus hang in slave read
| * 11602cadc9 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
| * ff0312a156 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
| * f9a7b3b33c i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
| * 48a365ae4f i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
| * 6ec84059b5 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
| * e26fd381bf iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
| * cb01837e0f iio: exynos-adc: request second interupt only when touchscreen mode is used
| * 7a641bc52f iio: afe: rescale: Accept only offset channels
| * 9236d2ea64 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
| * 1684909df3 kasan: print the original fault addr when access invalid shadow
| * 6a5b845b57 blk-throttle: check for overflow in calculate_bytes_allowed
| * bb20a245df scsi: sd: Introduce manage_shutdown device flag
| * 93fa5786f9 iavf: in iavf_down, disable queues when removing the driver
| * f7f660df65 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
| * cb115b6688 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
| * 144f93c622 gtp: fix fragmentation needed check with gso
| * 039a050740 gtp: uapi: fix GTPA_MAX
| * 664a358b79 tcp: fix wrong RTO timeout when received SACK reneging
| * 5b100bb044 r8152: Release firmware if we have an error in probe
| * ecb51a434e r8152: Cancel hw_phy_work if we have an error in probe
| * 87376143df r8152: Run the unload routine if we have errors during probe
| * ee73f937c5 r8152: Increase USB control msg timeout to 5000ms as per spec
| * 9eb275fec6 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
| * 7c799bc322 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
| * 55b01c5a84 net: ethernet: adi: adin1110: Fix uninitialized variable
| * 9d2b588fae igc: Fix ambiguity in the ethtool advertising
| * fa28949c72 neighbour: fix various data-races
| * c166dd51b6 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
| * 9a194064fa treewide: Spelling fix in comment
| * b1ad0a147d i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
| * d8ac13acfb iavf: initialize waitqueues before starting watchdog_task
| * 66e879507b r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
| * d10140916e r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
| * 4138a02c89 r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
| * 29f365f4c3 clk: ti: Fix missing omap5 mcbsp functional clock and aliases
| * 2ba943c6d9 clk: ti: Fix missing omap4 mcbsp functional clock and aliases
| * 8d8346ed39 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
| * df4169fc9b ARM: OMAP: timer32K: fix all kernel-doc warnings
| * 6c668e2f33 drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
| * 024251bab2 drm/amd: Disable ASPM for VI w/ all Intel systems
| * eded5f5261 drm/i915/pmu: Check if pmu is closed before stopping event
| * 4f46c177c0 nfsd: lock_rename() needs both directories to live on the same fs
| * 3262ff5826 maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
| * b1b2750de1 hugetlbfs: extend hugetlb_vma_lock to private VMAs
| * c9b066f692 mm/migrate: fix do_pages_move for compat pointers
| * a6fbf025e3 mm/page_alloc: correct start page when guard page debug is enabled
| * 0aa7b24c06 hugetlbfs: clear resv_map pointer if mmap fails
| * 38d0d1c442 mm: fix vm_brk_flags() to not bail out while holding lock
| * 38930ec767 arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
| * 9d72254c2b arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
| * 08e6b680f2 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
| * 1f14ded0f1 vsock/virtio: initialize the_virtio_vsock before using VQs
| * 534487cc3e virtio_pci: fix the common cfg map size
| * 86f467d358 virtio-crypto: handle config changed by work queue
| * a9d4a1ea67 virtio-mmio: fix memory leak of vm_dev
| * 19b30a8790 virtio_balloon: Fix endless deflation and inflation on arm64
| * bede8b4b51 mcb-lpc: Reallocate memory region to avoid memory overlapping
| * c9efc3efe4 mcb: Return actual parsed size when reading chameleon table
| * e58ab834e4 pinctrl: qcom: lpass-lpi: fix concurrent register updates
| * 018b11ecba ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
| * 508c3353fe ASoC: codecs: wcd938x: fix regulator leaks on probe errors
| * 877fc75d2c ASoC: codecs: wcd938x: Simplify with dev_err_probe
| * 629ba75200 ASoC: codecs: wcd938x: Convert to platform remove callback returning void
| * 1fae817d3e mmc: core: Fix error propagation for some ioctl commands
| * 719c01f281 mmc: block: ioctl: do write error check for spi
| * 651e66d20b mmc: core: Align to common busy polling behaviour for mmc ioctls
| * d3466ce4f4 KVM: x86/pmu: Truncate counter value to allowed width on write
* | a5623b3d30 ANDROID: GKI: add system_unbound_wq to some symbol lists.
* | 08d790dfee Revert "audit,io_uring: io_uring openat triggers audit reference count underflow"
* | ddf96fa712 Revert "tcp: allow again tcp_disconnect() when threads are waiting"
* | a5f2364ea6 Revert "tcp_bpf: properly release resources on error paths"
* | 904cdc97d4 Revert "ipv4/fib: send notify when delete source address routes"
* | 17952d5aad Revert "Bluetooth: hci_core: Fix build warnings"
* | 29756f9286 Revert "xfrm: fix a data-race in xfrm_gen_index()"
* | 63eafbb6b3 Revert "perf: Disallow mis-matched inherited group reads"
* | 4933ddb051 ANDROID: fix up 6.1.60 merge of hid.h into android14-6.1-lts
* | 0a1364ec1f ANDROID: GKI: arm64: drop CONFIG_DEBUG_PREEMPT forced disable
* | 788e35fdea Merge 6.1.60 into android14-6.1-lts
|\|
| * 32c9cdbe38 Linux 6.1.60
| * 7f5bb254be selftests: mptcp: join: no RST when rm subflow/addr
| * 0e0123e0e5 selftests: mptcp: join: correctly check for no RST
| * 300447c572 mptcp: avoid sending RST when closing the initial subflow
| * c04f416730 Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
| * a429d65428 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
| * 46de539282 net: move altnames together with the netdevice
| * c1d531aa09 phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
| * 13a45130bb phy: mapphone-mdm6600: Fix runtime PM for remove
| * 7fcce3258b phy: mapphone-mdm6600: Fix runtime disable on probe
| * 4eac2cf444 gpio: vf610: mask the gpio irq in system suspend and support wakeup
| * 9b0f8a9dfd gpio: vf610: make irq_chip immutable
| * 1f38ead73f tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
| * e9b4b72567 kallsyms: Add helper kallsyms_on_each_match_symbol()
| * da359f699f kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[]
| * 3918cada8f serial: 8250: omap: convert to modern PM ops
| * 70a841eb4f serial: 8250: omap: Move uart_write() inside PM section
| * 6df4c9dee0 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device
| * 3d57f6ac64 ASoC: pxa: fix a memory leak in probe()
| * 14a1a7beb3 gpio: vf610: set value before the direction to avoid a glitch
| * 7ec224d980 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
| * baf191abec platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
| * 4186c79c13 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
| * 52d54f1d4e platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
| * 8a4b575d00 platform/surface: platform_profile: Propagate error if profile registration fails
| * fec769b9fd s390/cio: fix a memleak in css_alloc_subchannel
| * 7241c2627c selftests/ftrace: Add new test case which checks non unique symbol
| * 324c31b0e0 s390/pci: fix iommu bitmap allocation
| * f6952655a6 perf: Disallow mis-matched inherited group reads
| * 908c628005 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
| * acced163ab USB: serial: option: add entry for Sierra EM9191 with new firmware
| * 1dce40c9e6 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
| * 59aa39697f HID: input: map battery system charging
| * ea0e047309 KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
| * 3519cee444 nvme-rdma: do not try to stop unallocated queues
| * bec9cb90fe nvmet-auth: complete a request only after freeing the dhchap pointers
| * 0ec655ad65 nvme-pci: add BOGUS_NID for Intel 0a54 device
| * 2c0b40c310 nvme: sanitize metadata bounce buffer for reads
| * a54974b007 nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
| * 8d69b47443 ACPI: irq: Fix incorrect return value in acpi_register_gsi()
| * c462bf4ef8 NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
| * ab65424d61 pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
| * 730bbbbe16 pNFS: Fix a hang in nfs4_evict_inode()
| * fbd8b28fe4 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
| * c4b7b119c5 mmc: core: Capture correct oemid-bits for eMMC cards
| * 85664ad23f mmc: core: sdio: hold retuning if sdio in 1-bit mode
| * aaa476a7ad mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
| * 43f588b820 mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can suspend
| * 55c2428658 dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
| * 73915d26b4 mtd: physmap-core: Restore map_rom fallback
| * 578687563e mtd: spinand: micron: correct bitmask for ecc status
| * 8b2b755a1a mtd: rawnand: arasan: Ensure program page operations are successful
| * 58277212f5 mtd: rawnand: marvell: Ensure program page operations are successful
| * 250feed792 mtd: rawnand: pl353: Ensure program page operations are successful
| * 5845448613 mtd: rawnand: qcom: Unmap the right resource upon probe failure
| * a7f5558ec2 net/smc: fix smc clc failed issue when netdevice not in init_net
| * 2efcdbef13 tcp_bpf: properly release resources on error paths
| * c3e70048ac selftests: openvswitch: Add version check for pyroute2
| * a1a9e57037 Bluetooth: hci_event: Fix using memcmp when comparing keys
| * 758610516f ice: Remove redundant pci_enable_pcie_error_reporting()
| * ec9bc89a01 tcp: allow again tcp_disconnect() when threads are waiting
| * 9dc02f41d5 net/tls: split tls_rx_reader_lock
| * 76f96854aa net/mlx5e: Don't offload internal port if filter device is out device
| * 107ff0034b net/mlx5: Handle fw tracer change ownership event based on MTRC
| * 0aa1e83a20 net/mlx5: E-switch, register event handler before arming the event
| * c21bff1c99 xfrm6: fix inet6_dev refcount underflow problem
| * d91723f6ca net: xfrm: skip policies marked as dead while reinserting policies
| * df2cc87f2c fprobe: Fix to ensure the number of active retprobes is not zero
| * f177a579d2 fprobe: Add nr_maxactive to specify rethook_node pool size
| * 0806cb1e6c fprobe: Pass entry_data to handlers
| * bacf8c749a cpufreq: schedutil: Update next_freq when cpufreq_limits change
| * 62733bbae1 platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
| * 60dc7e39df HID: nintendo: reinitialize USB Pro Controller after resuming from suspend
| * ef8cdee81e HID: multitouch: Add required quirk for Synaptics 0xcd7e device
| * 2a2df4f74f drm/amd/pm: add unique_id for gc 11.0.3
| * 1869638a14 btrfs: error out when reallocating block for defrag using a stale transaction
| * f174c8d2c6 btrfs: error when COWing block from a root that is being deleted
| * c833f1e28d btrfs: error out when COWing block using a stale transaction
| * 9d99acb6a1 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
| * c3657e5fa7 drm: panel-orientation-quirks: Add quirk for One Mix 2S
| * ffbb01fe9a ipv4/fib: send notify when delete source address routes
| * 52080d6edc sky2: Make sure there is at least one frag_addr available
| * d63d39e7f9 regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
| * 2353f64762 wifi: cfg80211: avoid leaking stack data into trace
| * 2fd88f5632 wifi: mac80211: allow transmitting EAPOL frames with tainted key
| * 9285fea3a2 wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
| * dbbb6090c9 wifi: cfg80211: Fix 6GHz scan configuration
| * a55d53ad5c Bluetooth: hci_core: Fix build warnings
| * aad0760c26 Bluetooth: Avoid redundant authentication
| * 7045675fc9 Bluetooth: btusb: add shutdown function for QCA6174
| * 7d823a1071 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
| * f45752f1eb HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse
| * e045b6a921 wifi: iwlwifi: Ensure ack flag is properly cleared.
| * eb7ae9ed63 wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
| * b812b31696 tracing: relax trace_event_eval_update() execution with cond_resched()
| * 1c859abdd7 ata: libata-eh: Fix compilation warning in ata_eh_link_report()
| * e4ce5ce29a ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
| * 5075570a3e gpio: timberdale: Fix potential deadlock on &tgpio->lock
| * d0dab9dd32 overlayfs: set ctime when setting mtime and atime
| * 6133f63d4d i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
| * febcad3d32 btrfs: initialize start_slot in btrfs_log_prealloc_extents
| * 563853bf3b btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
| * 8a4e34fe1b btrfs: prevent transaction block reserve underflow when starting transaction
| * c194e184a8 fs-writeback: do not requeue a clean inode having skipped pages
| * a7354d9064 ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
| * 1c972cb674 pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
| * 82a93c65a4 iio: adc: ad7192: Correct reference voltage
| * ee1d783be5 iio: adc: ad7192: Simplify using devm_regulator_get_enable()
| * 3b02dbd1cd iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
| * 7bca0af538 iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs
| * 681c8a2c23 serial: 8250_omap: Fix errors with no_console_suspend
| * 9424a0a456 serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
| * 7067c3cf08 serial: Reduce spinlocked portion of uart_rs485_config()
| * 147156b19c serial: Rename uart_change_speed() to uart_change_line_settings()
| * e4df8000bd serial: Move uart_change_speed() earlier
| * 4d382ba65d usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
| * 8e939c21f6 usb: misc: onboard_usb_hub: add Genesys Logic GL3523 hub support
| * a46907e1f6 usb: misc: onboard_usb_hub: add Genesys Logic GL852G hub support
| * a2431e7e8b usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support
| * 5e7275e432 selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
| * 673edcffa0 net: check for altname conflicts when changing netdev's netns
| * 9307f5f59a net: fix ifname in netlink ntf during netns move
| * b92433493b net: avoid UAF on deleted altname
| * 1cf912054a net: pktgen: Fix interface flags printing
| * 2fb84f5214 net: phy: bcm7xxx: Add missing 16nm EPHY statistics
| * e1512ff1ec netfilter: nf_tables: revert do not remove elements if set backend implements .abort
| * c2eaa8319f netfilter: nf_tables: do not remove elements if set backend implements .abort
| * 0e8cdddf01 netlink: Correct offload_xstats size
| * 0697918ec0 netfilter: nft_set_rbtree: .deactivate fails if element has expired
| * d9d289b78c selftests: netfilter: Run nft_audit.sh in its own netns
| * 0bb1573512 selftests: openvswitch: Catch cases where the tests are killed
| * e0914e5a05 neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
| * d80bc19142 net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
| * ec7393fe63 bonding: Return pointer to data after pull on skb
| * 3065fabd17 net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
| * 9c3d276fa8 i40e: prevent crash on probe if hw registers have invalid values
| * f0ab9b0922 octeon_ep: update BQL sent bytes before ringing doorbell
| * 1a68d44011 net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
| * 2c6451d665 ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
| * 9570bee678 tun: prevent negative ifindex
| * 8b9c79c0ec tcp: Fix listen() warning with v4-mapped-v6 address.
| * f534a513e8 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
| * 4e1f3457e9 tcp: fix excessive TLP and RACK timeouts from HZ rounding
| * df5ee37bf2 net: rfkill: gpio: prevent value glitch during probe
| * 2a6fc637c6 net: ipv6: fix return value check in esp_remove_trailer
| * 55d794cef3 net: ipv4: fix return value check in esp_remove_trailer
| * 49b9165ead wifi: cfg80211: use system_unbound_wq for wiphy work
| * 405dbaf049 xfrm: interface: use DEV_STATS_INC()
| * b372db2b8d xfrm: fix a data-race in xfrm_gen_index()
| * 3065fa2cdd xfrm: fix a data-race in xfrm_lookup_with_ifid()
| * 2c7ec9e9ea qed: fix LL2 RX buffer allocation
| * cc87f4db14 ASoC: codecs: wcd938x: fix resource leaks on bind errors
| * 8092aed623 ASoC: codecs: wcd938x: fix unbind tear down order
| * b2974b20e4 ASoC: codecs: wcd938x: drop bogus bind error handling
| * 569afdedde ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
| * 0d912daab4 ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
| * d496b6638c ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq5xxx
| * 086babbbf8 ALSA: hda/realtek: Add quirk for ASUS ROG GU603ZV
| * bcf883e244 ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
| * a9519099e3 drm/mediatek: Correctly free sg_table in gem prime vmap
| * add2eeda1d drm/i915: Retry gtt fault when out of fence registers
| * f691ec5a54 nvmet-tcp: Fix a possible UAF in queue intialization setup
| * 02322c5177 netfilter: nft_payload: fix wrong mac header matching
| * 36a315c923 fs/ntfs3: fix deadlock in mark_as_free_ex
| * c1f2638e31 fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
| * fb80a28fef fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
| * d4ae85b883 mptcp: more conservative check for zero probes
| * 80990979a9 tcp: check mptcp-level constraints for backlog coalescing
| * f7e65c03d5 audit,io_uring: io_uring openat triggers audit reference count underflow
| * a556a0df8d x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
| * 54f030271d x86: KVM: SVM: add support for Invalid IPI Vector interception
| * 482565df35 KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
| * 20695711e2 x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
| * 57d0639f60 x86/sev: Check for user-space IOIO pointing to kernel space
| * def94eb9a8 x86/sev: Check IOBM for IOIO exceptions from user-space
| * 95ff590b80 x86/sev: Disable MMIO emulation from user mode
| * 19ffa9b251 KVM: x86: Mask LVTPC when handling a PMI
| * d11cfd1f30 regmap: fix NULL deref on lookup
| * d7dbdbe380 nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
| * fb8e1608b0 btrfs: fix stripe length calculation for non-zoned data chunk allocation
| * 753ef5ef4c net/smc: return the right falback reason when prefix checks fail
| * d994502fdc ice: reset first in crash dump kernels
| * 0f8d381ada ice: fix over-shifted variable
| * bbc5c96f82 Bluetooth: avoid memcmp() out of bounds warning
| * feffabdd0a Bluetooth: hci_event: Fix coding style
| * 99ccf8d79b Bluetooth: vhci: Fix race when opening vhci device
| * 25e5d28830 Bluetooth: Fix a refcnt underflow problem for hci_conn
| * faa6366605 Bluetooth: Reject connection with the device which has same BD_ADDR
| * 8d76a44d26 Bluetooth: hci_event: Ignore NULL link key
| * 84523aeeea igc: Fix race condition in PTP tx code
| * ff996d61dd igc: Add condition for qbv_config_change_errors counter
| * cd7b19dc5f igc: Add qbv_config_change_errors counter
| * 88421f4741 igc: Remove reset adapter task for i226 during disable tsn config
| * 3c3418a586 igc: enable Qbv configuration for 2nd GCL
| * 8420fe4dd2 igc: remove I226 Qbv BaseTime restriction
| * db4677b350 lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default
* | 316250b759 Revert "net: macsec: indicate next pn update when offloading"
* | 394fcccbe1 Revert "net: phy: mscc: macsec: reject PN update requests"
* | a36206a6bb Revert "net/mlx5e: macsec: use update_pn flag instead of PN comparation"
* | b0e44b2726 Revert "tcp: enforce receive buffer memory limits by allowing the tcp window to shrink"
* | 3858124ea0 Merge 6.1.59 into android14-6.1-lts
|\|
| * 7d24402875 Linux 6.1.59
| * eb26fa974c ALSA: hda/realtek - Fixed two speaker platform
| * 54357fcafa powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
| * 0afcc9d4a1 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
| * 9a995e11b2 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
| * 01b19fc662 dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
| * 5b784489c8 x86/alternatives: Disable KASAN in apply_alternatives()
| * 033c0d5101 usb: cdnsp: Fixes issue with dequeuing not queued requests
| * 49fbc18378 usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
| * e5588fb391 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
| * 71d323072a usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
| * 4d85f1ce6c usb: typec: altmodes/displayport: Signal hpd low when exiting mode
| * bc67250859 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
| * 0e3953b577 counter: chrdev: fix getting array extensions
| * 9f6b391b04 scsi: ufs: core: Correct clear TM error log
| * 97306abdea pinctrl: avoid unsafe code pattern in find_pinctrl()
| * d67b5a2b97 dma-buf: add dma_fence_timestamp helper
| * cb8f1dd1b7 cgroup: Remove duplicates in cgroup v1 tasks file
| * 57e7696b78 usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
| * 062f16c4dd nfp: flower: avoid rmmod nfp crash issues
| * 1db0724a01 mctp: perform route lookups under a RCU read-side lock
| * 60c3e7a00d tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
| * 862aa98181 Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
| * fbfb99ac5d Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
| * 9c6a11a05b Input: xpad - add PXN V900 support
| * 211f71c1c0 Input: psmouse - fix fast_reconnect function for PS/2 mode
| * 2efe67c581 Input: powermate - fix use-after-free in powermate_config_complete
| * 4d6c1845cb ceph: fix type promotion bug on 32bit systems
| * 9f43481c0d ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
| * 086d885c20 libceph: use kernel_connect()
| * 8ac2689502 powerpc/47x: Fix 47x syscall return crash
| * 434e3522b9 thunderbolt: Restart XDomain discovery handshake after failure
| * 5d206a77d4 thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
| * 0cf7ee2cc6 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
| * 23122e0c0e mcb: remove is_added flag from mcb_device struct
| * 125f495fa6 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
| * 3863989497 perf/x86/lbr: Filter vsyscall addresses
| * 55b51187d2 ksmbd: not allow to open file if delelete on close bit is set
| * ac2d5e70fb ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
| * 7aac2f2c00 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
| * f041091756 drm/amd/display: Don't set dpms_off for seamless boot
| * a61d905a86 drm/amdgpu: add missing NULL check
| * 0fb82afee5 drm/atomic-helper: relax unregistered connector check
| * 5bab104963 arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
| * f17e00fb0c arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
| * ff42d244b3 iio: addac: Kconfig: update ad74413r selections
| * 7d4ff34b6c iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
| * b166ce5275 iio: pressure: dps310: Adjust Timeout Settings
| * e93a7677f0 iio: admv1013: add mixer_vgate corner cases
| * 8ab33ae244 iio: dac: ad3552r: Correct device IDs
| * a6bd5e1653 iio: adc: imx8qxp: Fix address for command buffer registers
| * 92426b1f5f iio: imu: bno055: Fix missing Kconfig dependencies
| * 187939163b iio: pressure: bmp280: Fix NULL pointer exception
| * 88a204cc0c usb: musb: Modify the "HWVers" register address
| * fecb419c62 usb: musb: Get the musb_qh poniter after musb_giveback
| * fb9895ab95 usb: hub: Guard against accesses to uninitialized BOS descriptors
| * 1edbf4b285 usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
| * 3571910368 usb: dwc3: Soft reset phy on probe for host
| * ea9ae69b0e net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
| * c5bfe67d9f usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
| * f049b10aff dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
| * 721dbbabf1 dmaengine: stm32-mdma: use Link Address Register to compute residue
| * fe15819408 dmaengine: stm32-dma: fix residue in case of MDMA chaining
| * 1e3b981a25 dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
| * 8e7dfe9c2a dmaengine: stm32-mdma: abort resume if no ongoing transfer
| * 0796c53424 tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
| * 55027c1d99 workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
| * 853dda54ba nfc: nci: assert requested protocol is valid
| * 684accd26d pinctrl: renesas: rzn1: Enable missing PINMUX
| * f05befe5c4 net/smc: Fix pos miscalculation in statistics
| * e4f2611f07 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
| * ab8075d3a4 net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
| * 04753d5ae2 ixgbe: fix crash with empty VF macvlan list
| * 89be6ad344 net/mlx5e: macsec: use update_pn flag instead of PN comparation
| * a698195f3a net: phy: mscc: macsec: reject PN update requests
| * 0d86ad068c net: macsec: indicate next pn update when offloading
| * 50bce6a051 net: refine debug info in skb_checksum_help()
| * 30ca523f28 bpf: Fix verifier log for async callback return values
| * e1f1e3cc5b drm/vmwgfx: fix typo of sizeof argument
| * 5bfc5a28b5 riscv, bpf: Sign-extend return values
| * 72ae139546 riscv, bpf: Factor out emit_call for kernel and bpf context
| * 30a8354602 xen-netback: use default TX queue size for vifs
| * 469bef8129 mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
| * 217efe32a4 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
| * 6f6fa8061f ravb: Fix use-after-free issue in ravb_tx_timeout_work()
| * 3f9295ad7f ravb: Fix up dma_free_coherent() call in ravb_remove()
| * cfe535ee69 arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
| * 53c6dc71bf can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
| * 789d125c0e can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
| * 881050b25b net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
| * 6f901f8448 phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
| * e173d9a2e5 phy: lynx-28g: lock PHY while performing CDR lock workaround
| * e52c81a9e3 phy: lynx-28g: cancel the CDR check work item on the remove path
| * 5f9d0edff2 drm/msm/dp: Add newlines to debug printks
| * 61b595ede9 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
| * 3979a9e572 drm/msm/dsi: fix irq_of_parse_and_map() error checking
| * 3de09684de drm/msm/dsi: skip the wait for video mode done if not applicable
| * 82cb81ea96 drm/msm/dp: do not reinitialize phy unless retry during link training
| * 6c18c386fd pinctrl: nuvoton: wpcm450: fix out of bounds write
| * 37157830a9 ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
| * 171b791cc2 ALSA: hda/realtek - ALC287 I2S speaker platform support
| * a8b85e47e3 ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
| * e225f67d49 ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
| * 8f7bb2b77b ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
| * aacc508dd3 ASoC: fsl_sai: MCLK bind with TX/RX enable bit
| * 8276d65cf7 ASoC: Use of_property_read_bool() for boolean properties
| * 8611606c76 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
| * 4a250b3492 ASoC: Intel: sof_sdw: add support for SKU 0B14
| * 307bbbbb94 ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
| * 988fba279d ASoC: simple-card-utils: fixup simple_util_startup() error handling
| * e3353ad7db ASoC: SOF: amd: fix for firmware reload failure after playback
| * 2aa53213b6 ALSA: hda/realtek: Change model for Intel RVP board
| * 4cb0984557 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
| * 0f44423e35 ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
| * 3746b878ef KEYS: trusted: Remove redundant static calls usage
| * b86ac71abb irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
| * d684418750 dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
| * f4eaaa30d0 arm64: dts: qcom: sm8150: extend the size of the PDC resource
| * 020958c946 net: prevent address rewrite in kernel_bind()
| * 8fcdf7da9d ata: libata-scsi: Disable scsi device manage_system_start_stop
| * abc918831a ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
| * 12a820a992 quota: Fix slow quotaoff
| * fd72ac9556 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
| * 87aa3ca497 scsi: Do not rescan devices with a suspended queue
| * 342f321af8 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
| * af21c9119a platform/x86: think-lmi: Fix reference leak
| * 1c8f6c7b83 perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
| * 3aade96e0c RDMA/cxgb4: Check skb value for failure to allocate
| * f175665385 drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
| * f2060a3a59 mptcp: fix delegated action races
| * b67d7b1bfc net: mana: Fix TX CQE error handling
* | d58a224aca Merge 6.1.58 into android14-6.1-lts
|/
* adc4d740ad Linux 6.1.58
* 38fd36728f lib/test_meminit: fix off-by-one error in test_pages()
* ff74bdc838 Revert "NFS: Fix error handling for O_DIRECT write scheduling"
* b0cee281c4 Revert "NFS: Fix O_DIRECT locking issues"
* ebf5841ac1 Revert "NFS: More O_DIRECT accounting fixes for error paths"
* 506cf335d9 Revert "NFS: Use the correct commit info in nfs_join_page_group()"
* e8db8b5581 Revert "NFS: More fixes for nfs_direct_write_reschedule_io()"

Change-Id: Id55c4007c922e5c8a6c5220f2f615a0d9b422cde
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-09 16:57:00 +00:00
Matthew Wilcox (Oracle)
4ee9d9291b mm/memory-failure: check the mapcount of the precise page
commit c79c5a0a00a9457718056b588f312baadf44e471 upstream.

A process may map only some of the pages in a folio, and might be missed
if it maps the poisoned page but not the head page.  Or it might be
unnecessarily hit if it maps the head page, but not the poisoned page.

Link: https://lkml.kernel.org/r/20231218135837.3310403-3-willy@infradead.org
Fixes: 7af446a841 ("HWPOISON, hugetlb: enable error handling path for hugepage")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-05 15:18:39 +01:00
Matthew Wilcox (Oracle)
fb21c9780a mm/memory-failure: cast index to loff_t before shifting it
commit 39ebd6dce62d8cfe3864e16148927a139f11bc9a upstream.

On 32-bit systems, we'll lose the top bits of index because arithmetic
will be performed in unsigned long instead of unsigned long long.  This
affects files over 4GB in size.

Link: https://lkml.kernel.org/r/20231218135837.3310403-4-willy@infradead.org
Fixes: 6100e34b25 ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-05 15:18:39 +01:00
Charan Teja Kalla
be72d197b2 mm: migrate high-order folios in swap cache correctly
commit fc346d0a70a13d52fe1c4bc49516d83a42cd7c4c upstream.

Large folios occupy N consecutive entries in the swap cache instead of
using multi-index entries like the page cache.  However, if a large folio
is re-added to the LRU list, it can be migrated.  The migration code was
not aware of the difference between the swap cache and the page cache and
assumed that a single xas_store() would be sufficient.

This leaves potentially many stale pointers to the now-migrated folio in
the swap cache, which can lead to almost arbitrary data corruption in the
future.  This can also manifest as infinite loops with the RCU read lock
held.

[willy@infradead.org: modifications to the changelog & tweaked the fix]
Fixes: 3417013e0d ("mm/migrate: Add folio_migrate_mapping()")
Link: https://lkml.kernel.org/r/20231214045841.961776-1-willy@infradead.org
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reported-by: Charan Teja Kalla <quic_charante@quicinc.com>
Closes: https://lkml.kernel.org/r/1700569840-17327-1-git-send-email-quic_charante@quicinc.com
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-05 15:18:39 +01:00