mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
2f2e115eecbda0de5d89f4303e8ae41018a36991
1167622 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2f2e115eec |
Merge 6.1.121-lts branch changes into android14-6.1
Steps on the way to a final 6.1.124 lts merge into android14-6.1 Changes included in here are: * |
||
|
|
d2841af63f |
Merge 6.1.119-lts branch changes into android14-6.1
Steps on the way to a final 6.1.124 lts merge into android14-6.1 Changes included in here are: * |
||
|
|
ef4fb40b87 |
ANDROID: GKI: Add Paragon symbol list
This list contains symbols for Paragon UFSD driver for NTFS and exFAT file systems. 18 function symbol(s) added 'int __cond_resched_lock(spinlock_t*)' 'struct buffer_head* __find_get_block(struct block_device*, sector_t, unsigned int)' 'int __posix_acl_create(struct posix_acl**, gfp_t, umode_t*)' 'int add_to_page_cache_lru(struct page*, struct address_space*, unsigned long, gfp_t)' 'struct buffer_head* alloc_buffer_head(gfp_t)' 'void d_rehash(struct dentry*)' 'int filemap_fdatawrite_wbc(struct address_space*, struct writeback_control*)' 'void free_buffer_head(struct buffer_head*)' 'int posix_acl_equiv_mode(const struct posix_acl*, umode_t*)' 'struct posix_acl* posix_acl_from_xattr(struct user_namespace*, const void*, size_t)' 'int posix_acl_to_xattr(struct user_namespace*, const struct posix_acl*, void*, size_t)' 'int posix_acl_valid(struct user_namespace*, const struct posix_acl*)' 'void set_cached_acl(struct inode*, int, struct posix_acl*)' 'void shrink_dcache_sb(struct super_block*)' 'void sync_inodes_sb(struct super_block*)' 'void wait_for_completion_io(struct completion*)' 'void write_dirty_buffer(struct buffer_head*, blk_opf_t)' 'void yield()' Bug: 390630697 Change-Id: Ie7152ec59bdc5630a502c8d538c949d3684abde5 Signed-off-by: Konstantin Komarov <Konstantin.Komarov.GKI@paragon-software.com> |
||
|
|
72db89d3d9 |
ANDROID: common-android14-6.1 Update the ABI symbol list
Adding the following symbols - snd_card_ref Bug: 391740635 Change-Id: I7b86db599ad19a55dc8c4ab424e1027d8e1bb4e6 Signed-off-by: soon9.lee <soon9.lee@samsung.corp-partner.google.com> |
||
|
|
092a580916 |
ANDROID: KVM: arm64: Present the 16Kb granule support to the guest VMs
Extend the allow mask for the ID_AA64MMFR0_EL1 register to add support for the 16Kb protected guest VMs. When the guest reads this register the hypervisor traps the access and returns its configuration derived from the host. Bug: 376870129 Bug: 278749606 Test: boot a 16Kb protected guest VM on a 16Kb host Change-Id: If7d50c7345fc4d9db9dbcca04f19b8bbbc70925e Signed-off-by: Sebastian Ene <sebastianene@google.com> |
||
|
|
0405a25a6e |
ANDROID: KVM: arm64: Fix corrupted PSTATE during guest debug
When running non-protected guests for which the host has enabled
hardware-assisted debugging, pKVM "flushes" PSTATE and MDSCR_EL1 from
the host-controlled vCPU struct to its internal struct before actually
running the vCPU. However, on guest exit, it was failing to record
("sync") any change that the guest might have made to those registers.
As a result, the following vCPU flush discards those changes and the
following vCPU run happens with potentially corrupted registers. This
is particularly noticeable during Linux boot when guest updates to
PSTATE.{I,BTYPE} are lost.
Instead, sync PSTATE and MDSCR if they were flushed before the vCPU run.
Bug: 389970357
Fixes:
|
||
|
|
d12538e9da |
BACKPORT: PCI/portdrv: Prevent LS7A Bus Master clearing on shutdown
After |
||
|
|
dbdf659cc6 |
UPSTREAM: selinux: ignore unknown extended permissions
commit 900f83cf376bdaf798b6f5dcb2eae0c822e908b6 upstream.
When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.
Cc: stable@vger.kernel.org
Fixes:
|
||
|
|
e09bed3008 |
BACKPORT: f2fs: prevent writing without fallocate() for pinned files
In a case writing without fallocate(), we can't guarantee it's allocated in the conventional area for zoned stroage. To make it consistent across storage devices, we disallow it regardless of storage device types. Signed-off-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Bug: 379813820 Change-Id: I47b9428d970004284c8de59665ba832f4df4cf13 Signed-off-by: Wu Bo <bo.wu@vivo.com> (cherry picked from commit 3fdd89b452c2ea5e2195d6e315bef122769584c9) [Wo Bo: Due to some applications pinning small files via ioctl, the fallocate call fails to allocate space when the system is upgraded. Therefore, it is forbidden to write data to pinned files through the normal write interface.] |
||
|
|
8a225f954d |
ANDROID: Enable PM_USERSPACE_AUTOSLEEP in gki_defconfig
Android initiates autosuspend thread from a userspace service. Enable this option so that the kernel knows how to handle various pm_notification callback for when suspend/wakeup transitions are very frequent. Bug: 389989850 Change-Id: I86d2c98e6bc9dc2c24dddd29a6c3da192953afcf Signed-off-by: Kalesh Singh <kaleshsingh@google.com> |
||
|
|
a33878393a |
ANDROID: Update the ABI symbol list
Adding the following symbols: - param_set_uint_minmax - regulator_sync_voltage - __traceiter_android_rvh_vmscan_kswapd_done - __traceiter_android_rvh_vmscan_kswapd_wake - __traceiter_android_vh_binder_proc_transaction_finish - __traceiter_android_vh_tune_swappiness - __tracepoint_android_rvh_vmscan_kswapd_done - __tracepoint_android_rvh_vmscan_kswapd_wake - __tracepoint_android_vh_binder_proc_transaction_finish - __tracepoint_android_vh_tune_swappiness Bug: 379922825 Change-Id: Iba2893d6299d3ef10f6d96aaeed2976d6bab54a7 Signed-off-by: Dmitry Skiba <dskiba@google.com> |
||
|
|
6f0b82dd8a |
ANDROID: mm: add kswapd wake/done rvh
These restricted hooks are needed for cases when vendor implementation needs to call sleeping functions. See the bug for details. Bug: 379922825 Change-Id: I0e5626bed930830caf7f96a5b051b3174f4cf250 Signed-off-by: Dmitry Skiba <dskiba@google.com> |
||
|
|
770852bf7d |
ANDROID: ABI: update protected symbol list
Add bt_sock_linked to protected symbol list Bug: 387804010 Change-Id: I96abbc18d9cb122708a07d80ae9f8fa2da276ef2 Signed-off-by: Seiya Wang <seiya.wang@mediatek.com> |
||
|
|
bda0401cd8 |
ANDROID: GKI: load vendor modules without tainting the kernel
GKI repurposes module signing to distinguish GKI and vendor modules. It was unhelpful and sometimes confusing to taint the kernel when loading vendor modules. Bug: 232430739 Bug: 383260800 Change-Id: If05a9e7d8e28954eba0472149fe312045c9c4fad Signed-off-by: Giuliano Procida <gprocida@google.com> (cherry picked from commit 23313da5700f038f95a82a695392e5bb5b550ba6) |
||
|
|
7e96f2bfaa |
UPSTREAM: cgroup: remove cgroup_rstat_flush_atomic()
Previous patches removed the only caller of cgroup_rstat_flush_atomic().
Remove the function and simplify the code.
Link: https://lkml.kernel.org/r/20230421174020.2994750-6-yosryahmed@google.com
Change-Id: I28939a92d4dcc6b8ad03dfaf7243e6d2b6af9100
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
b5b6e46444 |
UPSTREAM: memcg: remove mem_cgroup_flush_stats_atomic()
Previous patches removed all callers of mem_cgroup_flush_stats_atomic().
Remove the function and simplify the code.
Link: https://lkml.kernel.org/r/20230421174020.2994750-5-yosryahmed@google.com
Change-Id: Ieef476cf2c0aacb48af4e82e4bb96e5cc69292c5
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
4b27ab0c6b |
UPSTREAM: memcg: calculate root usage from global state
Currently, we approximate the root usage by adding the memcg stats for
anon, file, and conditionally swap (for memsw). To read the memcg stats
we need to invoke an rstat flush. rstat flushes can be expensive, they
scale with the number of cpus and cgroups on the system.
mem_cgroup_usage() is called by memcg_events()->mem_cgroup_threshold()
with irqs disabled, so such an expensive operation with irqs disabled can
cause problems.
Instead, approximate the root usage from global state. This is not 100%
accurate, but the root usage has always been ill-defined anyway.
Link: https://lkml.kernel.org/r/20230421174020.2994750-4-yosryahmed@google.com
Change-Id: Ifbc895f45fc119f3079c17fd8f5e3d87267428c4
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
0ef8d00e37 |
UPSTREAM: memcg: flush stats non-atomically in mem_cgroup_wb_stats()
The previous patch moved the wb_over_bg_thresh()->mem_cgroup_wb_stats()
code path in wb_writeback() outside the lock section. We no longer need
to flush the stats atomically. Flush the stats non-atomically.
Link: https://lkml.kernel.org/r/20230421174020.2994750-3-yosryahmed@google.com
Change-Id: Ibbb2dd41fac7c26f1e18d0a984d7197b45294f6f
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
c0d8df37a0 |
UPSTREAM: writeback: move wb_over_bg_thresh() call outside lock section
Patch series "cgroup: eliminate atomic rstat flushing", v5.
A previous patch series [1] changed most atomic rstat flushing contexts to
become non-atomic. This was done to avoid an expensive operation that
scales with # cgroups and # cpus to happen with irqs disabled and
scheduling not permitted. There were two remaining atomic flushing
contexts after that series. This series tries to eliminate them as well,
eliminating atomic rstat flushing completely.
The two remaining atomic flushing contexts are:
(a) wb_over_bg_thresh()->mem_cgroup_wb_stats()
(b) mem_cgroup_threshold()->mem_cgroup_usage()
For (a), flushing needs to be atomic as wb_writeback() calls
wb_over_bg_thresh() with a spinlock held. However, it seems like the call
to wb_over_bg_thresh() doesn't need to be protected by that spinlock, so
this series proposes a refactoring that moves the call outside the lock
criticial section and makes the stats flushing in mem_cgroup_wb_stats()
non-atomic.
For (b), flushing needs to be atomic as mem_cgroup_threshold() is called
with irqs disabled. We only flush the stats when calculating the root
usage, as it is approximated as the sum of some memcg stats (file, anon,
and optionally swap) instead of the conventional page counter. This
series proposes changing this calculation to use the global stats instead,
eliminating the need for a memcg stat flush.
After these 2 contexts are eliminated, we no longer need
mem_cgroup_flush_stats_atomic() or cgroup_rstat_flush_atomic(). We can
remove them and simplify the code.
[1] https://lore.kernel.org/linux-mm/20230330191801.1967435-1-yosryahmed@google.com/
This patch (of 5):
wb_over_bg_thresh() calls mem_cgroup_wb_stats() which invokes an rstat
flush, which can be expensive on large systems. Currently,
wb_writeback() calls wb_over_bg_thresh() within a lock section, so we
have to do the rstat flush atomically. On systems with a lot of
cpus and/or cgroups, this can cause us to disable irqs for a long time,
potentially causing problems.
Move the call to wb_over_bg_thresh() outside the lock section in
preparation to make the rstat flush in mem_cgroup_wb_stats() non-atomic.
The list_empty(&wb->work_list) check should be okay outside the lock
section of wb->list_lock as it is protected by a separate lock
(wb->work_lock), and wb_over_bg_thresh() doesn't seem like it is
modifying any of wb->b_* lists the wb->list_lock is protecting.
Also, the loop seems to be already releasing and reacquring the
lock, so this refactoring looks safe.
Link: https://lkml.kernel.org/r/20230421174020.2994750-1-yosryahmed@google.com
Link: https://lkml.kernel.org/r/20230421174020.2994750-2-yosryahmed@google.com
Change-Id: Id9dbfad96cfd32f1381d7640e1e2cf62c0a56189
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
681efac6a1 |
UPSTREAM: memcg: do not modify rstat tree for zero updates
In some situations, we may end up calling memcg_rstat_updated() with a
value of 0, which means the stat was not actually updated. An example is
if we fail to reclaim any pages in shrink_folio_list().
Do not add the cgroup to the rstat updated tree in this case, to avoid
unnecessarily flushing it.
Link: https://lkml.kernel.org/r/20230330191801.1967435-9-yosryahmed@google.com
Change-Id: I8142aa6c2962e5af590a5e93f89fbf2313d4b741
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
5795558d86 |
UPSTREAM: vmscan: memcg: sleep when flushing stats during reclaim
Memory reclaim is a sleepable context. Flushing is an expensive operaiton
that scales with the number of cpus and the number of cgroups in the
system, so avoid doing it atomically unnecessarily. This can slow down
reclaim code if flushing stats is taking too long, but there is already
multiple cond_resched()'s in reclaim code.
Link: https://lkml.kernel.org/r/20230330191801.1967435-8-yosryahmed@google.com
Change-Id: Ia0f0d42131e67a060dc7c9b868ef5247d78e05c8
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
e3e3beed82 |
UPSTREAM: workingset: memcg: sleep when flushing stats in workingset_refault()
In workingset_refault(), we call
mem_cgroup_flush_stats_atomic_ratelimited() to read accurate stats within
an RCU read section and with sleeping disallowed. Move the call above the
RCU read section to make it non-atomic.
Flushing is an expensive operation that scales with the number of cpus and
the number of cgroups in the system, so avoid doing it atomically where
possible.
Since workingset_refault() is the only caller of
mem_cgroup_flush_stats_atomic_ratelimited(), just make it non-atomic, and
rename it to mem_cgroup_flush_stats_ratelimited().
Link: https://lkml.kernel.org/r/20230330191801.1967435-7-yosryahmed@google.com
Change-Id: Ia073b9bcef12dfced053ebea7a5da96ce942596c
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
0448f92c8d |
UPSTREAM: memcg: sleep during flushing stats in safe contexts
Currently, all contexts that flush memcg stats do so with sleeping not
allowed. Some of these contexts are perfectly safe to sleep in, such as
reading cgroup files from userspace or the background periodic flusher.
Flushing is an expensive operation that scales with the number of cpus and
the number of cgroups in the system, so avoid doing it atomically where
possible.
Refactor the code to make mem_cgroup_flush_stats() non-atomic (aka
sleepable), and provide a separate atomic version. The atomic version is
used in reclaim, refault, writeback, and in mem_cgroup_usage(). All other
code paths are left to use the non-atomic version. This includes
callbacks for userspace reads and the periodic flusher.
Since refault is the only caller of mem_cgroup_flush_stats_ratelimited(),
change it to mem_cgroup_flush_stats_atomic_ratelimited(). Reclaim and
refault code paths are modified to do non-atomic flushing in separate
later patches -- so it will eventually be changed back to
mem_cgroup_flush_stats_ratelimited().
Link: https://lkml.kernel.org/r/20230330191801.1967435-6-yosryahmed@google.com
Change-Id: I9c28e852e1a37202fbd3ee419c72acf667d63404
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
c47c4c0966 |
UPSTREAM: memcg: replace stats_flush_lock with an atomic
As Johannes notes in [1], stats_flush_lock is currently used to:
(a) Protect updated to stats_flush_threshold.
(b) Protect updates to flush_next_time.
(c) Serializes calls to cgroup_rstat_flush() based on those ratelimits.
However:
1. stats_flush_threshold is already an atomic
2. flush_next_time is not atomic. The writer is locked, but the reader
is lockless. If the reader races with a flush, you could see this:
if (time_after(jiffies, flush_next_time))
spin_trylock()
flush_next_time = now + delay
flush()
spin_unlock()
spin_trylock()
flush_next_time = now + delay
flush()
spin_unlock()
which means we already can get flushes at a higher frequency than
FLUSH_TIME during races. But it isn't really a problem.
The reader could also see garbled partial updates if the compiler
decides to split the write, so it needs at least READ_ONCE and
WRITE_ONCE protection.
3. Serializing cgroup_rstat_flush() calls against the ratelimit
factors is currently broken because of the race in 2. But the race
is actually harmless, all we might get is the occasional earlier
flush. If there is no delta, the flush won't do much. And if there
is, the flush is justified.
So the lock can be removed all together. However, the lock also served
the purpose of preventing a thundering herd problem for concurrent
flushers, see [2]. Use an atomic instead to serve the purpose of
unifying concurrent flushers.
[1]https://lore.kernel.org/lkml/20230323172732.GE739026@cmpxchg.org/
[2]https://lore.kernel.org/lkml/20210716212137.1391164-2-shakeelb@google.com/
Link: https://lkml.kernel.org/r/20230330191801.1967435-5-yosryahmed@google.com
Change-Id: I98e8344b440486162426186c4abdf21e02eebd43
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
86ff69608f |
UPSTREAM: memcg: do not flush stats in irq context
Currently, the only context in which we can invoke an rstat flush from irq
context is through mem_cgroup_usage() on the root memcg when called from
memcg_check_events(). An rstat flush is an expensive operation that
should not be done in irq context, so do not flush stats and use the stale
stats in this case.
Arguably, usage threshold events are not reliable on the root memcg anyway
since its usage is ill-defined.
Link: https://lkml.kernel.org/r/20230330191801.1967435-4-yosryahmed@google.com
Change-Id: If230311168f126e3741afaeab1f20cb1949190f0
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Suggested-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
a77a4ca4f4 |
UPSTREAM: memcg: rename mem_cgroup_flush_stats_"delayed" to "ratelimited"
mem_cgroup_flush_stats_delayed() suggests his is using a delayed_work, but
this is actually sometimes flushing directly from the callsite.
What it's doing is ratelimited calls. A better name would be
mem_cgroup_flush_stats_ratelimited().
Link: https://lkml.kernel.org/r/20230330191801.1967435-3-yosryahmed@google.com
Change-Id: Ib418ae17599d10c520b766f0c0e4396a43906256
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
978adc3d3a |
UPSTREAM: cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic"
Patch series "memcg: avoid flushing stats atomically where possible", v3.
rstat flushing is an expensive operation that scales with the number of
cpus and the number of cgroups in the system. The purpose of this series
is to minimize the contexts where we flush stats atomically.
Patches 1 and 2 are cleanups requested during reviews of prior versions of
this series.
Patch 3 makes sure we never try to flush from within an irq context.
Patches 4 to 7 introduce separate variants of mem_cgroup_flush_stats() for
atomic and non-atomic flushing, and make sure we only flush the stats
atomically when necessary.
Patch 8 is a slightly tangential optimization that limits the work done by
rstat flushing in some scenarios.
This patch (of 8):
cgroup_rstat_flush_irqsafe() can be a confusing name. It may read as
"irqs are disabled throughout", which is what the current implementation
does (currently under discussion [1]), but is not the intention. The
intention is that this function is safe to call from atomic contexts.
Name it as such.
Link: https://lkml.kernel.org/r/20230330191801.1967435-1-yosryahmed@google.com
Link: https://lkml.kernel.org/r/20230330191801.1967435-2-yosryahmed@google.com
Change-Id: I7a030bc657b330ce700a29ded19f995e26f3aec1
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vasily Averin <vasily.averin@linux.dev>
Cc: Zefan Li <lizefan.x@bytedance.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit
|
||
|
|
616d7c64fd |
BACKPORT: epoll: Add synchronous wakeup support for ep_poll_callback
Now, the epoll only use wake_up() interface to wake up task. However, sometimes, there are epoll users which want to use the synchronous wakeup flag to hint the scheduler, such as Android binder driver. So add a wake_up_sync() define, and use the wake_up_sync() when the sync is true in ep_poll_callback(). Bug: 388205332 Co-developed-by: Jing Xia <jing.xia@unisoc.com> Signed-off-by: Jing Xia <jing.xia@unisoc.com> Signed-off-by: Xuewen Yan <xuewen.yan@unisoc.com> Link: https://lore.kernel.org/r/20240426080548.8203-1-xuewen.yan@unisoc.com Tested-by: Brian Geffon <bgeffon@google.com> Reviewed-by: Brian Geffon <bgeffon@google.com> Reported-by: Benoit Lize <lizeb@google.com> Signed-off-by: Christian Brauner <brauner@kernel.org> (cherry picked from commit 900bbaae67e980945dec74d36f8afe0de7556d5a) [wait.h: wake_up_sync() already defined in android, keep new identical upstream definition] Signed-off-by: Qais Yousef <qyousef@google.com> Change-Id: Icb977e494bba925e281fb5836e5f7f2f334d5616 |
||
|
|
66ae563a65 |
UPSTREAM: bpf: sync_linked_regs() must preserve subreg_def
commit e9bd9c498cb0f5843996dbe5cbce7a1836a83c70 upstream.
Range propagation must not affect subreg_def marks, otherwise the
following example is rewritten by verifier incorrectly when
BPF_F_TEST_RND_HI32 flag is set:
0: call bpf_ktime_get_ns call bpf_ktime_get_ns
1: r0 &= 0x7fffffff after verifier r0 &= 0x7fffffff
2: w1 = w0 rewrites w1 = w0
3: if w0 < 10 goto +0 --------------> r11 = 0x2f5674a6 (r)
4: r1 >>= 32 r11 <<= 32 (r)
5: r0 = r1 r1 |= r11 (r)
6: exit; if w0 < 0xa goto pc+0
r1 >>= 32
r0 = r1
exit
(or zero extension of w1 at (2) is missing for architectures that
require zero extension for upper register half).
The following happens w/o this patch:
- r0 is marked as not a subreg at (0);
- w1 is marked as subreg at (2);
- w1 subreg_def is overridden at (3) by copy_register_state();
- w1 is read at (5) but mark_insn_zext() does not mark (2)
for zero extension, because w1 subreg_def is not set;
- because of BPF_F_TEST_RND_HI32 flag verifier inserts random
value for hi32 bits of (2) (marked (r));
- this random value is read at (5).
Bug: 376430403
Fixes:
|
||
|
|
747746a3c9 |
Revert "net: defer final 'struct net' free in netns dismantle"
This reverts commit
|
||
|
|
eeccb29218 |
UPSTREAM: ALSA: usb-audio: Fix a DMA to stack memory bug
commit f7d306b47a24367302bd4fe846854e07752ffcd9 upstream.
The usb_get_descriptor() function does DMA so we're not allowed
to use a stack buffer for that. Doing DMA to the stack is not portable
all architectures. Move the "new_device_descriptor" from being stored
on the stack and allocate it with kmalloc() instead.
Bug: 382243530
Fixes: b909df18ce2a ("ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices")
Cc: stable@kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/60e3aa09-039d-46d2-934c-6f123026c2eb@stanley.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Benoît Sevens <bsevens@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit
|
||
|
|
e31da5fb5c |
Merge 6.1.121 into android14-6.1-lts
Changes in 6.1.121 bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors ksmbd: fix racy issue from session lookup and expire tcp: check space before adding MPTCP SYN options blk-cgroup: Fix UAF in blkcg_unpin_online() ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5 usb: host: max3421-hcd: Correctly abort a USB request. ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys() usb: dwc2: Fix HCD resume usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature usb: dwc2: Fix HCD port connection race usb: ehci-hcd: fix call balance of clocks handling routines usb: typec: anx7411: fix fwnode_handle reference leak usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe() usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode drm/i915: Fix memory leak by correcting cache object name in error handler xfs: update btree keys correctly when _insrec splits an inode root block xfs: don't drop errno values when we fail to ficlone the entire range xfs: return from xfs_symlink_verify early on V4 filesystems xfs: fix scrub tracepoints when inode-rooted btrees are involved xfs: only run precommits once per transaction object bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog bpf, sockmap: Fix update element with same smb: client: fix UAF in smb2_reconnect_server() exfat: support dynamic allocate bh for exfat_entry_set_cache exfat: fix potential deadlock on __exfat_get_dentry_set wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one wifi: mac80211: clean up 'ret' in sta_link_apply_parameters() wifi: mac80211: fix station NSS capability initialization order acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl amdgpu/uvd: get ring reference from rq scheduler batman-adv: Do not send uninitialized TT changes batman-adv: Remove uninitialized data in full table TT response batman-adv: Do not let TT changes list grows indefinitely tipc: fix NULL deref in cleanup_bearer() net/mlx5: DR, prevent potential error pointer dereference selftests: mlxsw: sharedbuffer: Remove h1 ingress test case selftests: mlxsw: sharedbuffer: Remove duplicate test cases selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted ptp: kvm: Use decrypted memory in confidential guest on x86 ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init() net: lapb: increase LAPB_HEADER_LEN net: defer final 'struct net' free in netns dismantle net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb() net: mscc: ocelot: improve handling of TX timestamp for unknown skb net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe net: mscc: ocelot: be resilient to loss of PTP packets during transmission net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set() spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user() net: sparx5: fix FDMA performance issue net: sparx5: fix the maximum frame length register ACPI: resource: Fix memory resource type union access cxgb4: use port number to set mac addr qca_spi: Fix clock speed for multiple QCA7000 qca_spi: Make driver probing reliable ASoC: amd: yc: Fix the wrong return value Documentation: PM: Clarify pm_runtime_resume_and_get() return value net: dsa: felix: fix stuck CPU-injected packets with short taprio windows net/sched: netem: account for backlog updates from child qdisc bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired Bluetooth: iso: Fix recursive locking warning Bluetooth: SCO: Add support for 16 bits transparent voice setting blk-iocost: Avoid using clamp() on inuse in __propagate_weights() bpf: sync_linked_regs() must preserve subreg_def tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe() xen/netfront: fix crash when removing device x86: make get_cpu_vendor() accessible from Xen code objtool/x86: allow syscall instruction x86/static-call: provide a way to do very early static-call updates x86/xen: don't do PV iret hypercall through hypercall page x86/xen: add central hypercall functions x86/xen: use new hypercall functions instead of hypercall page x86/xen: remove hypercall page ALSA: usb-audio: Fix a DMA to stack memory bug x86/static-call: fix 32-bit build Linux 6.1.121 Change-Id: Ic4aa66a4ef3978ba32c31f859f7fc66b95edec96 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> |
||
|
|
5a18c898dd |
ANDROID: GKI: fix CRC changes in ttm_tt.c
In commit |
||
|
|
b59a4bd0cc |
Revert "net: Move {l,t,d}stats allocation to core and convert veth & vrf"
This reverts commit
|
||
|
|
0b4ff5581f |
Revert "veth: Use tstats per-CPU traffic counters"
This reverts commit
|
||
|
|
765e0bd4a4 |
Revert "bpf: Fix dev's rx stats for bpf_redirect_peer traffic"
This reverts commit
|
||
|
|
a25df979f6 |
Revert "bpf: Fix helper writes to read-only maps"
This reverts commit
|
||
|
|
115fd6611e |
Revert "arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint"
This reverts commit
|
||
|
|
4cf1dd1184 |
Merge 6.1.120 into android14-6.1-lts
Changes in 6.1.120
ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec
ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet
ASoC: Intel: sst: Support LPE0F28 ACPI HID
wifi: iwlwifi: mvm: Use the sync timepoint API in suspend
mac80211: fix user-power when emulating chanctx
usb: add support for new USB device ID 0x17EF:0x3098 for the r8152 driver
selftests/watchdog-test: Fix system accidentally reset after watchdog-test
ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB
bpf: fix filed access without lock
net: usb: qmi_wwan: add Quectel RG650V
soc: qcom: Add check devm_kasprintf() returned value
regulator: rk808: Add apply_bit for BUCK3 on RK809
platform/x86: dell-smbios-base: Extends support to Alienware products
platform/x86: dell-wmi-base: Handle META key Lock/Unlock events
tools/lib/thermal: Remove the thermal.h soft link when doing make clean
can: j1939: fix error in J1939 documentation.
platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed
ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 Gen 6
ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict
proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
ASoC: audio-graph-card2: Purge absent supplies for device tree nodes
LoongArch: Define a default value for VM_DATA_DEFAULT_FLAGS
ALSA: usb-audio: Fix Yamaha P-125 Quirk Entry
ARM: 9420/1: smp: Fix SMP for xip kernels
ipmr: Fix access to mfc_cache_list without lock held
closures: Change BUG_ON() to WARN_ON()
net: fix crash when config small gso_max_size/gso_ipv4_max_size
serial: sc16is7xx: fix invalid FIFO access with special register set
cifs: Fix buffer overflow when parsing NFS reparse points
fpga: bridge: add owner module and take its refcount
fpga: manager: add owner module and take its refcount
drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
drm/amd/display: Check null-initialized variables
Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue
Bluetooth: MGMT: Fix possible crash on mgmt_index_removed
fbdev: efifb: Register sysfs groups through driver core
mptcp: fix possible integer overflow in mptcp_reset_tout_timer
wifi: rtw89: avoid to add interface to list twice when SER
drm/amd/display: Initialize denominators' default to 1
fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name
x86/barrier: Do not serialize MSR accesses on AMD
kselftest/arm64: mte: fix printf type warnings about __u64
kselftest/arm64: mte: fix printf type warnings about longs
s390/cio: Do not unregister the subchannel based on DNV
brd: defer automatic disk creation until module initialization succeeds
ext4: make 'abort' mount option handling standard
ext4: avoid remount errors with 'abort' mount option
mips: asm: fix warning when disabling MIPS_FP_SUPPORT
initramfs: avoid filename buffer overrun
nvme-pci: fix freeing of the HMB descriptor table
m68k: mvme147: Fix SCSI controller IRQ numbers
m68k: mvme16x: Add and use "mvme16x.h"
m68k: mvme147: Reinstate early console
arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG
acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block()
cachefiles: Fix missing pos updates in cachefiles_ondemand_fd_write_iter()
netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
block: fix bio_split_rw_at to take zone_write_granularity into account
s390/syscalls: Avoid creation of arch/arch/ directory
hfsplus: don't query the device logical block size multiple times
nvme-pci: reverse request order in nvme_queue_rqs
virtio_blk: reverse request order in virtio_queue_rqs
crypto: caam - Fix the pointer passed to caam_qi_shutdown()
firmware: google: Unregister driver_info on failure
EDAC/bluefield: Fix potential integer overflow
crypto: qat - remove faulty arbiter config reset
thermal: core: Initialize thermal zones before registering them
EDAC/fsl_ddr: Fix bad bit shift operations
crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
crypto: cavium - Fix the if condition to exit loop after timeout
crypto: hisilicon/qm - disable same error report before resetting
EDAC/igen6: Avoid segmentation fault on module unload
crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init()
doc: rcu: update printed dynticks counter bits
hwmon: (nct6775-core) Fix overflows seen when writing limit attributes
ACPI: CPPC: Fix _CPC register setting issue
crypto: caam - add error check to caam_rsa_set_priv_key_form
crypto: bcm - add error check in the ahash_hmac_init function
crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
tools/lib/thermal: Make more generic the command encoding function
thermal/lib: Fix memory leak on error in thermal_genl_auto()
time: Fix references to _msecs_to_jiffies() handling of values
seqlock/latch: Provide raw_read_seqcount_latch_retry()
kcsan, seqlock: Support seqcount_latch_t
kcsan, seqlock: Fix incorrect assumption in read_seqbegin()
clocksource/drivers:sp804: Make user selectable
clocksource/drivers/timer-ti-dm: Fix child node refcount handling
spi: spi-fsl-lpspi: downgrade log level for pio mode
spi: spi-fsl-lpspi: Use IRQF_NO_AUTOEN flag in request_irq()
drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()
microblaze: Export xmb_manager functions
arm64: dts: mt8195: Fix dtbs_check error for infracfg_ao node
soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
mmc: mmc_spi: drop buggy snprintf()
tpm: fix signed/unsigned bug when checking event logs
arm64: dts: mt8183: krane: Fix the address of eeprom at i2c4
arm64: dts: mt8183: kukui: Fix the address of eeprom at i2c4
arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad
Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline"
cgroup/bpf: only cgroup v2 can be attached by bpf programs
arm64: dts: mt8183: fennel: add i2c2's i2c-scl-internal-delay-ns
arm64: dts: mt8183: burnet: add i2c2's i2c-scl-internal-delay-ns
arm64: dts: mt8183: cozmo: add i2c2's i2c-scl-internal-delay-ns
arm64: dts: mt8183: Damu: add i2c2's i2c-scl-internal-delay-ns
pwm: imx27: Workaround of the pwm output bug when decrease the duty cycle
ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
pmdomain: ti-sci: Add missing of_node_put() for args.np
spi: tegra210-quad: Avoid shift-out-of-bounds
spi: zynqmp-gqspi: Undo runtime PM changes at driver exit time
regmap: irq: Set lockdep class for hierarchical IRQ domains
arm64: dts: mt8183: jacuzzi: Move panel under aux-bus
arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names
arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators
selftests/resctrl: Protect against array overrun during iMC config parsing
firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
venus: venc: add handling for VIDIOC_ENCODER_CMD
media: venus: provide ctx queue lock for ioctl synchronization
media: atomisp: Add check for rgby_data memory allocation failure
platform/x86: panasonic-laptop: Return errno correctly in show callback
drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused
drm/vc4: hvs: Don't write gamma luts on 2711
drm/vc4: hdmi: Avoid hang with debug registers when suspended
drm/vc4: hvs: Fix dlist debug not resetting the next entry pointer
drm/vc4: hvs: Remove incorrect limit from hvs_dlist debugfs function
drm/vc4: hvs: Correct logic on stopping an HVS channel
wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
drm/omap: Fix possible NULL dereference
drm/omap: Fix locking in omap_gem_new_dmabuf()
wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq()
wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
drm/imx/dcss: Use IRQF_NO_AUTOEN flag in request_irq()
drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq()
drm/v3d: Address race-condition in MMU flush
wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss1
wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss2
dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
ASoC: fsl_micfil: fix regmap_write_bits usage
ASoC: dt-bindings: mt6359: Update generic node name and dmic-mode
drm/bridge: anx7625: Drop EDID cache on bridge power off
libbpf: Fix output .symtab byte-order during linking
bpf: Fix the xdp_adjust_tail sample prog issue
selftests/bpf: Add csum helpers
selftests/bpf: Fix backtrace printing for selftests crashes
selftests/bpf: add missing header include for htons
libbpf: fix sym_is_subprog() logic for weak global subprogs
libbpf: never interpret subprogs in .text as entry programs
netdevsim: copy addresses for both in and out paths
drm/bridge: tc358767: Fix link properties discovery
selftests/bpf: Fix msg_verify_data in test_sockmap
selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap
wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
drm: fsl-dcu: enable PIXCLK on LS1021A
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.c
octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c
drm/panfrost: Remove unused id_mask from struct panfrost_model
bpf, arm64: Remove garbage frame for struct_ops trampoline
drm/msm/adreno: Use IRQF_NO_AUTOEN flag in request_irq()
drm/msm/gpu: Add devfreq tuning debugfs
drm/msm/gpu: Bypass PM QoS constraint for idle clamp
drm/msm/gpu: Check the status of registration to PM QoS
drm/etnaviv: Request pages from DMA32 zone on addressing_limited
drm/etnaviv: fix power register offset on GC300
drm/etnaviv: hold GPU lock across perfmon sampling
wifi: wfx: Fix error handling in wfx_core_init()
drm/msm/dpu: cast crtc_clk calculation to u64 in _dpu_core_perf_calc_clk()
netfilter: nf_tables: skip transaction if update object is not implemented
netfilter: nf_tables: must hold rcu read lock while iterating object type list
netlink: typographical error in nlmsg_type constants definition
selftests/bpf: Add txmsg_pass to pull/push/pop in test_sockmap
selftests/bpf: Fix SENDPAGE data logic in test_sockmap
selftests/bpf: Fix total_bytes in msg_loop_rx in test_sockmap
selftests/bpf: Add push/pop checking for msg_verify_data in test_sockmap
bpf, sockmap: Several fixes to bpf_msg_push_data
bpf, sockmap: Several fixes to bpf_msg_pop_data
bpf, sockmap: Fix sk_msg_reset_curr
sock_diag: add module pointer to "struct sock_diag_handler"
sock_diag: allow concurrent operations
sock_diag: allow concurrent operation in sock_diag_rcv_msg()
net: use unrcu_pointer() helper
ipv6: release nexthop on device removal
selftests: net: really check for bg process completion
drm/amdkfd: Fix wrong usage of INIT_WORK()
net: rfkill: gpio: Add check for clk_enable()
ALSA: usx2y: Use snd_card_free_when_closed() at disconnection
ALSA: us122l: Use snd_card_free_when_closed() at disconnection
ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
ALSA: 6fire: Release resources at card release
Bluetooth: fix use-after-free in device_for_each_child()
netpoll: Use rcu_access_pointer() in netpoll_poll_lock
wireguard: selftests: load nf_conntrack if not present
bpf: fix recursive lock when verdict program return SK_PASS
unicode: Fix utf8_load() error path
trace/trace_event_perf: remove duplicate samples on the first tracepoint event
pinctrl: zynqmp: drop excess struct member description
powerpc/vdso: Flag VDSO64 entry points as functions
mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
mfd: da9052-spi: Change read-mask to write-mask
mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices
cpufreq: loongson2: Unregister platform_driver on failure
powerpc/fadump: Refactor and prepare fadump_cma_init for late init
powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
memory: renesas-rpc-if: Improve Runtime PM handling
memory: renesas-rpc-if: Pass device instead of rpcif to rpcif_*()
memory: renesas-rpc-if: Remove Runtime PM wrappers
mtd: hyperbus: rpc-if: Convert to platform remove callback returning void
mtd: hyperbus: rpc-if: Add missing MODULE_DEVICE_TABLE
mtd: rawnand: atmel: Fix possible memory leak
powerpc/mm/fault: Fix kfence page fault reporting
powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci
RDMA/hns: Add clear_hem return value to log
RDMA/hns: Use dev_* printings in hem code instead of ibdev_*
RDMA/hns: Remove unnecessary QP type checks
RDMA/hns: Fix cpu stuck caused by printings during reset
RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey
clk: sunxi-ng: d1: Fix PLL_AUDIO0 preset
clk: renesas: rzg2l: Fix FOUTPOSTDIV clk
clk: imx: lpcg-scu: SW workaround for errata (e10858)
clk: imx: fracn-gppll: correct PLL initialization flow
clk: imx: fracn-gppll: fix pll power up
clk: imx: clk-scu: fix clk enable state save and restore
iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
iommu/vt-d: Fix checks and print in pgtable_walk()
mfd: rt5033: Fix missing regmap_del_irq_chip()
fs/proc/kcore.c: fix coccinelle reported ERROR instances
scsi: bfa: Fix use-after-free in bfad_im_module_exit()
scsi: fusion: Remove unused variable 'rc'
scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
RDMA/hns: Fix out-of-order issue of requester when setting FENCE
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_cost()
cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_power()
ocfs2: fix uninitialized value in ocfs2_file_read_iter()
dax: delete a stale directory pmem
KVM: PPC: Book3S HV: Stop using vc->dpdes for nested KVM guests
KVM: PPC: Book3S HV: Avoid returning to nested hypervisor on pending doorbells
powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static
powerpc/kexec: Fix return of uninitialized variable
fbdev/sh7760fb: Alloc DMA memory from hardware device
fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
clk: clk-apple-nco: Add NULL check in applnco_probe
dt-bindings: clock: axi-clkgen: include AXI clk
clk: clk-axi-clkgen: make sure to enable the AXI bus clock
pinctrl: k210: Undef K210_PC_DEFAULT
smb: cached directories can be more than root file handle
mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb()
perf cs-etm: Don't flush when packet_queue fills up
PCI: Fix reset_method_store() memory leak
perf stat: Close cork_fd when create_perf_stat_counter() failed
perf stat: Fix affinity memory leaks on error path
f2fs: compress: fix inconsistent update of i_blocks in release_compress_blocks and reserve_compress_blocks
f2fs: fix to account dirty data in __get_secs_required()
perf probe: Fix libdw memory leak
perf probe: Correct demangled symbols in C++ program
PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
PCI: cpqphp: Fix PCIBIOS_* return value confusion
perf ftrace latency: Fix unit on histogram first entry when using --use-nsec
f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block
f2fs: remove struct segment_allocation default_salloc_ops
f2fs: open code allocate_segment_by_default
f2fs: remove the unused flush argument to change_curseg
f2fs: check curseg->inited before write_sum_page in change_curseg
f2fs: fix to avoid use GC_AT when setting gc_mode as GC_URGENT_LOW or GC_URGENT_MID
f2fs: fix to avoid forcing direct write to use buffered IO on inline_data inode
perf trace: avoid garbage when not printing a trace event's arguments
m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
m68k: coldfire/device.c: only build FEC when HW macros are defined
svcrdma: Address an integer overflow
perf trace: Do not lose last events in a race
perf trace: Avoid garbage when not printing a syscall's arguments
remoteproc: qcom: q6v5: Use _clk_get_optional for aggre2_clk
remoteproc: qcom: pas: add minidump_id to SM8350 resources
rpmsg: glink: Fix GLINK command prefix
rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region
NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
sunrpc: simplify two-level sysctl registration for svcrdma_parm_table
svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()
NFSD: Fix nfsd4_shutdown_copy()
hwmon: (tps23861) Fix reporting of negative temperatures
vdpa/mlx5: Fix suboptimal range on iotlb iteration
selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels
vfio/pci: Properly hide first-in-list PCIe extended capability
fs_parser: update mount_api doc to match function signature
LoongArch: Tweak CFLAGS for Clang compatibility
LoongArch: Fix build failure with GCC 15 (-std=gnu23)
LoongArch: BPF: Sign-extend return values
power: supply: core: Remove might_sleep() from power_supply_put()
power: supply: bq27xxx: Fix registers of bq27426
net: usb: lan78xx: Fix double free issue with interrupt buffer allocation
net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets
net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
s390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()
net/ipv6: delete temporary address if mngtmpaddr is removed or unmanaged
net: mdio-ipq4019: add missing error check
marvell: pxa168_eth: fix call balance of pep->clk handling routines
net: stmmac: dwmac-socfpga: Set RX watchdog interrupt as broken
octeontx2-af: RPM: Fix mismatch in lmac type
spi: atmel-quadspi: Fix register name in verbose logging function
net: hsr: fix hsr_init_sk() vs network/transport headers.
bnxt_en: Reserve rings after PCIe AER recovery if NIC interface is down
Bluetooth: MGMT: Fix slab-use-after-free Read in set_powered_sync
crypto: api - Add crypto_tfm_get
crypto: api - Add crypto_clone_tfm
llc: Improve setsockopt() handling of malformed user input
rxrpc: Improve setsockopt() handling of malformed user input
tcp: Fix use-after-free of nreq in reqsk_timer_handler().
ip6mr: fix tables suspicious RCU usage
ipmr: fix tables suspicious RCU usage
iio: light: al3010: Fix an error handling path in al3010_probe()
usb: using mutex lock and supporting O_NONBLOCK flag in iowarrior_read()
usb: yurex: make waiting on yurex_write interruptible
USB: chaoskey: fail open after removal
USB: chaoskey: Fix possible deadlock chaoskey_list_lock
misc: apds990x: Fix missing pm_runtime_disable()
counter: stm32-timer-cnt: Add check for clk_enable()
counter: ti-ecap-capture: Add check for clk_enable()
ALSA: hda/realtek: Update ALC256 depop procedure
apparmor: fix 'Do simple duplicate message elimination'
ASoC: amd: yc: Fix for enabling DMIC on acp6x via _DSD entry
mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
fs/ntfs3: Fixed overflow check in mi_enum_attr()
ntfs3: Add bounds checking to mi_enum_attr()
scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
xfs: add bounds checking to xlog_recover_process_data
xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
ALSA: usb-audio: Fix out of bounds reads when finding clock sources
usb: ehci-spear: fix call balance of sehci clk handling routines
media: aspeed: Fix memory overwrite if timing is 1600x900
wifi: iwlwifi: mvm: avoid NULL pointer dereference
drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw
drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw
drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
drm/amd/display: Check phantom_stream before it is used
rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations
perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated
mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
Revert "arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled"
arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
mm/slab: decouple ARCH_KMALLOC_MINALIGN from ARCH_DMA_MINALIGN
powerpc: move the ARCH_DMA_MINALIGN definition to asm/cache.h
dma: allow dma_get_cache_alignment() to be overridden by the arch code
ASoC: Intel: sst: Fix used of uninitialized ctx to log an error
soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
ext4: supress data-race warnings in ext4_free_inodes_{count,set}()
ext4: fix FS_IOC_GETFSMAP handling
jfs: xattr: check invalid xattr size more strictly
ASoC: amd: yc: Add a quirk for microfone on Lenovo ThinkPad P14s Gen 5 21MES00B00
ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()
perf/x86/intel/pt: Fix buffer full but size is 0 case
crypto: x86/aegis128 - access 32-bit arguments as 32-bit
KVM: x86/mmu: Skip the "try unsync" path iff the old SPTE was a leaf SPTE
powerpc/pseries: Fix KVM guest detection for disabling hardlockup detector
KVM: arm64: vgic-v3: Sanitise guest writes to GICR_INVLPIR
KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status
PCI: Fix use-after-free of slot->bus on hot remove
fsnotify: fix sending inotify event with unexpected filename
comedi: Flush partial mappings in error case
apparmor: test: Fix memory leak for aa_unpack_strdup()
tty: ldsic: fix tty_ldisc_autoload sysctl's proc_handler
locking/lockdep: Avoid creating new name string literals in lockdep_set_subclass()
pinctrl: qcom: spmi: fix debugfs drive strength
dt-bindings: iio: dac: ad3552r: fix maximum spi speed
exfat: fix uninit-value in __exfat_get_dentry_set
Bluetooth: Fix type of len in rfcomm_sock_getsockopt{,_old}()
usb: xhci: Fix TD invalidation under pending Set TR Dequeue
driver core: bus: Fix double free in driver API bus_register()
wifi: rtlwifi: Drastically reduce the attempts to read efuse in case of failures
wifi: brcmfmac: release 'root' node in all execution paths
Revert "usb: gadget: composite: fix OS descriptors w_value logic"
serial: sh-sci: Clean sci_ports[0] after at earlycon exit
Revert "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
gpio: exar: set value when external pull-up or pull-down is present
netfilter: ipset: add missing range check in bitmap_ip_uadt
spi: Fix acpi deferred irq probe
mtd: spi-nor: core: replace dummy buswidth from addr to data
cpufreq: mediatek-hw: Fix wrong return value in mtk_cpufreq_get_cpu_power()
parisc/ftrace: Fix function graph tracing disablement
platform/chrome: cros_ec_typec: fix missing fwnode reference decrement
ubi: wl: Put source PEB into correct list if trying locking LEB failed
um: ubd: Do not use drvdata in release
um: net: Do not use drvdata in release
dt-bindings: serial: rs485: Fix rs485-rts-delay property
serial: 8250_fintek: Add support for F81216E
serial: 8250: omap: Move pm_runtime_get_sync
um: vector: Do not use drvdata in release
sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
ublk: fix ublk_ch_mmap() for 64K page size
arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
block: fix ordering between checking BLK_MQ_S_STOPPED request adding
HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
media: wl128x: Fix atomicity violation in fmc_send_cmd()
soc: fsl: rcpm: fix missing of_node_put() in copy_ippdexpcr1_setting()
media: v4l2-core: v4l2-dv-timings: check cvt/gtf result
ALSA: pcm: Add sanity NULL check for the default mmap fault handler
ALSA: hda/realtek: Update ALC225 depop procedure
ALSA: hda/realtek: Set PCBeep to default value for ALC274
ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
ALSA: hda/realtek: Apply quirk for Medion E15433
smb3: request handle caching when caching directories
usb: musb: Fix hardware lockup on first Rx endpoint request
usb: dwc3: gadget: Fix checking for number of TRBs left
usb: dwc3: gadget: Fix looping of queued SG entries
ublk: fix error code for unsupported command
lib: string_helpers: silence snprintf() output truncation warning
ipc: fix memleak if msg_init_ns failed in create_ipc_ns
NFSD: Prevent a potential integer overflow
SUNRPC: make sure cache entry active before cache_show
um: Fix potential integer overflow during physmem setup
um: Fix the return value of elf_core_copy_task_fpregs
um: Always dump trace for specified task in show_stack
NFSv4.0: Fix a use-after-free problem in the asynchronous open()
rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
rtc: abx80x: Fix WDT bit position of the status register
rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
ubi: fastmap: wl: Schedule fm_work if wear-leveling pool is empty
ubifs: Correct the total block count by deducting journal reservation
ubi: fastmap: Fix duplicate slab cache names while attaching
ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit
jffs2: fix use of uninitialized variable
rtc: rzn1: fix BCD to rtc_time conversion errors
block: return unsigned int from bdev_io_min
9p/xen: fix init sequence
9p/xen: fix release of IRQ
perf/arm-smmuv3: Fix lockdep assert in ->event_init()
perf/arm-cmn: Ensure port and device id bits are set properly
rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
modpost: remove incorrect code in do_eisa_entry()
nfs: ignore SB_RDONLY when mounting nfs
sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
sh: intc: Fix use-after-free bug in register_intc_controller()
xfs: remove unknown compat feature check in superblock write validation
quota: flush quota_release_work upon quota writeback
btrfs: don't loop for nowait writes when checking for cross references
btrfs: add might_sleep() annotations
btrfs: add a sanity check for btrfs root in btrfs_search_slot()
btrfs: ref-verify: fix use-after-free after invalid ref action
arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
media: amphion: Set video drvdata before register video device
media: imx-jpeg: Set video drvdata before register video device
media: i2c: dw9768: Fix pm_runtime_set_suspended() with runtime pm enabled
arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
media: i2c: tc358743: Fix crash in the probe error path when using polling
media: imx-jpeg: Ensure power suppliers be suspended before detach them
media: ts2020: fix null-ptr-deref in ts2020_probe()
media: platform: exynos4-is: Fix an OF node reference leak in fimc_md_is_isp_available
media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled
media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
media: uvcvideo: Stop stream during unregister
media: uvcvideo: Require entities to have a non-zero unique ID
ovl: Filter invalid inodes with missing lookup function
maple_tree: refine mas_store_root() on storing NULL
ftrace: Fix regression with module command in stack_trace_filter
vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
iommu/io-pgtable-arm: Fix stage-2 map/unmap for concatenated tables
leds: lp55xx: Remove redundant test for invalid channel number
clk: qcom: gcc-qcs404: fix initial rate of GPLL3
ad7780: fix division by zero in ad7780_write_raw()
ARM: 9429/1: ioremap: Sync PGDs for VMALLOC shadow
s390/entry: Mark IRQ entries to fix stack depot warnings
ARM: 9430/1: entry: Do a dummy read from VMAP shadow
ARM: 9431/1: mm: Pair atomic_set_release() with _read_acquire()
ceph: extract entity name from device id
util_macros.h: fix/rework find_closest() macros
scsi: ufs: exynos: Fix hibern8 notify callbacks
i3c: master: svc: Fix pm_runtime_set_suspended() with runtime pm enabled
i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
PCI: keystone: Set mode as Root Complex for "ti,keystone-pcie" compatible
PCI: keystone: Add link up check to ks_pcie_other_map_bus()
fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero
thermal: int3400: Fix reading of current_uuid for active policy
ovl: properly handle large files in ovl_security_fileattr
dm thin: Add missing destroy_work_on_stack()
PCI: rockchip-ep: Fix address translation unit programming
nfsd: make sure exp active before svc_export_show
nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name()
iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
powerpc: Fix stack protector Kconfig test for clang
powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang
btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
drm/sti: avoid potential dereference of error pointers
drm/etnaviv: flush shader L1 cache after user commandstream
drm/amd/pm: update current_socclk and current_uclk in gpu_metrics on smu v13.0.7
iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
watchdog: apple: Actually flush writes after requesting watchdog restart
watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
can: gs_usb: remove leading space from goto labels
can: gs_usb: gs_usb_probe(): align block comment
can: gs_usb: uniformly use "parent" as variable name for struct gs_usb
can: gs_usb: add VID/PID for Xylanta SAINT3 product family
can: gs_usb: add usb endpoint address detection at driver probe step
can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
can: hi311x: hi3110_can_ist(): fix potential use-after-free
can: m_can: m_can_handle_lec_err(): fix {rx,tx}_errors statistics
can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
can: sja1000: sja1000_err(): fix {rx,tx}_errors statistics
can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
netfilter: x_tables: fix LED ID check in led_tg_check()
netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
ptp: convert remaining drivers to adjfine interface
ptp: Add error handling for adjfine callback in ptp_clock_adjtime
net/sched: tbf: correct backlog statistic for GSO packets
net: hsr: avoid potential out-of-bound access in fill_frame_info()
can: j1939: j1939_session_new(): fix skb reference counting
net-timestamp: make sk_tskey more predictable in error path
net/ipv6: release expired exception dst cached in socket
dccp: Fix memory leak in dccp_feat_change_recv
tipc: Fix use-after-free of kernel socket in cleanup_bearer().
net/smc: fix LGR and link use-after-free issue
net/qed: allow old cards not supporting "num_images" to work
ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5
ixgbe: downgrade logging of unsupported VF API version to debug
igb: Fix potential invalid memory access in igb_init_module()
net: sched: fix erspan_opt settings in cls_flower
netfilter: ipset: Hold module reference while requesting a module
netfilter: nft_set_hash: skip duplicated elements pending gc run
ethtool: Fix wrong mod state in case of verbose and no_mask bitset
geneve: do not assume mac header is set in geneve_xmit_skb()
net/mlx5e: Remove workaround to avoid syndrome for internal port
KVM: arm64: Change kvm_handle_mmio_return() return polarity
KVM: arm64: Don't retire aborted MMIO instruction
gpio: grgpio: use a helper variable to store the address of ofdev->dev
gpio: grgpio: Add NULL check in grgpio_probe
serial: amba-pl011: Use port lock wrappers
serial: amba-pl011: Fix RX stall when DMA is used
usb: dwc3: gadget: Rewrite endpoint allocation flow
usb: dwc3: ep0: Don't reset resource alloc flag (including ep0)
usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED
powerpc/vdso: Skip objtool from running on VDSO files
powerpc/vdso: Remove unused '-s' flag from ASFLAGS
powerpc/vdso: Improve linker flags
powerpc/vdso: Remove an unsupported flag from vgettimeofday-32.o with clang
powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y
powerpc/vdso: Refactor CFLAGS for CVDSO build
powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang
ntp: Remove invalid cast in time offset math
driver core: fw_devlink: Improve logs for cycle detection
driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
driver core: fw_devlink: Stop trying to optimize cycle detection logic
i3c: Make i3c_master_unregister() return void
i3c: master: add enable(disable) hot join in sys entry
i3c: master: svc: add hot join support
i3c: master: fix kernel-doc check warning
i3c: master: support to adjust first broadcast address speed
i3c: master: svc: use slow speed for first broadcast address
i3c: master: svc: Modify enabled_events bit 7:0 to act as IBI enable counter
i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED
i3c: master: Fix dynamic address leak when 'assigned-address' is present
PCI: endpoint: Use a separate lock for protecting epc->pci_epf list
PCI: endpoint: Clear secondary (not primary) EPC in pci_epc_remove_epf()
device property: Constify device child node APIs
device property: Add cleanup.h based fwnode_handle_put() scope based cleanup.
device property: Introduce device_for_each_child_node_scoped()
leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths
drm/bridge: it6505: update usleep_range for RC circuit charge time
drm/bridge: it6505: Fix inverted reset polarity
xsk: always clear DMA mapping information when unmapping the pool
bpftool: Remove asserts from JIT disassembler
bpftool: fix potential NULL pointer dereferencing in prog_dump()
drm/sti: Add __iomem for mixer_dbg_mxn's parameter
tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
ALSA: usb-audio: Notify xrun for low-latency mode
tools: Override makefile ARCH variable if defined, but empty
spi: mpc52xx: Add cancel_work_sync before module remove
scsi: scsi_debug: Fix hrtimer support for ndelay
drm/v3d: Enable Performance Counters before clearing them
ocfs2: free inode when ocfs2_get_init_inode() fails
scatterlist: fix incorrect func name in kernel-doc
iio: magnetometer: yas530: use signed integer type for clamp limits
bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
bpf: Remove unnecessary kfree(im_node) in lpm_trie_update_elem
bpf: Handle in-place update for full LPM trie correctly
bpf: Fix exact match conditions in trie_get_next_key()
mm: page_alloc: move mlocked flag clearance into free_pages_prepare()
HID: wacom: fix when get product name maybe null pointer
LoongArch: Add architecture specific huge_pte_clear()
ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
watchdog: rti: of: honor timeout-sec property
can: dev: can_set_termination(): allow sleeping GPIOs
can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6.
tracing: Fix cmp_entries_dup() to respect sort() comparison rules
arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs
arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL
ALSA: usb-audio: add mixer mapping for Corsair HS80
ALSA: hda/realtek: Enable mute and micmute LED on HP ProBook 430 G8
ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG)
scsi: qla2xxx: Fix abort in bsg timeout
scsi: qla2xxx: Fix NVMe and NPIV connect issue
scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
scsi: qla2xxx: Fix use after free on unload
scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
scsi: ufs: core: sysfs: Prevent div by zero
scsi: ufs: core: Add missing post notify for power mode change
nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
drm/dp_mst: Fix MST sideband message body length check
drm/dp_mst: Verify request type in the corresponding down message reply
drm/dp_mst: Fix resetting msg rx state after topology removal
drm/amdgpu/hdp5.2: do a posting read when flushing HDP
modpost: Add .irqentry.text to OTHER_SECTIONS
bpf: fix OOB devmap writes when deleting elements
dma-buf: fix dma_fence_array_signaled v4
dma-fence: Fix reference leak on fence merge failure path
dma-fence: Use kernel's sort for merging fences
xsk: fix OOB map writes when deleting elements
regmap: detach regmap from dev on regmap_exit
mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
mmc: core: Further prevent card detect during shutdown
ocfs2: update seq_file index in ocfs2_dlm_seq_next
lib: stackinit: hide never-taken branch from compiler
iommu/arm-smmu: Defer probe of clients after smmu device bound
epoll: annotate racy check
s390/cpum_sf: Handle CPU hotplug remove during sampling
btrfs: avoid unnecessary device path update for the same device
btrfs: do not clear read-only when adding sprout device
kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all()
kcsan: Turn report_filterlist_lock into a raw_spinlock
perf/x86/amd: Warn only on new bits set
media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
mmc: core: Add SD card quirk for broken poweroff notification
soc: imx8m: Probe the SoC driver as platform driver
HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support
drm/vc4: hdmi: Avoid log spam for audio start failure
drm/vc4: hvs: Set AXI panic modes for the HVS
drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
drm/bridge: it6505: Enable module autoloading
drm/mcde: Enable module autoloading
drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
drm/display: Fix building with GCC 15
r8169: don't apply UDP padding quirk on RTL8126A
samples/bpf: Fix a resource leak
net: fec_mpc52xx_phy: Use %pa to format resource_size_t
net: ethernet: fs_enet: Use %pa to format resource_size_t
net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
af_packet: avoid erroring out after sock_init_data() in packet_create()
Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()
net: af_can: do not leave a dangling sk pointer in can_create()
net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
net: inet: do not leave a dangling sk pointer in inet_create()
net: inet6: do not leave a dangling sk pointer in inet6_create()
wifi: ath5k: add PCI ID for SX76X
wifi: ath5k: add PCI ID for Arcadyan devices
drm/panel: simple: Add Microchip AC69T88A LVDS Display panel
net: sfp: change quirks for Alcatel Lucent G-010S-P
drm/sched: memset() 'job' in drm_sched_job_init()
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih
drm/amdgpu: Dereference the ATCS ACPI buffer
drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
dma-debug: fix a possible deadlock on radix_lock
jfs: array-index-out-of-bounds fix in dtReadFirst
jfs: fix shift-out-of-bounds in dbSplit
jfs: fix array-index-out-of-bounds in jfs_readdir
jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
ALSA: usb-audio: Make mic volume workarounds globally applicable
drm/amdgpu: set the right AMDGPU sg segment limitation
wifi: ipw2x00: libipw_rx_any(): fix bad alignment
wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
dsa: qca8k: Use nested lock to avoid splat
Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
ASoC: hdmi-codec: reorder channel allocation list
rocker: fix link status detection in rocker_carrier_init()
net/neighbor: clear error in case strict check is not set
netpoll: Use rcu_access_pointer() in __netpoll_setup
pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
tracing/ftrace: disable preemption in syscall probe
tracing: Use atomic64_inc_return() in trace_clock_counter()
tools/rtla: fix collision with glibc sched_attr/sched_set_attr
scsi: hisi_sas: Add cond_resched() for no forced preemption model
scsi: ufs: core: Make DMA mask configuration more flexible
leds: class: Protect brightness_show() with led_cdev->led_access mutex
scsi: st: Don't modify unknown block number in MTIOCGET
scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
pinctrl: qcom-pmic-gpio: add support for PM8937
pinctrl: qcom: spmi-mpp: Add PM8937 compatible
nvdimm: rectify the illogical code within nd_dax_probe()
smb: client: memcpy() with surrounding object base address
verification/dot2: Improve dot parser robustness
f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
PCI: Detect and trust built-in Thunderbolt chips
PCI: Add 'reset_subordinate' to reset hierarchy below bridge
PCI: Add ACS quirk for Wangxun FF5xxx NICs
i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
LoongArch: Fix sleeping in atomic context for PREEMPT_RT
usb: chipidea: udc: handle USB Error Interrupt if IOC not set
iio: light: ltr501: Add LTER0303 to the supported devices
MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
powerpc/prom_init: Fixup missing powermac #size-cells
misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
rtc: cmos: avoid taking rtc_lock for extended period of time
serial: 8250_dw: Add Sophgo SG2044 quirk
io_uring/tctx: work around xa_store() allocation error issue
kasan: suppress recursive reports for HW_TAGS
kasan: make report_lock a raw spinlock
sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
sched/core: Prevent wakeup of ksoftirqd during idle load balance
btrfs: fix missing snapshot drew unlock when root is dead during swap activation
tracing/eprobe: Fix to release eprobe when failed to add dyn_event
Revert "unicode: Don't special case ignorable code points"
vfio/mlx5: Align the page tracking max message size with the device capability
udf: Fold udf_getblk() into udf_bread()
KVM: arm64: vgic-its: Add a data length check in vgic_its_save_*
KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device
KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE
KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()
jffs2: Prevent rtime decompress memory corruption
jffs2: Fix rtime decompressor
mm/damon/vaddr: fix issue in damon_va_evenly_split_region()
io_uring: wake up optimisations
xhci: dbc: Fix STALL transfer event handling
mmc: mtk-sd: Fix error handle of probe function
drm/amd/display: Check BIOS images before it is used
ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()"
gve: Fixes for napi_poll when budget is 0
arm64/sve: Discard stale CPU state when handling SVE traps
arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint
ASoC: Intel: avs: Fix return status of avs_pcm_hw_constraints_init()
mm: call the security_mmap_file() LSM hook in remap_file_pages()
bpf: Fix helper writes to read-only maps
net: Move {l,t,d}stats allocation to core and convert veth & vrf
bpf: Fix dev's rx stats for bpf_redirect_peer traffic
veth: Use tstats per-CPU traffic counters
drm/ttm: Make sure the mapped tt pages are decrypted when needed
drm/ttm: Print the memory decryption status just once
drm/amdgpu: rework resume handling for display (v2)
usb: dwc3: ep0: Don't reset resource alloc flag
serial: amba-pl011: fix build regression
i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin
i3c: master: svc: fix possible assignment of the same address to two devices
PM / devfreq: Fix build issues with devfreq disabled
drm/msm: DEVFREQ_GOV_SIMPLE_ONDEMAND is no longer needed
fs/ntfs3: Sequential field availability check in mi_enum_attr()
i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition
Bluetooth: MGMT: Fix possible deadlocks
Linux 6.1.120
Change-Id: I24f6ce90b8645d57a8983ba58ed74b0542e6c868
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
|
||
|
|
04df8ff9ab |
Merge 4118bd1834 ("KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()") into android14-6.1-lts
Steps on the way to 6.1.121 Resolves merge conflicts in: arch/arm64/kvm/vgic/vgic-its.c arch/arm64/kvm/vgic/vgic.h Change-Id: I0841e064555bb23ffab537b15b4425a7ab4b8efc Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> |
||
|
|
d61182f8b1 |
Revert "scsi: ufs: core: Make DMA mask configuration more flexible"
This reverts commit
|
||
|
|
9da7c09f0b |
Merge eed8395d94 ("udf: Fold udf_getblk() into udf_bread()") into android14-6.1-lts
Steps on the way to 6.1.121 Resolves merge conflicts in: mm/kasan/report.c Change-Id: Ib310935a500ec1829d89bb0de679d6dc0645aeb9 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> |
||
|
|
87f1720a7f |
Revert "device property: Constify device child node APIs"
This reverts commit |
||
|
|
8d0582984f |
Revert "device property: Add cleanup.h based fwnode_handle_put() scope based cleanup."
This reverts commit
|
||
|
|
872fb392d5 |
Revert "device property: Introduce device_for_each_child_node_scoped()"
This reverts commit
|
||
|
|
f5e8852244 |
Revert "leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths"
This reverts commit
|
||
|
|
3504076522 |
Revert "i3c: Make i3c_master_unregister() return void"
This reverts commit |
||
|
|
86f0a42718 |
Revert "i3c: master: add enable(disable) hot join in sys entry"
This reverts commit
|
||
|
|
b16f40cc36 |
Revert "i3c: master: svc: add hot join support"
This reverts commit
|
||
|
|
ad10d48070 |
Revert "i3c: master: fix kernel-doc check warning"
This reverts commit
|