Minchan Kim
05de9bcede
UPSTREAM: kernfs: prevent early freeing of root node
...
Marek reported the warning below.
=========================
WARNING: held lock freed!
5.16.0-rc2+ #10984 Not tainted
-------------------------
kworker/1:0/18 is freeing memory ffff00004034e200-ffff00004034e3ff,
with a lock still held there!
ffff00004034e348 (&root->kernfs_rwsem){++++}-{3:3}, at:
__kernfs_remove+0x310/0x37c
3 locks held by kworker/1:0/18:
#0 : ffff000040107938 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at:
process_one_work+0x1f0/0x6f0
#1 : ffff80000b55bdc0
((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at:
process_one_work+0x1f0/0x6f0
#2 : ffff00004034e348 (&root->kernfs_rwsem){++++}-{3:3}, at:
__kernfs_remove+0x310/0x37c
stack backtrace:
CPU: 1 PID: 18 Comm: kworker/1:0 Not tainted 5.16.0-rc2+ #10984
Hardware name: Raspberry Pi 4 Model B (DT)
Workqueue: cgroup_destroy css_free_rwork_fn
Call trace:
dump_backtrace+0x0/0x1ac
show_stack+0x18/0x24
dump_stack_lvl+0x8c/0xb8
dump_stack+0x18/0x34
debug_check_no_locks_freed+0x124/0x140
kfree+0xf0/0x3a4
kernfs_put+0x1f8/0x224
__kernfs_remove+0x1b8/0x37c
kernfs_destroy_root+0x38/0x50
css_free_rwork_fn+0x288/0x3d4
process_one_work+0x288/0x6f0
worker_thread+0x74/0x470
kthread+0x188/0x194
ret_from_fork+0x10/0x20
Since kernfs moves the kernfs_rwsem lock into root, it couldn't hold
the lock when the root node is tearing down. Thus, get the refcount
of root node.
Fixes: 393c371408 ("kernfs: switch global kernfs_rwsem lock to per-fs lock")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Acked-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Minchan Kim <minchan@kernel.org >
Link: https://lore.kernel.org/r/20211201231648.1027165-1-minchan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 555a0ce455 )
Bug: 320903885
Change-Id: If96f85b88b662e88430c9c8d1efb436e9a80ddcf
Signed-off-by: Suren Baghdasaryan <surenb@google.com >
2024-01-31 12:33:54 -08:00
Minchan Kim
d8dbc91f9a
UPSTREAM: kernfs: switch global kernfs_rwsem lock to per-fs lock
...
The kernfs implementation has big lock granularity(kernfs_rwsem) so
every kernfs-based(e.g., sysfs, cgroup) fs are able to compete the
lock. It makes trouble for some cases to wait the global lock
for a long time even though they are totally independent contexts
each other.
A general example is process A goes under direct reclaim with holding
the lock when it accessed the file in sysfs and process B is waiting
the lock with exclusive mode and then process C is waiting the lock
until process B could finish the job after it gets the lock from
process A.
This patch switches the global kernfs_rwsem to per-fs lock, which
put the rwsem into kernfs_root.
Suggested-by: Tejun Heo <tj@kernel.org >
Acked-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Minchan Kim <minchan@kernel.org >
Link: https://lore.kernel.org/r/20211118230008.2679780-1-minchan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 393c371408 )
Bug: 320903885
Bug: 219424218
Bug: 206126556
Change-Id: I5f942f7a4a18b3c2198496fea789b381ba955d19
Signed-off-by: Suren Baghdasaryan <surenb@google.com >
2024-01-31 12:33:54 -08:00
Greg Kroah-Hartman
73ba66a3c5
Reapply "perf: Disallow mis-matched inherited group reads"
...
This reverts commit 96e78d17ff3251e17ba5894ad194227c0a44adbb.
Keeps the ABI stable by taking advantage of a hole in the structure!
Bug: 307236803
Change-Id: Ic5f7ebeb3a9b13afdb3bfff7e54c4a93b863dab6
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2024-01-31 02:02:04 +00:00
T.J. Mercier
076f9f28f5
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:26 +00:00
Amit Pundir
a330adce53
UPSTREAM: Revert "drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers"
...
This reverts commit f53a045793 .
This and the dependent fixes broke display on RB5.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 146449535
Change-Id: I4fdd0480c2df048a97dff263fc7da4016110c8f8
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
(cherry picked from commit 7aa33c99b5 )
2024-01-30 21:43:26 +05:30
Amit Pundir
ac7b9d215a
UPSTREAM: Revert "drm/bridge: lt9611uxc: Register and attach our DSI device at probe"
...
This reverts commit 29aba28ea1 .
This and the dependent fixes broke display on RB5.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 146449535
Change-Id: I30de5ccc3baca99c876a213ca7884b2dbfed6926
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
(cherry picked from commit 4a8350a0ea )
2024-01-30 21:43:16 +05:30
Amit Pundir
a9030727b0
UPSTREAM: Revert "drm/bridge: lt9611uxc: fix the race in the error path"
...
This reverts commit d0d01bb4a5 .
This and the dependent fixes broke display on RB5.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 146449535
Change-Id: I2b14dacf44678ce65024092f5050ee735d39ea87
Signed-off-by: Amit Pundir <amit.pundir@linaro.org >
(cherry picked from commit e21817ce16 )
2024-01-30 21:42:53 +05:30
Kalesh Singh
d9ce9afcf1
ANDROID: mm: Fix VMA ref count after fast-mremap
...
Since the cmpxchg() to unlock the VMA (reset ref count from -1), is
enclosed in VM_BUG_ON_VMA() it gets compiled out in non-debug builds
(CONFIG_DEBUG_VM=n). This means that any VMA that underwent a fast-remap
will have it's refcount stuck at -1, making it not be eligible for
future speculative faults, and preventing freeing of the VMA.
Bug: 322411509
Change-Id: If5bf61c7d94268700f2c4f096d946201b68abdb8
Signed-off-by: Kalesh Singh <kaleshsingh@google.com >
2024-01-26 04:58:45 +00:00
James Tai
1982cd32ae
ANDROID: GKI: Remove CONFIG_MEDIA_CEC_RC
...
This config will cause the 'CtsHdmiCecHostTestCases' test case to fail.
According to the discussion in bug 309377116, it is recommended to remove this config.
Bug: 322143898
Change-Id: Ied37a6c55f4198dbb9dbb9b6c3156a8a7a0bd945
Signed-off-by: James Tai <james.tai@realtek.com >
2024-01-25 18:22:04 +00:00
Todd Kjos
270ce44fdb
Merge "Merge tag 'android14-5.15.144_r00' into branch 'android14-5.15'" into android14-5.15
2024-01-24 17:27:58 +00:00
John Stultz
9a196e8051
ANDROID: uid_sys_stats: Drop CONFIG_UID_SYS_STATS_DEBUG logic
...
It was pointed out that since commit b6115e140102 ("ANDROID:
uid_sys_stat: split the global lock uid_lock to the fine-grained locks
for each hlist in hash_table") taking a spin_lock in uid_lock()
causes a scheduling while atomic error if CONFIG_UID_SYS_STATS_DEBUG
is enabled, as get_full_task_comm() takes the mmap_write_lock()
which is a semaphore, breaking the proper ordering.
In the GKI CONFIG_UID_SYS_STATS_DEBUG is disabled, so this went
unnoticed.
The uid_sys_stats logic isn't ever going to go upstream (it depends
on reverting upstream logic) and will hopefully be replaced eventually.
So there's not much reason to drag around this debug logic that is
unused.
So drop it. Less code to schlep forward.
Bug: 320184870
Change-Id: I2cfce79d5a25a3eba11a5509444c07b4642ef2de
Signed-off-by: John Stultz <jstultz@google.com >
2024-01-23 17:07:00 +00:00
John Stultz
debd0f470b
ANDROID: uid_sys_stats: Fully initialize uid_entry_tmp value
...
Amit Pundir at Linaro reported seeing crashes in uid_sys_stats
driver when building with GCC.
Looking into it, it seems the uid_entry_tmp value is used
while only partially initialized, causing potential out of bound
access on the uid_entry io arrays.
This likely has gone unnoticed with clang as I believe we're
using the zero initialization for stack variables security
feature.
So change the logic to fully initialize the uid_entry_tmp
value.
Fixes: f68d4f3c3b53 ("ANDROID: uid_sys_stat: instead update_io_stats_uid_locked to update_io_stats_uid")
Reported-by: Amit Pundir <amit.pundir@linaro.org >
Signed-off-by: John Stultz <jstultz@google.com >
Change-Id: I78de245e80ef60aabec78a615c7ba582ab5a2242
2024-01-23 00:56:50 +00:00
Avichal Rakesh
cf1268f696
UPSTREAM: usb: gadget: uvc: Remove nested locking
...
When handling error status from uvcg_video_usb_req_queue,
uvc_video_complete currently calls uvcg_queue_cancel with
video->req_lock held. uvcg_queue_cancel internally locks
queue->irqlock, which nests queue->irqlock inside
video->req_lock. This isn't a functional bug at the
moment, but does open up possibilities for ABBA
deadlocks in the future.
This patch fixes the accidental nesting by dropping
video->req_lock before calling uvcg_queue_cancel.
Fixes: 6acba0345b68 ("usb:gadget:uvc Do not use worker thread to pump isoc usb requests")
Signed-off-by: Avichal Rakesh <arakesh@google.com >
Link: https://lore.kernel.org/r/20240104215009.2252452-2-arakesh@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 314338409
(cherry picked from commit 9866dc4314c6c858e451933f965d64532aec00a9)
Change-Id: I22c79314f6d3ca74c0d53e462a1bde26806d3ff2
Signed-off-by: Avichal Rakesh <arakesh@google.com >
2024-01-22 16:59:57 +00:00
Avichal Rakesh
c9395ddbaa
UPSTREAM: usb: gadget: uvc: Fix use are free during STREAMOFF
...
There is a path that may lead to freed memory being referenced,
causing kernel panics.
The kernel panic has the following stack trace:
Workqueue: uvcgadget uvcg_video_pump.c51fb85fece46625450f86adbf92c56c.cfi_jt
pstate: 60c00085 (nZCv daIf +PAN +UAO -TCO BTYPE=--)
pc : __list_del_entry_valid+0xc0/0xd4
lr : __list_del_entry_valid+0xc0/0xd4
Call trace:
__list_del_entry_valid+0xc0/0xd4
uvc_video_free_request+0x60/0x98
uvcg_video_pump+0x1cc/0x204
process_one_work+0x21c/0x4b8
worker_thread+0x29c/0x574
kthread+0x158/0x1b0
ret_from_fork+0x10/0x30
The root cause is that uvcg_video_usb_req_queue frees the uvc_request
if is_enabled is false and returns an error status. video_pump also
frees the associated request if uvcg_video_usb_req_queue returns an
error status, leading to double free and accessing garbage memory.
To fix the issue, this patch removes freeing logic from
uvcg_video_usb_req_queue, and lets the callers to the function handle
queueing errors as they see fit.
Fixes: 6acba0345b68 ("usb:gadget:uvc Do not use worker thread to pump isoc usb requests")
Tested-by: Avichal Rakesh <arakesh@google.com >
Signed-off-by: Avichal Rakesh <arakesh@google.com >
Link: https://lore.kernel.org/r/20240104215009.2252452-1-arakesh@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 314338409
(cherry picked from commit fe814b5b0f3042f1a583734497e726ee53783cc1)
Change-Id: Ieb5d969fdb23fd549bad88b4f1964128da844ca5
Signed-off-by: Avichal Rakesh <arakesh@google.com >
2024-01-22 16:59:55 +00:00
Paul Lawrence
7a71ed71fc
ANDROID: fuse-bpf: Fix the issue of abnormal lseek system calls
...
fuse_lseek_backing was returning the offset as an int, which would then
be treated as an ERR if in the range 4G-4096 and 4G.
Although the call would appear to work correctly, the file position
would be incorrect according to a subsequent fseek with SEEK_CUR.
Based on a change by chenyuwen <chenyuwen1@meizu.com > who found and
fixed this issue.
Bug: 319219307
Change-Id: I3aef5fb22751a72ce2bd7674ee081956a89fc752
Signed-off-by: chenyuwen <chenyuwen1@meizu.com >
Signed-off-by: Paul Lawrence <paullawrence@google.com >
2024-01-19 20:06:04 +00:00
Qais Yousef
da99db444b
ANDROID: Update the ABI symbol list
...
Adding the following symbols:
- drm_connector_attach_content_protection_property
- drm_hdcp_update_content_protection
- max_load_balance_interval
- register_kretprobe
- static_key_count
- sysctl_sched_min_granularity
- unregister_kretprobe
- usb_role_string
Bug: 269111781
Change-Id: I033015da82594cbbc7309bf816f3f93cc9cfbc7d
Signed-off-by: Qais Yousef <qyousef@google.com >
2024-01-19 04:24:50 +00:00
Qais Yousef
4f66f3be95
ANDROID: Export sysctl_sched_min_granularity
...
It is hidden behind inaccessible debugfs now.
Bug: 269111781
Change-Id: I826d6c8b8c9890bdf1990ae3ab44036c201eb471
Signed-off-by: Qais Yousef <qyousef@google.com >
2024-01-19 04:24:50 +00:00
Vincent Guittot
e32aeb03b9
UPSTREAM: sched/fair: Limit sched slice duration
...
In presence of a lot of small weight tasks like sched_idle tasks, normal
or high weight tasks can see their ideal runtime (sched_slice) to increase
to hundreds ms whereas it normally stays below sysctl_sched_latency.
2 normal tasks running on a CPU will have a max sched_slice of 12ms
(half of the sched_period). This means that they will make progress
every sysctl_sched_latency period.
If we now add 1000 idle tasks on the CPU, the sched_period becomes
3006 ms and the ideal runtime of the normal tasks becomes 609 ms.
It will even become 1500ms if the idle tasks belongs to an idle cgroup.
This means that the scheduler will look for picking another waiting task
after 609ms running time (1500ms respectively). The idle tasks change
significantly the way the 2 normal tasks interleave their running time
slot whereas they should have a small impact.
Such long sched_slice can delay significantly the release of resources
as the tasks can wait hundreds of ms before the next running slot just
because of idle tasks queued on the rq.
Cap the ideal_runtime to sysctl_sched_latency to make sure that tasks will
regularly make progress and will not be significantly impacted by
idle/background tasks queued on the rq.
Bug: 315185352
Bug: 269111781
Change-Id: I27f956ee275d17ef708d8d27dc082c66ed5a5275
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org >
Signed-off-by: Ingo Molnar <mingo@kernel.org >
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com >
Link: https://lore.kernel.org/r/20230113133613.257342-1-vincent.guittot@linaro.org
(cherry picked from commit 79ba1e607d )
Signed-off-by: Qais Yousef <qyousef@google.com >
2024-01-19 04:24:50 +00:00
Carlos Galo
b9e9a2c009
FROMGIT: 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)
Bug: 315560026
Change-Id: I81fb6f3447f432100ad4cd25e22db23768003388
Signed-off-by: Carlos Galo <carlosgalo@google.com >
2024-01-19 00:26:45 +00:00
Rob Hueber
61d5f76a90
UPSTREAM: mmc: core: Do not force a retune before RPMB switch
...
Requesting a retune before switching to the RPMB partition has been
observed to cause CRC errors on the RPMB reads (-EILSEQ).
Since RPMB reads can not be retried, the clients would be directly
affected by the errors.
This commit disables the retune request prior to switching to the RPMB
partition: mmc_retune_pause() no longer triggers a retune before the
pause period begins.
This was verified with the sdhci-of-arasan driver (ZynqMP) configured
for HS200 using two separate eMMC cards (DG4064 and 064GB2). In both
cases, the error was easy to reproduce triggering every few tenths of
reads.
With this commit, systems that were utilizing OP-TEE to access RPMB
variables will experience an enhanced performance. Specifically, when
OP-TEE is configured to employ RPMB as a secure storage solution, it not
only writes the data but also the secure filesystem within the
partition. As a result, retrieving any variable involves multiple RPMB
reads, typically around five.
For context, on ZynqMP, each retune request consumed approximately
8ms. Consequently, reading any RPMB variable used to take at the very
minimum 40ms.
After droping the need to retune before switching to the RPMB partition,
this is no longer the case.
Bug: 317302967
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io >
Acked-by: Avri Altman <avri.altman@wdc.com >
Acked-by: Adrian Hunter <adrian.hunter@intel.com >
Link: https://lore.kernel.org/r/20240103112911.2954632-1-jorge@foundries.io
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
(cherry picked from commit 67380251e8bbd3302c64fea07f95c31971b91c22)
Change-Id: I395b555ab74e203ce20b1cd234b18b0054a2e312
Signed-off-by: Rob Hueber <rhueber@google.com >
2024-01-19 00:24:11 +00:00
Yabin Cui
d85e6cb679
ANDROID: GKI: add symbol list for etm driver
...
Bug: 256184860
Change-Id: Ie31448124d941f1906e72207c0bf8088e99cff05
Signed-off-by: Yabin Cui <yabinc@google.com >
2024-01-18 00:05:21 +00:00
Yabin Cui
eb31cad2df
UPSTREAM: coresight: tmc: Don't enable TMC when it's not ready.
...
If TMC ETR is enabled without being ready, in later use we may
see AXI bus errors caused by accessing invalid addresses.
Bug: 256184860
Change-Id: I9c0b8c7af63a2e2e7469a8537bc721ec6ae6679c
Signed-off-by: Yabin Cui <yabinc@google.com >
[ Tweak error message ]
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com >
Link: https://lore.kernel.org/r/20230127231001.1920947-1-yabinc@google.com
(cherry picked from commit 669c461423 )
2024-01-16 14:41:06 -08:00
Pablo Neira Ayuso
57ddb1ecd7
UPSTREAM: netfilter: nf_tables: bail out on mismatching dynset and set expressions
...
[ Upstream commit 3701cd390fd731ee7ae8b8006246c8db82c72bea ]
If dynset expressions provided by userspace is larger than the declared
set expressions, then bail out.
Bug: 316085841
Fixes: 48b0ae046e ("netfilter: nftables: netlink support for several set element expressions")
Reported-by: Xingyuan Mo <hdthky0@gmail.com >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
(cherry picked from commit cf5f113c41 )
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: I4bd3f7e9148d4bc12bbc67ecdd605c2957eb8010
2024-01-15 14:15:19 +00:00
Greg Kroah-Hartman
f26b6b0390
Merge tag 'android14-5.15.144_r00' into branch 'android14-5.15'
...
This merges the commits up to 5.15.144 LTS into the android14-5.15
branch. Included in here are the following commits:
* 39420ad9b4 ANDROID: GKI: fix crc issue in include/net/addrconf.h
* 856eb60eab Revert "cred: switch to using atomic_long_t"
* 3355035c72 ANDROID: GKI: fix build error with mm/memory_hotplug.c and v5.15.144
* caae297a7b Merge 5.15.144 into android14-5.15-lts
|\
| * 1d146b1875 Linux 5.15.144
| * 4c11798482 r8152: fix the autosuspend doesn't work
| * aa3cc80e8e r8152: remove rtl_vendor_mode function
| * 07ba21627e r8152: avoid to change cfg for all devices
| * fa5f992dcf powerpc/ftrace: Fix stack teardown in ftrace_no_trace
| * 4624f5f298 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
| * 410c05b60c RDMA/irdma: Prevent zero-length STAG registration
| * 93e765523b USB: gadget: core: adjust uevent timing on gadget unbind
| * 529f020f7b ring-buffer: Do not try to put back write_stamp
| * b8d59ea203 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
| * fb63b1f994 ring-buffer: Fix writing to the buffer with max_data_size
| * e9587314fd ring-buffer: Have saved event hold the entire event
| * 8ed7d2800f ring-buffer: Do not update before stamp when switching sub-buffers
| * 547937457f tracing: Update snapshot buffer on resize if it is allocated
| * 97e70d6698 ring-buffer: Fix memory leak of free page
| * f94942885e drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
| * 8175dad2ad team: Fix use-after-free when an option instance allocation fails
| * c2134ed532 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
| * 1bc91916e8 ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
| * 1a4da77ef6 soundwire: stream: fix NULL pointer dereference for multi_link
| * 5a95499843 btrfs: do not allow non subvolume root targets for snapshot
| * 7b427d8cb7 perf: Fix perf_event_validate_size() lockdep splat
| * 27714a22a1 HID: hid-asus: add const to read-only outgoing usb buffer
| * 11c17f4276 net: usb: qmi_wwan: claim interface 4 for ZTE MF290
| * ca15561c99 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
| * 0a3f27d9ad HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
| * 41759fab26 HID: hid-asus: reset the backlight brightness level on resume
| * 9f093e15fa HID: add ALWAYS_POLL quirk for Apple kb
| * 61fc877f7c HID: glorious: fix Glorious Model I HID report
| * 23b08531d8 platform/x86: intel_telemetry: Fix kernel doc descriptions
| * 7020385eff bcache: avoid NULL checking to c->root in run_cache_set()
| * f891bbf13a bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
| * 8758b0532f bcache: remove redundant assignment to variable cur_idx
| * d38288af6f bcache: avoid oversize memory allocation by small stripe_size
| * 252c2a4795 blk-cgroup: bypass blkcg_deactivate_policy after destroying
| * 8146f7a880 blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
| * b7d82e5dbe stmmac: dwmac-loongson: Add architecture dependency
| * 46412b2fb1 usb: aqc111: check packet for fixup for true limit
| * fe13b6a6dd drm/mediatek: Add spinlock for setting vblank event in atomic_begin
| * 6f709907ea PCI: loongson: Limit MRRS to 256
| * 4f4a9fc6b0 Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
| * 2d099b274e ALSA: hda/realtek: Apply mute LED quirk for HP15-db
| * 0239375ecb ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
| * d6df72b2f5 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
| * 45f53ca306 fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
| * f21b7610d5 cred: switch to using atomic_long_t
| * 3a14286402 net: atlantic: fix double free in ring reinit logic
| * 5b87ac25e8 appletalk: Fix Use-After-Free in atalk_ioctl
| * de73f41fd6 net: stmmac: Handle disabled MDIO busses from devicetree
| * 6f3b49a415 net: stmmac: use dev_err_probe() for reporting mdio bus registration failure
| * 90715e0a4c dpaa2-switch: fix size of the dma_unmap
| * 444339f3aa vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
| * a5ab70a9c5 sign-file: Fix incorrect return values check
| * 8eec2dcc4b stmmac: dwmac-loongson: Make sure MDIO is initialized before use
| * abb40550ad net: ena: Fix XDP redirection error
| * 5d45225702 net: ena: Fix xdp drops handling due to multibuf packets
| * 39082715bd net: ena: Destroy correct number of xdp queues upon failure
| * e2b48f9480 net: Remove acked SYN flag from packet in the transmit queue correctly
| * d3b174db0c qed: Fix a potential use-after-free in qed_cxt_tables_alloc
| * 3f1f6a94d8 net/rose: Fix Use-After-Free in rose_ioctl
| * 3bb41dc361 atm: Fix Use-After-Free in do_vcc_ioctl
| * db400b1f8b octeontx2-af: Update RSS algorithm index
| * e0676d37bb octeontx2-pf: Fix promisc mcam entry action
| * 86f50bb2a4 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
| * af7a772166 net: fec: correct queue selection
| * 3c4dcfbff1 net: vlan: introduce skb_vlan_eth_hdr()
| * fe779dbb42 atm: solos-pci: Fix potential deadlock on &tx_queue_lock
| * e16f961f8b atm: solos-pci: Fix potential deadlock on &cli_queue_lock
| * d525bbd9dd qca_spi: Fix reset behavior
| * 4ec0e0e65b qca_debug: Fix ethtool -G iface tx behavior
| * 173fc3212c qca_debug: Prevent crash on TX ring changes
| * 9846d8c8c3 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
| * 77443956e6 HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
| * d37f44beef afs: Fix refcount underflow from error handling race
| * a69d8ee03c ksmbd: fix memory leak in smb2_lock()
| * fd0d9b1674 MIPS: Loongson64: Handle more memory types passed from firmware
| * d9a9d8effd memblock: allow to specify flags with memblock_add_node()
| * 49e0fcb522 mm/memory_hotplug: handle memblock_add_node() failures in add_memory_resource()
| * 5b77f41fb7 netfilter: nf_tables: fix 'exist' matching on bigendian arches
| * 3d4ad03bf1 r8152: add vendor/device ID pair for ASUS USB-C2500
| * 404ce6ee69 r8152: add vendor/device ID pair for D-Link DUB-E250
| * ca75274b17 r8152: add USB device driver for config selection
| * f5494d96bc perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
* | 64f66ea8bd Revert "drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group"
* | 6059359859 Revert "perf/core: Add a new read format to get a number of lost samples"
* | 63d0d92b34 Revert "perf: Fix perf_event_validate_size()"
* | d0ce536133 Revert "hrtimers: Push pending hrtimers away from outgoing CPU earlier"
* | f74b382205 Merge 5.15.143 into android14-5.15-lts
|\|
| * d0fc081c62 Linux 5.15.143
| * 2eba64dcbf devcoredump: Send uevent once devcd is ready
| * 97a9a7cf7f devcoredump : Serialize devcd_del work
| * e5071ae7d8 smb: client: fix potential NULL deref in parse_dfs_referrals()
| * d2bafe84dd cifs: Fix non-availability of dedup breaking generic/304
| * c7a0a26518 Revert "btrfs: add dmesg output for first mount and last unmount of a filesystem"
| * 1ed694fec5 MIPS: Loongson64: Enable DMA noncoherent support
| * a71b6a6152 MIPS: Loongson64: Reserve vgabios memory on boot
| * 72bdf34450 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
| * 15a8088786 KVM: s390/mm: Properly reset no-dat
| * 19e1052646 x86/CPU/AMD: Check vendor in the AMD microcode callback
| * e5731380b7 serial: 8250_omap: Add earlycon support for the AM654 UART controller
| * 17c2ed9a99 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
| * 8718c0ab94 serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
| * 9bf8bc456f serial: sc16is7xx: address RX timeout interrupt errata
| * 87ac270412 ARM: PL011: Fix DMA support
| * 9402252dda usb: typec: class: fix typec_altmode_put_partner to put plugs
| * e24f2b219f Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
| * 742ecc1b1c parport: Add support for Brainboxes IX/UC/PX parallel cards
| * 86240d91ec usb: gadget: f_hid: fix report descriptor allocation
| * f7a0cab502 drm/amdgpu: correct the amdgpu runtime dereference usage count
| * 091c77c287 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
| * 324df6ecda gpiolib: sysfs: Fix error handling on failed export
| * ebc7597ce9 perf: Fix perf_event_validate_size()
| * 00f8c6dc82 perf/core: Add a new read format to get a number of lost samples
| * 4aed524081 arm64: dts: mt8183: kukui: Fix underscores in node names
| * 1e64d6ddbd arm64: dts: mediatek: add missing space before {
| * 6276d125aa arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
| * a6b7222bbd arm64: dts: mediatek: align thermal zone node names with dtschema
| * ab9ac2cb57 tools headers UAPI: Sync linux/perf_event.h with the kernel sources
| * dc52117cd7 docs/process/howto: Replace C89 with C11
| * 7aed508668 platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
| * e65128616f netfilter: nft_set_pipapo: skip inactive elements during set walk
| * bcedd497b3 io_uring/af_unix: disable sending io_uring over sockets
| * c5a09d1631 mm: fix oops when filemap_map_pmd() without prealloc_pte
| * c755e7cdac r8169: fix rtl8125b PAUSE frames blasting when suspended
| * 9234835fcc tracing: Stop current tracer when resizing buffer
| * 5a9cbf8242 tracing: Set actual size after ring buffer resize
| * 40a36f08a1 ring-buffer: Force absolute timestamp on discard of event
| * 0ccca12b7d misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
| * 271b563063 misc: mei: client.c: return negative error code in mei_cl_write
| * 4511b3650e coresight: etm4x: Remove bogous __exit annotation for some functions
| * 192352bd4b coresight: etm4x: Make etm4_remove_dev() return void
| * 318a206633 kallsyms: Make kallsyms_on_each_symbol generally available
| * 61b68b6089 binder: fix memory leaks of spam and pending work
| * 1665a875ad arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
| * dca1bfdb40 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
| * d052b5ade2 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
| * e37aa92644 arm64: dts: mediatek: mt7622: fix memory node warning check
| * d849cf64c5 platform/surface: aggregator: fix recv_buf() return value
| * d91fb1b7b7 regmap: fix bogus error on regcache_sync success
| * d08a96e5ff packet: Move reference count in packet_sock to atomic_long_t
| * c86b76896f tracing: Fix a possible race when disabling buffered events
| * e733a6f844 tracing: Fix incomplete locking when disabling buffered events
| * fb0219bf96 tracing: Disable snapshot buffer when stopping instance tracers
| * 9e41d92e28 tracing: Always update snapshot buffer size
| * ac3ccec33b checkstack: fix printed address
| * 762b0d529c nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
| * fd85766c7c nilfs2: fix missing error check for sb_set_blocksize call
| * 4bbf011bd6 ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
| * e5571507a1 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
| * f82e39f75c ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
| * ea3291cb90 io_uring: fix mutex_unlock with unreferenced ctx
| * 09f9d1fbaf nvme-pci: Add sleep quirk for Kingston drives
| * 7e765ec2f1 kprobes: consistent rcu api usage for kretprobe holder
| * f531138926 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
| * 4a52acc910 md: introduce md_ro_state
| * 940a7bcd4f riscv: fix misaligned access handling of C.SWSP and C.SDSP
| * 6e2f71188f ARM: dts: imx28-xea: Pass the 'model' property
| * 976eb17307 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
| * cb2034c02f ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
| * 800aabe1ed scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
| * 48987eef55 tracing: Fix a warning when allocating buffered events fails
| * 6daed3710c ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
| * 2ea7438af1 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
| * 8a21980df0 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
| * 0511a9c56e RDMA/irdma: Avoid free the non-cqp_request scratch
| * b7b24a7ffc RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
| * 9d2854cc25 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
| * 1d31ea4df8 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
| * 9deab0c35e hwmon: (acpi_power_meter) Fix 4.29 MW bug
| * 8ef49679a2 RDMA/bnxt_re: Correct module description string
| * 0b21a39bf1 RDMA/rtrs-clt: Remove the warnings for req in_use check
| * 6cef8ca191 RDMA/rtrs-clt: Fix the max_send_wr setting
| * 855b433468 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
| * 7df9d0d064 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
| * 00e54da50b RDMA/rtrs-srv: Check return values while processing info request
| * 59cab0ae48 RDMA/rtrs-clt: Start hb after path_up
| * 7f0460db1b RDMA/rtrs-srv: Do not unconditionally enable irq
| * 18556be80b arm64: dts: rockchip: Expand reg size of vdec node for RK3399
| * 583dec140d RDMA/irdma: Add wait for suspend on SQD
| * f78b8b7f5b RDMA/irdma: Do not modify to SQD on error
| * 7547977224 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
| * 01c13d8a95 tee: optee: Fix supplicant based device enumeration
| * d3d254e63e drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
| * 30d4881a75 net: add missing kdoc for struct genl_multicast_group::flags
| * 5299bca8c6 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
| * 81b0c3d282 bpf: sockmap, updating the sg structure should also update curr
| * 0d4e0afdd6 tcp: do not accept ACK of bytes we never sent
| * 38bae9cda8 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
| * 9de311e5d1 netfilter: nf_tables: validate family when identifying table via handle
| * cf5f113c41 netfilter: nf_tables: bail out on mismatching dynset and set expressions
| * 219c6b5584 octeontx2-af: Update Tx link register range
| * 4fe599a7cd net: hns: fix fake link up on xge port
| * a5c2f9f7f8 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
| * c8aca57e23 ionic: Fix dim work handling in split interrupt mode
| * 04022c185e ionic: fix snprintf format length warning
| * 246bc719ef net: bnxt: fix a potential use-after-free in bnxt_init_tc
| * b14d6d404c i40e: Fix unexpected MFS warning message
| * 6113cba29f octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
| * e047a1fc12 net: stmmac: fix FPE events losing
| * 75c53a4c43 arcnet: restoring support for multiple Sohard Arcnet cards
| * 789fed5702 platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
| * a24071448e platform/mellanox: Add null pointer checks for devm_kasprintf()
| * 45171e5eb7 mlxbf-bootctl: correctly identify secure boot with development keys
| * 401d9bab51 r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
| * 5b9bf02f1c r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
| * 0a53ed0b00 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
| * a637801347 r8152: Add RTL8152_INACCESSIBLE checks to more loops
| * 00beca907a r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
| * 89c619b1b6 hv_netvsc: rndis_filter needs to select NLS
| * f258a0bed3 octeontx2-af: Check return value of nix_get_nixlf before using nixlf
| * 51e7868e5d octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
| * a239affd93 ipv6: fix potential NULL deref in fib6_add()
| * 9008af83ef platform/x86: wmi: Skip blocks with zero instances
| * 29783a17a3 platform/x86: wmi: Allow duplicate GUIDs for drivers that use struct wmi_driver
| * 0f06d9bd2e of: dynamic: Fix of_reconfig_get_state_change() return value documentation
| * 5dd9a481da platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
| * 450f8c95a5 platform/x86: asus-wmi: Simplify tablet-mode-switch handling
| * f277c14b6d platform/x86: asus-wmi: Simplify tablet-mode-switch probing
| * 36ede14746 platform/x86: asus-wmi: Add support for ROG X13 tablet mode
| * e8aed5133f platform/x86: asus-wmi: Adjust tablet/lidflip handling to use enum
| * bfac5cc5a6 drm/amdgpu: correct chunk_ptr to a pointer to chunk.
| * 94e5ed1620 kconfig: fix memory leak from range properties
| * c5ab980acf tg3: Increment tx_dropped in tg3_tso_bug()
| * d188dcb9db tg3: Move the [rt]x_dropped counters to tg3_napi
| * 8bb930c3a1 netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
| * 89a057818d i2c: designware: Fix corrupted memory seen in the ISR
| * 6fcbcc6c8e hrtimers: Push pending hrtimers away from outgoing CPU earlier
| * ef93d88531 vdpa/mlx5: preserve CVQ vringh index
* | 85771dd52f Revert "mmc: core: add helpers mmc_regulator_enable/disable_vqmmc"
* | f136d211ba Revert "mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled"
* | e678cdb6e0 Merge 5.15.142 into android14-5.15-lts
|\|
| * 8a1d809b05 Linux 5.15.142
| * 4d9bd1b108 iomap: update ki_pos a little later in iomap_dio_complete
| * 6ed02493ef r8169: fix deadlock on RTL8125 in jumbo mtu mode
| * 0249024aa4 r8169: disable ASPM in case of tx timeout
| * 8912dbddb2 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
| * 68156ce252 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
| * 9807860f6a iommu/vt-d: Make context clearing consistent with context mapping
| * 7960f2cf43 iommu/vt-d: Omit devTLB invalidation requests when TES=0
| * cfd842b71d cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
| * f0b6880658 cpufreq: imx6q: don't warn for disabling a non-existing frequency
| * bb08df40d4 smb3: fix caching of ctime on setxattr
| * 15b4158c87 fs: add ctime accessors infrastructure
| * db78835b68 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
| * 711ee151a3 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
| * 81952f82e3 ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks
| * fa0a570d84 ASoC: SOF: sof-pci-dev: add parameter to override topology filename
| * 0d38d659a9 ASoC: SOF: sof-pci-dev: use community key on all Up boards
| * f3db01e4d0 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
| * b4329a3a93 smb3: fix touch -h of symlink
| * b60187f610 selftests/resctrl: Move _GNU_SOURCE define into Makefile
| * 072c17d400 selftests/resctrl: Add missing SPDX license to Makefile
| * 1e9973aea2 perf intel-pt: Fix async branch flags
| * 0a6b5321dc net: ravb: Stop DMA in case of failures on ravb_open()
| * a4515a2f5b net: ravb: Start TX queues after HW initialization succeeded
| * 2ba0a8330d net: ravb: Use pm_runtime_resume_and_get()
| * 5823191fb2 net: ravb: Check return value of reset_control_deassert()
| * 24681e92e5 ravb: Fix races between ravb_tx_timeout_work() and net related ops
| * 9750941783 r8169: prevent potential deadlock in rtl8169_close
| * 6662506928 Revert "workqueue: remove unused cancel_work()"
| * 2587d8fe14 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
| * 54260f1483 net: stmmac: xgmac: Disable FPE MMC interrupts
| * 9af4884b8a octeontx2-af: Fix possible buffer overflow
| * f4499f0fc1 selftests/net: ipsec: fix constant out of range
| * 8454f0e090 uapi: propagate __struct_group() attributes to the container union
| * 0bf95654e9 dpaa2-eth: increase the needed headroom to account for alignment
| * c4a00c47a1 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
| * 64c27b7b23 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
| * e704db8ea6 USB: core: Change configuration warnings to notices
| * bec3ae2938 hv_netvsc: fix race of netvsc and VF register_netdevice
| * 69732d2151 rcu: Avoid tracing a few functions executed in stop machine
| * 02caa78cbc vlan: move dev_put into vlan_dev_uninit
| * 8428011818 vlan: introduce vlan_dev_free_egress_priority
| * a8604a90e1 Input: xpad - add HyperX Clutch Gladiate Support
| * 875eeda481 btrfs: make error messages more clear when getting a chunk map
| * 47693835ed btrfs: send: ensure send_fd is writable
| * 36b98806d2 btrfs: fix off-by-one when checking chunk map includes logical address
| * 0ffd9d356e btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
| * a480eb262b btrfs: add dmesg output for first mount and last unmount of a filesystem
| * 2e931b3306 parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
| * f0d0522234 powerpc: Don't clobber f0/vs0 during fp|altivec register save
| * d48f9008e8 iommu/vt-d: Add MTL to quirk list to skip TE disabling
| * 0c7fa41e3e bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
| * c986cb72eb dm verity: don't perform FEC for failed readahead IO
| * 9a2590b400 dm-verity: align struct dm_verity_fec_io properly
| * 61a982f9a5 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
| * 5fe4d96502 ALSA: hda/realtek: Headset Mic VREF to 100%
| * 4ed5ad0522 ALSA: hda: Disable power-save on KONTRON SinglePC
| * a757936847 mmc: block: Be sure to wait while busy in CQE error recovery
| * 8dfdd6038e mmc: block: Do not lose cache flush during CQE error recovery
| * 129984dc9b mmc: block: Retry commands in CQE error recovery
| * 85afaefa95 mmc: cqhci: Fix task clearing in CQE error recovery
| * ceec823199 mmc: cqhci: Warn of halt or task clear failure
| * 9edc063598 mmc: cqhci: Increase recovery halt timeout
| * 4438293822 firewire: core: fix possible memory leak in create_units()
| * b20f71c809 pinctrl: avoid reload of p state in list iteration
* | 94a8600a0d Revert "HID: core: store the unique system identifier in hid_device"
* | e7ef5ffab6 Revert "HID: fix HID device resource race between HID core and debugging support"
* | b410f8d071 Merge 5.15.141 into android14-5.15-lts
|\|
| * 9b91d36ba3 Linux 5.15.141
| * 313a34d1c0 io_uring: fix off-by one bvec index
| * 49ae2e4e8e USB: dwc3: qcom: fix wakeup after probe deferral
| * eb17fb4b16 USB: dwc3: qcom: fix software node leak on probe errors
| * 98f0e9b627 usb: dwc3: set the dma max_seg_size
| * 1a3dcb1d81 usb: dwc3: Fix default mode initialization
| * a22702a818 USB: dwc2: write HCINT with INTMASK applied
| * 1134fde920 usb: typec: tcpm: Skip hard reset when in error recovery
| * 64830d0415 USB: serial: option: don't claim interface 4 for ZTE MF290
| * 9611cbc6a1 USB: serial: option: fix FM101R-GL defines
| * a8d80b1fba USB: serial: option: add Fibocom L7xx modules
| * de8c6fce8d usb: cdnsp: Fix deadlock issue during using NCM gadget
| * dd0cc4b69f bcache: fixup lock c->root error
| * a912742d84 bcache: fixup init dirty data errors
| * 137660f844 bcache: prevent potential division by zero error
| * f7077ce8d9 bcache: check return value from btree_node_alloc_replacement()
| * 1eed010921 dm-delay: fix a race between delay_presuspend and delay_bio
| * d181a7a1d5 hv_netvsc: Mark VF as slave before exposing it to user-mode
| * 97683466e2 hv_netvsc: Fix race of register_netdevice_notifier and VF register
| * 3841921018 USB: serial: option: add Luat Air72*U series products
| * 6062c527d0 s390/dasd: protect device queue against concurrent access
| * 35b5d86e43 io_uring/fs: consider link->flags when getting path for LINKAT
| * 2bb75a2c34 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
| * 6f09318fd9 md: fix bi_status reporting in md_end_clone_io
| * 72ecb9753c bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
| * e09ba90f1a swiotlb-xen: provide the "max_mapping_size" method
| * 0f05021e93 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
| * f95e9f7afe proc: sysctl: prevent aliased sysctls from getting passed to init
| * 3f3880fc01 ext4: make sure allocate pending entry not fail
| * e33eb49975 ext4: fix slab-use-after-free in ext4_es_insert_extent()
| * 859893f619 ext4: using nofail preallocation in ext4_es_insert_extent()
| * 048e7f38b3 ext4: using nofail preallocation in ext4_es_insert_delayed_block()
| * 580b9dd6ab ext4: using nofail preallocation in ext4_es_remove_extent()
| * 66bc78a295 ext4: use pre-allocated es in __es_remove_extent()
| * b1995ba626 ext4: use pre-allocated es in __es_insert_extent()
| * edec12712a ext4: factor out __es_alloc_extent() and __es_free_extent()
| * e82d05cf5c ext4: add a new helper to check if es must be kept
| * 612edd4888 media: qcom: camss: Fix csid-gen2 for test pattern generator
| * ceb5276d8c media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
| * f001e6f626 media: camss: sm8250: Virtual channels for CSID
| * 9fb81ca7aa media: camss: Replace hard coded value with parameter
| * 8ef9b32f20 MIPS: KVM: Fix a build warning about variable set but not used
| * 6ddaca6b20 lockdep: Fix block chain corruption
| * 61747778a8 USB: dwc3: qcom: fix ACPI platform device leak
| * 0274728899 USB: dwc3: qcom: fix resource leaks on probe deferral
| * e26c6febac nvmet: nul-terminate the NQNs passed in the connect command
| * b5d50c6a60 afs: Fix file locking on R/O volumes to operate in local mode
| * 84ebfbed3a afs: Return ENOENT if no cell DNS record can be found
| * 6aeac88a45 net: axienet: Fix check for partial TX checksum
| * 293acba841 amd-xgbe: propagate the correct speed and duplex status
| * b3874cc25a amd-xgbe: handle the corner-case during tx completion
| * e949dbc28c amd-xgbe: handle corner-case during sfp hotplug
| * 01a8b94726 octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
| * fcc4a03ad3 arm/xen: fix xen_vcpu_info allocation alignment
| * 90072af9ef net/smc: avoid data corruption caused by decline
| * 66c023469b net: usb: ax88179_178a: fix failed operations during ax88179_reset
| * ba81c5228e ipv4: Correct/silence an endian warning in __ip_do_redirect
| * 364406d4c1 HID: fix HID device resource race between HID core and debugging support
| * 52badc06b1 HID: core: store the unique system identifier in hid_device
| * 221be624a5 drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
| * b0c835fd7d ata: pata_isapnp: Add missing error check for devm_ioport_map()
| * 9754a498aa octeontx2-pf: Fix memory leak during interface down
| * be41c0c4a6 wireguard: use DEV_STATS_INC()
| * f163a6d17a drm/panel: simple: Fix Innolux G101ICE-L01 timings
| * 608de3a587 drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
| * 18bd108a13 drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
| * 9fe5718d3f drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
| * c8a49336e1 afs: Make error on cell lookup failure consistent with OpenAFS
| * ac239fccf5 afs: Fix afs_server_list to be cleaned up with RCU
* | 8ab21f766f Revert "ASoC: soc-card: Add storage for PCI SSID"
* | 32edfbff66 Revert "net: inet: Remove count from inet_listen_hashbucket"
* | 483e9067b5 Revert "net: inet: Open code inet_hash2 and inet_unhash2"
* | 5452f4e5b7 Revert "net: inet: Retire port only listening_hash"
* | 477db4af14 Revert "net: set SOCK_RCU_FREE before inserting socket into hashtable"
* | f1033c5081 Revert "tracing: Have trace_event_file have ref counters"
* | 97d68eeaac Revert "workqueue: Provide one lock class key per work_on_cpu() callsite"
* | bb657d6d5e Merge 5.15.140 into android14-5.15-lts
|\|
| * a78d278e01 Linux 5.15.140
| * 947c9e12dd driver core: Release all resources during unbind before updating device links
| * 5a434d5c38 Input: xpad - add VID for Turtle Beach controllers
| * cbc7c29dff tracing: Have trace_event_file have ref counters
| * 1dcf90c9fa powerpc/powernv: Fix fortify source warnings in opal-prd.c
| * 3d7912710e io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
| * 595b051c83 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
| * a2a6e97c4b drm/amdgpu: fix error handling in amdgpu_bo_list_get()
| * e380992c47 drm/amdgpu: don't use ATRM for external devices
| * 4ff985b881 drm/i915: Fix potential spectre vulnerability
| * ea0c4d5ec5 drm/amd/pm: Handle non-terminated overdrive commands.
| * 9ce842d776 ext4: add missed brelse in update_backups
| * ce19c20064 ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
| * ac45d8e34b ext4: correct the start block of counting reserved clusters
| * 8f9842c4b9 ext4: correct return value of ext4_convert_meta_bg
| * 8798d3b272 ext4: correct offset of gdb backup in non meta_bg group to update_backups
| * 8a3bb38bfd ext4: apply umask if ACL support is disabled
| * d5c380149b Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
| * 6ad3d8594d media: qcom: camss: Fix missing vfe_lite clocks check
| * e0376cf069 media: qcom: camss: Fix VFE-17x vfe_disable_output()
| * 8f733387d1 media: qcom: camss: Fix vfe_get() error jump
| * 841fc648fb media: qcom: camss: Fix pm_domain_on sequence in probe
| * 4c9c43f79a mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
| * 72bf271c5a r8169: fix network lost after resume on DASH systems
| * 468e3ebf47 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
| * 0387978fda mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
| * 070b3ccb9b riscv: kprobes: allow writing to x0
| * cd0e9f475a nfsd: fix file memleak on client_opens_release
| * 114c9d732c media: ccs: Correctly initialise try compose rectangle
| * 6c8aeeb2c5 media: venus: hfi: add checks to handle capabilities from firmware
| * cdeb0a4cf3 media: venus: hfi: fix the check to handle session buffer requirement
| * 7d62570f75 media: venus: hfi_parser: Add check to keep the number of codecs within range
| * d0d831e7d6 media: sharp: fix sharp encoding
| * 6003733c8f media: lirc: drop trailing space from scancode transmit
| * e4088d7d8f f2fs: avoid format-overflow warning
| * 12055238d0 i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
| * 336e6db5c1 net: phylink: initialize carrier state at creation
| * d8cb287d31 net: dsa: lan9303: consequently nested-lock physical MDIO
| * 656262cb0f net: ethtool: Fix documentation of ethtool_sprintf()
| * acca20cc16 s390/ap: fix AP bus crash on early config change callback invocation
| * 019b7d42a4 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
| * c6e89348fd sbsa_gwdt: Calculate timeout with 64-bit math
| * 132670ae9f lsm: fix default return value for inode_getsecctx
| * 223196b506 lsm: fix default return value for vm_enough_memory
| * 06d320ca17 Revert "i2c: pxa: move to generic GPIO recovery"
| * ddec3d04f8 Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
| * ad0b74d0f3 powerpc/pseries/ddw: simplify enable_ddw()
| * b3e993de40 arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
| * b99ac20612 arm64: dts: qcom: ipq6018: switch TCSR mutex to MMIO
| * aaf0a07d60 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
| * 1c701423bb Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
| * 36a573b325 Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
| * c4976160a0 bluetooth: Add device 13d3:3571 to device tables
| * 603e77e9e8 bluetooth: Add device 0bda:887b to device tables
| * e9bb966c50 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
| * cf642ee641 cpufreq: stats: Fix buffer overflow detection in trans_stats()
| * 63e09cdfe9 regmap: Ensure range selector registers are updated after cache sync
| * 0c49e74e95 tty: serial: meson: fix hard LOCKUP on crtscts mode
| * 6f26b6a61b serial: meson: Use platform_get_irq() to get the interrupt
| * 450fa8bf80 ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
| * cc549ba50b ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
| * 767c988771 ALSA: info: Fix potential deadlock at disconnection
| * 09022ae662 xhci: Enable RPM on controllers that support low-power states
| * 68574fe2e4 parisc/pgtable: Do not drop upper 5 address bits of physical address
| * ea7593c18f parisc: Prevent booting 64-bit kernels on PA1.x machines
| * 2c9092e8b2 i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
| * da754f92fc i3c: master: svc: fix check wrong status register in irq handler
| * 5ba77b6b45 i3c: master: svc: fix ibi may not return mandatory data byte
| * e0a70ed4a5 i3c: master: svc: fix wrong data return when IBI happen during start frame
| * 7383675aba i3c: master: svc: fix race condition in ibi work thread
| * cc7efd1054 i3c: master: cdns: Fix reading status register
| * d3c6a08c2b mtd: cfi_cmdset_0001: Byte swap OTP info
| * a466808812 mm/memory_hotplug: use pfn math in place of direct struct page manipulation
| * 792a796085 mm/cma: use nth_page() in place of direct struct page manipulation
| * 9b59fc3122 s390/cmma: fix detection of DAT pages
| * 45bb94aab8 dmaengine: stm32-mdma: correct desc prep when channel running
| * 91659b77e9 mcb: fix error handling for different scenarios when parsing
| * 534790fde8 tracing: Have the user copy of synthetic event address use correct context
| * f6237afabc i2c: core: Run atomic i2c xfer when !preemptible
| * 931aa7154b kernel/reboot: emergency_restart: Set correct system_state
| * 7a3424c3b7 quota: explicitly forbid quota files from being encrypted
| * 47f5098321 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
| * f13e1ea456 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
| * 28436d8092 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
| * 6ce63598a1 selftests/resctrl: Remove duplicate feature check from CMT test
| * e90efe17fc netfilter: nf_tables: split async and sync catchall in two functions
| * 0d9506c766 netfilter: nf_tables: remove catchall element in GC sync path
| * 96fc7a50a2 PCI: keystone: Don't discard .probe() callback
| * e0d394df98 PCI: keystone: Don't discard .remove() callback
| * f4f1266716 KEYS: trusted: Rollback init_trusted() consistently
| * c407ff72fb genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
| * bc8a14e3c6 mmc: meson-gx: Remove setting of CMD_CFG_ERROR
| * 3a51e6b4da wifi: ath11k: fix htt pktlog locking
| * 426e718ce9 wifi: ath11k: fix dfs radar event locking
| * e9d84413b1 wifi: ath11k: fix temperature event locking
| * 5ff849948c ima: detect changes to the backing overlay file
| * 4584a421a6 ima: annotate iint mutex to avoid lockdep false positive warnings
| * 4049576c63 ACPI: FPDT: properly handle invalid FPDT subtables
| * 628e76e684 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
| * 6eb8c191e3 btrfs: don't arbitrarily slow down delalloc if we're committing
| * 0b99626b28 rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
| * 71f5344f47 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
| * 57dbc0eb8a PM: hibernate: Use __get_safe_page() rather than touching the list
| * 87a30633b5 arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
| * ebaee06a72 rcu/tree: Defer setting of jiffies during stall reset
| * 057d1034d0 svcrdma: Drop connection after an RDMA Read error
| * 541b3757fd wifi: wilc1000: use vmm_table as array in wilc struct
| * b156f62f19 PCI: exynos: Don't discard .remove() callback
| * f887967210 PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
| * 467864d55b mmc: sdhci_am654: fix start loop index for TAP value parsing
| * ef34a97bb9 mmc: vub300: fix an error code
| * 36adb6204c clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 090b167b2c clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 18640a1818 clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
| * 4d17b54c9b parisc/pdc: Add width field to struct pdc_model
| * 936c9c10ef arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
| * 8b24bb54bf ACPI: resource: Do IRQ override on TongFang GMxXGxx
| * 5619c34d3c watchdog: move softlockup_panic back to early_param
| * a6c3a1fe09 PCI/sysfs: Protect driver's D3cold preference from user space
| * 01975bee0a hvc/xen: fix event channel handling for secondary consoles
| * cfd543c108 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
| * 730e08cb91 hvc/xen: fix console unplug
| * fa0b93a3de tty/sysrq: replace smp_processor_id() with get_cpu()
| * 92e6c0f00d audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
| * e29c095f1a audit: don't take task_lock() in audit_exe_compare() code path
| * 5eb6519f48 KVM: x86: Ignore MSR_AMD64_TW_CFG access
| * 1c49ef7041 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
| * fe6b461c37 x86/cpu/hygon: Fix the CPU topology evaluation for real
| * 3a2adf48d8 crypto: x86/sha - load modules based on CPU features
| * be079aa71a scsi: qla2xxx: Fix system crash due to bad pointer access
| * 6ba3569f78 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
| * 6a33b58100 scsi: mpt3sas: Fix loop logic
| * 3c5aede46c bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
| * 403470431b bpf: Fix check_stack_write_fixed_off() to correctly spill imm
| * ba115f6c3a randstruct: Fix gcc-plugin performance mode to stay in group
| * 2771fac438 powerpc/perf: Fix disabling BHRB and instruction sampling
| * 7e450cc9ad media: venus: hfi: add checks to perform sanity on queue pointers
| * 1566e8be73 i915/perf: Fix NULL deref bugs with drm_dbg() calls
| * 35c17257ef xfs: Fix unreferenced object reported by kmemleak in xfs_sysfs_init()
| * 5db146322b xfs: fix memory leak in xfs_errortag_init
| * c540284d84 xfs: fix exception caused by unexpected illegal bestcount in leaf dir
| * 5212d586e7 xfs: avoid a UAF when log intent item recovery fails
| * ba179cc121 xfs: fix inode reservation space for removing transaction
| * b7847653a2 xfs: Fix false ENOSPC when performing direct write on a delalloc extent in cow fork
| * 92d38b87e8 xfs: add missing cmap->br_state = XFS_EXT_NORM update
| * 8d0baec78e xfs: fix intermittent hang during quotacheck
| * 76545c0e88 xfs: don't leak memory when attr fork loading fails
| * eb888caf27 xfs: fix use-after-free in xattr node block inactivation
| * 4cb3842967 xfs: flush inode gc workqueue before clearing agi bucket
| * 188594c64a xfs: prevent a UAF when log IO errors race with unmount
| * 921c962158 xfs: use invalidate_lock to check the state of mmap_lock
| * efd194800b xfs: convert buf_cancel_table allocation to kmalloc_array
| * 074fee1869 xfs: don't leak xfs_buf_cancel structures when recovery fails
| * b8effd31a8 xfs: refactor buffer cancellation table allocation
| * 4968c2aa6a cifs: fix check of rc in function generate_smb3signingkey
| * 8d725bf0d1 cifs: spnego: add ';' in HOST_KEY_LEN
| * 21accf1491 tools/power/turbostat: Enable the C-state Pre-wake printing
| * 0045c1ff7a tools/power/turbostat: Fix a knl bug
| * 5bcce23f38 macvlan: Don't propagate promisc change to lower dev in passthru
| * 7574b5e65e net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
| * 55553c5b53 net/mlx5e: Reduce the size of icosq_str
| * 51655fd357 net/mlx5e: Fix pedit endianness
| * a990dd7410 net/mlx5e: Refactor mod header management API
| * 39f95b1d0d net/mlx5e: Move mod hdr allocation to a single place
| * c0f37a3715 net/mlx5e: Remove incorrect addition of action fwd flag
| * 6974fd92d5 net/mlx5e: fix double free of encap_header in update funcs
| * f3c4a70442 net/mlx5e: fix double free of encap_header
| * 931e9e8e30 net: stmmac: fix rx budget limit check
| * b8b514b2a6 netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
| * 25da0f5821 netfilter: nf_tables: add and use BE register load-store helpers
| * a48f6be5bd netfilter: nf_tables: use the correct get/put helpers
| * 7d3901bf3b netfilter: nf_conntrack_bridge: initialize err to 0
| * 75bcfc188a af_unix: fix use-after-free in unix_stream_read_actor()
| * 0b480c654e net: ethernet: cortina: Fix MTU max setting
| * 097588e20c net: ethernet: cortina: Handle large frames
| * f9269b274c net: ethernet: cortina: Fix max RX frame define
| * 53064e8239 bonding: stop the device in bond_setup_by_slave()
| * cda210a4bd ptp: annotate data-race around q->head and q->tail
| * b67d16b237 xen/events: fix delayed eoi list handling
| * 8531a4194e ppp: limit MRU to 64K
| * 9ae82308d1 tipc: Fix kernel-infoleak due to uninitialized TLV value
| * 359c65daf6 net: hns3: fix VF wrong speed and duplex issue
| * 406be003d6 net: hns3: fix VF reset fail issue
| * cfc131b078 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
| * 070581829c net: hns3: fix incorrect capability bit display for copper port
| * a3c65cf785 net: hns3: add barrier in vf mailbox reply process
| * e671d82037 net: hns3: add byte order conversion for PF to VF mailbox message
| * bb0f14257c net: hns3: refine the definition for struct hclge_pf_to_vf_msg
| * 1d8f66d406 net: hns3: fix add VLAN fail issue
| * 4b3b2541d4 tty: Fix uninit-value access in ppp_sync_receive()
| * 1f64cad3ac ipvlan: add ipvlan_route_v6_outbound() helper
| * 6c71b9b177 net: set SOCK_RCU_FREE before inserting socket into hashtable
| * 427165421c net: inet: Retire port only listening_hash
| * be1ceb8b7c net: inet: Open code inet_hash2 and inet_unhash2
| * bb9bcf47fb net: inet: Remove count from inet_listen_hashbucket
| * de634368e0 mptcp: listen diag dump support
| * 870f438aca mptcp: diag: switch to context structure
| * be020f658c gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
| * 194454afa6 SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
| * 319ed0cba1 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
| * 809684f5b3 SUNRPC: Add an IS_ERR() check back to where it was
| * 46d6b76807 SUNRPC: ECONNRESET might require a rebind
| * a7032d4d64 media: cec: meson: always include meson sub-directory in Makefile
| * 16e78f2851 media: cadence: csi2rx: Unregister v4l2 async notifier
| * 20c2ca9abb sched/core: Optimize in_task() and in_interrupt() a bit
| * 9894c58c17 tracing/perf: Add interrupt_context_level() helper
| * 48fef664d7 tracing: Reuse logic from perf's get_recursion_context()
| * 670b3e902f wifi: iwlwifi: Use FW rate for non-data frames
| * a7ee519e80 pwm: Fix double shift bug
| * 7054366cd0 drm/amdgpu: fix software pci_unplug on some chips
| * e48a5e78d0 drm/qxl: prevent memory leak
| * 0835e7f296 ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
| * 38ada2f304 i2c: dev: copy userspace array safely
| * 610244988f kgdb: Flush console before entering kgdb on panic
| * 4e497f1acd drm/amd/display: Avoid NULL dereference of timing generator
| * 5e0b788fb9 media: imon: fix access to invalid resource for the second interface
| * ae6bcafe1f media: ccs: Fix driver quirk struct documentation
| * d01b0ad79e media: cobalt: Use FIELD_GET() to extract Link Width
| * 03ce0655bf gfs2: fix an oops in gfs2_permission
| * 5bfda356e9 gfs2: ignore negated quota changes
| * 16631907d0 media: vivid: avoid integer overflow
| * 09cd8b561a media: gspca: cpia1: shift-out-of-bounds in set_flicker
| * 39c71357e6 i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
| * 72775cad7f virtio-blk: fix implicit overflow on virtio_max_dma_size
| * f7f3bdb225 i2c: sun6i-p2wi: Prevent potential division by zero
| * d23ad76f24 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
| * e6fbad3cc8 9p: v9fs_listxattr: fix %s null argument warning
| * a18be976be 9p/trans_fd: Annotate data-racy writes to file::f_flags
| * 2cc5e191d6 usb: gadget: f_ncm: Always set current gadget in ncm_bind()
| * 6c80f48912 tty: vcc: Add check for kstrdup() in vcc_probe()
| * 2ff61106d6 exfat: support handle zero-size directory
| * c86a3007a6 HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
| * 3453f945af PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
| * 0a93a0f99a misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
| * 03dbd6a9ea PCI: Disable ATS for specific Intel IPU E2000 devices
| * a9a0b34448 PCI: Extract ATS disabling to a helper function
| * fe511d2441 PCI: Use FIELD_GET() to extract Link Width
| * 56d78b5495 scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
| * 37a51e7f36 atm: iphase: Do PCI error checks on own line
| * f05ae00106 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
| * 631a96e9eb ALSA: hda: Fix possible null-ptr-deref when assigning a stream
| * 1c805b9cd2 ARM: 9320/1: fix stack depot IRQ stack filter
| * 8d25ec69f8 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
| * 64f062baf2 jfs: fix array-index-out-of-bounds in diAlloc
| * da3da5e1e6 jfs: fix array-index-out-of-bounds in dbFindLeaf
| * 1f74d33699 fs/jfs: Add validity check for db_maxag and db_agpref
| * 5f148b1697 fs/jfs: Add check for negative db_l2nbperpage
| * e1d1f79b19 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
| * f0bfc8a556 scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
| * 5904dee707 RDMA/hfi1: Use FIELD_GET() to extract Link Width
| * 546c1796ad crypto: pcrypt - Fix hungtask for PADATA_RESET
| * bc443a199f ASoC: soc-card: Add storage for PCI SSID
| * 9f2082067c selftests/efivarfs: create-read: fix a resource leak
| * 428cad17f5 arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
| * 174f62a0aa drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
| * 3f7a400d5e drm/amdkfd: Fix shift out-of-bounds issue
| * 300589d551 drm/panel: st7703: Pick different reset sequence
| * eaa03ea366 drm/amdgpu/vkms: fix a possible null pointer dereference
| * 84c923d898 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
| * 2381f6b628 drm/panel: fix a possible null pointer dereference
| * c11cf5e117 drm/amdgpu: Fix potential null pointer derefernce
| * a237675aa1 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
| * acdb6830de drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
| * 829ce8e995 drm/msm/dp: skip validity check for DP CTS EDID checksum
| * 689b33b94f drm: vmwgfx_surface.c: copy user-array safely
| * 22260dabcf kernel: watch_queue: copy user-array safely
| * d4f2c09d46 kernel: kexec: copy user-array safely
| * 24b17d530c string.h: add array-wrappers for (v)memdup_user()
| * 3a3a6dc9a3 drm/amd/display: use full update for clip size increase of large plane source
| * 7d43cdd22c drm/amdkfd: Fix a race condition of vram buffer unref in svm code
| * eea81424c5 drm/komeda: drop all currently held locks if deadlock happens
| * 812886866b platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
| * ba70887698 Bluetooth: Fix double free in hci_conn_cleanup
| * f9de14bde5 Bluetooth: btusb: Add date->evt_skb is NULL check
| * a43cf6acf0 wifi: ath10k: Don't touch the CE interrupt registers after power up
| * 6f42bd2433 net: annotate data-races around sk->sk_dst_pending_confirm
| * 19ab5fd264 net: annotate data-races around sk->sk_tx_queue_mapping
| * f3be63f7a8 wifi: ath10k: fix clang-specific fortify warning
| * 02a0547b8d wifi: ath9k: fix clang-specific fortify warnings
| * cf353904a8 bpf: Detect IP == ksym.end as part of BPF program
| * c29a89b23f atl1c: Work around the DMA RX overflow issue
| * 21a0f310a9 wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
| * 3073e38086 wifi: mac80211_hwsim: fix clang-specific fortify warning
| * e8e55fa444 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
| * f9d3ba62e8 workqueue: Provide one lock class key per work_on_cpu() callsite
| * 0a5b512d52 clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
| * 465b88c087 clocksource/drivers/timer-imx-gpt: Fix potential memory leak
| * fd0df3f871 perf/core: Bail out early if the request AUX area is out of bound
| * e89d0ed45a locking/ww_mutex/test: Fix potential workqueue corruption
* | 16ec5b05fb ANDROID: GKI: db845c: Update symbols list and ABI on devm_mipi_dsi_attach
* | 611f83ca0e Revert "mfd: core: Un-constify mfd_cell.of_reg"
* | 7e088094c8 Revert "inet: shrink struct flowi_common"
* | 99e8e6c9c4 Revert "arm64/arm: xen: enlighten: Fix KPTI checks"
* | cfaf15fcaf Merge 5.15.139 into android14-5.15-lts
|\|
| * 2a910f4af5 Linux 5.15.139
| * 3443337acd btrfs: use u64 for buffer sizes in the tree search ioctls
| * f9f5e8cecb Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
| * 824829c2c6 tracing/kprobes: Fix the order of argument descriptions
| * 560680f745 fbdev: fsl-diu-fb: mark wr_reg_wa() static
| * 8e4b510fe9 fbdev: imsttfb: fix a resource leak in probe
| * 3648582181 fbdev: imsttfb: Fix error path of imsttfb_probe()
| * 30959f9f45 spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
| * 9cf044cc36 ASoC: hdmi-codec: register hpd callback on component probe
| * 705e5a28ec drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
| * 0ca05fae27 netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
| * 1652f57f02 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
| * d28c17abe0 netfilter: xt_recent: fix (increase) ipv6 literal buffer length
| * f30567fcbc i2c: iproc: handle invalid slave state
| * 38f5ac54b9 r8169: respect userspace disabling IFF_MULTICAST
| * fd01115b03 blk-core: use pr_warn_ratelimited() in bio_check_ro()
| * b801487109 block: remove unneeded return value of bio_check_ro()
| * d8d94d6b3b tg3: power down device only on SYSTEM_POWER_OFF
| * 5ea06a23f8 net/smc: put sk reference if close work was canceled
| * 884606f828 net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
| * a62af7146d net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
| * 866606826f selftests: pmtu.sh: fix result checking
| * 2d117ac1b8 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
| * 95a99ac112 Fix termination state for idr_for_each_entry_ul()
| * 70ef755f12 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
| * 0dad0e75d6 dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
| * c340713bdf dccp: Call security_inet_conn_request() after setting IPv4 addresses.
| * d1b7e6562a octeontx2-pf: Fix holes in error code
| * f60297ef59 octeontx2-pf: Fix error codes
| * 794d360b1d inet: shrink struct flowi_common
| * 8943083bbb bpf: Check map->usercnt after timer->timer is assigned
| * 3907b89cd1 tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
| * a1a485e45d hsr: Prevent use after free in prp_create_tagged_frame()
| * 352887b3ed llc: verify mac len before reading mac header
| * 303766bb92 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
| * 741e4c15d7 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
| * 895ac9a21f pwm: sti: Reduce number of allocations and drop usage of chip_data
| * db64ddddee regmap: prevent noinc writes from clobbering cache
| * 004d400253 media: dvb-usb-v2: af9035: fix missing unlock
| * a0beda1847 media: cedrus: Fix clock/reset sequence
| * 980be4c3b0 media: vidtv: mux: Add check and kfree for kstrdup
| * d17269fb91 media: vidtv: psi: Add check for kstrdup
| * db89f551b7 media: s3c-camif: Avoid inappropriate kfree()
| * 51c94256a8 media: bttv: fix use after free error due to btv->timeout timer
| * d3937f9e25 media: i2c: max9286: Fix some redundant of_node_put() calls
| * 9d060f2fc4 pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
| * 24e9df588e pcmcia: ds: fix refcount leak in pcmcia_device_add()
| * 24e73ab542 pcmcia: cs: fix possible hung task and memory leak pccardd()
| * b3eaa0d43c rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
| * 20bd0198be cxl/mem: Fix shutdown order
| * d48fe8d981 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
| * 855d6fb2cc 9p/net: fix possible memory leak in p9_check_errors()
| * 0d456ebaad perf hist: Add missing puts to hist__account_cycles
| * 924e8d0b76 perf machine: Avoid out of bounds LBR memory read
| * 76b0eab987 usb: host: xhci-plat: fix possible kernel oops while resuming
| * c9c4dab06a xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
| * 92c9ef1564 powerpc/pseries: fix potential memory leak in init_cpu_associativity()
| * 516235e7b3 powerpc/imc-pmu: Use the correct spinlock initializer.
| * 945dc61d78 powerpc/xive: Fix endian conversion size
| * bce31a2bcb powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
| * 1308e55eb0 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
| * 863a9c3fde powerpc: Only define __parse_fpscr() when required
| * 01f62c6bd2 f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
| * dfebea7114 dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
| * 72f8fa6c4b USB: usbip: fix stub_dev hub disconnect
| * 168697f15a tools: iio: iio_generic_buffer ensure alignment
| * a61c3c647f misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
| * 732aa0cb26 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
| * 2941a29fe9 usb: chipidea: Simplify Tegra DMA alignment code
| * 58e8316b20 usb: chipidea: Fix DMA overwrite for Tegra
| * fcaafb574f usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
| * c956be5641 dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
| * ca46d7ce1f livepatch: Fix missing newline character in klp_resolve_symbols()
| * b77f7c025e tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
| * e9f598a5cc f2fs: compress: fix to avoid redundant compress extension
| * 8c4504cc0c f2fs: compress: fix to avoid use-after-free on dic
| * ca0aae3837 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
| * 206a972511 leds: pwm: Don't disable the PWM when the LED should be off
| * 893eedf596 leds: turris-omnia: Do not use SMBUS calls
| * aec3706971 leds: turris-omnia: Drop unnecessary mutex locking
| * c9a4f13c58 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
| * 63a99d7b57 mfd: dln2: Fix double put in dln2_probe
| * 2742c860e0 mfd: core: Ensure disabled devices are skipped without aborting
| * 94eb5423d7 mfd: core: Un-constify mfd_cell.of_reg
| * 8890d4d5f2 ASoC: ams-delta.c: use component after check
| * a2ae48bd82 crypto: qat - fix deadlock in backlog processing
| * 0dd34a7ad3 padata: Fix refcnt handling in padata_free_shell()
| * 93e4aa8545 ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
| * cd1c2df64d HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
| * 99893b7c45 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
| * 5f2f386025 HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
| * 1f80041c58 HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
| * d3b196a1da Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
| * 6885e5ffa0 sh: bios: Revive earlyprintk support
| * b0c25e957f hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
| * d06dc0f99f RDMA/hfi1: Workaround truncation compilation error
| * 086cd44204 scsi: ufs: core: Leave space for '\0' in utf8 desc string
| * a0f1999090 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
| * 904fc01037 RDMA/hns: The UD mode can only be configured with DCQCN
| * 9f8db02d30 RDMA/hns: Fix signed-unsigned mixed comparisons
| * 2de683e27e RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
| * 611260e36f IB/mlx5: Fix rdma counter binding for RAW QP
| * 922b2693b9 ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
| * 001f90cd9d ext4: move 'ix' sanity check to corrent position
| * c24a3c9e37 ARM: 9321/1: memset: cast the constant byte to unsigned char
| * 012d0c66f9 hid: cp2112: Fix duplicate workqueue initialization
| * 1ce09238e8 crypto: qat - increase size of buffers
| * 62df66b726 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
| * 61f25d4686 crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
| * 66eb7b7f23 nd_btt: Make BTT lanes preemptible
| * 6563e0f79d libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
| * d4ad0c1a83 scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
| * b79c7d684c RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
| * a5c83c8043 hwrng: geode - fix accessing registers
| * a8607725b2 crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
| * b01b9dc548 selftests/resctrl: Ensure the benchmark commands fits to its array
| * 2d2300fcf8 selftests/pidfd: Fix ksft print formats
| * 8bc9c94474 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
| * 1abd658492 arm64: dts: imx8mm: Add sound-dai-cells to micfil node
| * cf7abb54f8 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
| * 8704bf18a8 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
| * bdb0428aa2 firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
| * b0ffdc1643 firmware: ti_sci: Mark driver as non removable
| * 995ee1e84e soc: qcom: llcc: Handle a second device without data corruption
| * 19b8098f73 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
| * a8ab88f84b arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
| * ddc0df81ee ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
| * 12d9de01c0 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
| * 690b892559 arm64: dts: qcom: sc7280: Add missing LMH interrupts
| * 2a4cce4168 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
| * eb9daf4780 arm64: dts: qcom: msm8916: Fix iommu local address range
| * 541640dcbf ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
| * 0e1e88bba2 perf: hisi: Fix use-after-free when register pmu fails
| * 4067d39f3c drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
| * a6a6f70aed drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
| * aea6f32a43 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
| * e588ca45bf drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
| * a00a293d57 arm64/arm: xen: enlighten: Fix KPTI checks
| * d0d01bb4a5 drm/bridge: lt9611uxc: fix the race in the error path
| * 29aba28ea1 drm/bridge: lt9611uxc: Register and attach our DSI device at probe
| * f53a045793 drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers
| * 517a5137a5 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
| * 865ccd4ca6 drm/mediatek: Fix iommu fault during crtc enabling
| * 8e3c8253b3 drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
| * e11e339faa drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
| * 30cb99e096 drm/bridge: tc358768: Fix bit updates
| * 1cd4ae681a drm/bridge: tc358768: Disable non-continuous clock mode
| * c13591b859 drm/bridge: tc358768: Fix use of uninitialized variable
| * d78bddd94b drm/bridge: lt8912b: Add missing drm_bridge_attach call
| * 5cc2bc519a drm/bridge: lt8912b: Manually disable HPD only if it was enabled
| * 42071feab7 drm/bridge: lt8912b: Fix crash on bridge detach
| * d9217286d0 drm/bridge: lt8912b: Fix bridge_detach
| * cc3057958c drm/bridge: lt8912b: Add hot plug detection
| * ef4a40953c drm/bridge: lt8912b: Register and attach our DSI device at probe
| * 3580b8a013 drm/bridge: lt8912b: Switch to devm MIPI-DSI helpers
| * 52541851a8 drm/mipi-dsi: Create devm device attachment
| * a20d6ecd26 drm/mipi-dsi: Create devm device registration
| * 347f025a02 drm/radeon: possible buffer overflow
| * b163b371d7 drm/rockchip: vop: Fix call to crtc reset helper
| * 9a96bed1df drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
| * 1b0bc99cf3 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
| * b3e7eb23a6 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
| * e0bf076b73 platform/x86: wmi: Fix opening of char device
| * c57e81d5e5 platform/x86: wmi: remove unnecessary initializations
| * 2ca4e461a2 platform/x86: wmi: Fix probe failure when failing to register WMI devices
| * f75e11f54d clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
| * d1175cf4bd clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
| * e964d21dc0 clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
| * c4070ada5d clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
| * 3aefc6fcfb clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
| * ca6d565a23 clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
| * 533ca5153a clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
| * e531e4e737 clk: npcm7xx: Fix incorrect kfree
| * 761c2a690d clk: ti: fix double free in of_ti_divider_clk_setup()
| * 1c37faca09 clk: ti: change ti_clk_register[_omap_hw]() API
| * 28b72fba1e clk: ti: Update component clocks to use ti_dt_clk_name()
| * c4bffed2e5 clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name()
| * 9b5e9d8bf9 clk: ti: Add ti_dt_clk_name() helper to use clock-output-names
| * f45fff806e clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
| * 7ff8ca9bee spi: nxp-fspi: use the correct ioremap function
| * 26206c858d clk: renesas: rzg2l: Fix computation formula
| * 1966bf2a79 clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
| * 7ece2efa87 clk: renesas: rzg2l: Simplify multiplication/shift logic
| * e2239f7165 clk: imx: imx8qxp: Fix elcdif_pll clock
| * 7d416973cd clk: imx: imx8mq: correct error handling path
| * 608ebb098b clk: imx: Select MXC_CLK for CLK_IMX8QXP
| * 8861b2925a clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
| * 76e8f00f54 clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
| * 56c4bb46a5 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
| * 0881d24cf5 clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
| * b64683f5d7 spi: tegra: Fix missing IRQ check in tegra_slink_probe()
| * b13e8b38be regmap: debugfs: Fix a erroneous check after snprintf()
| * 8fafac4073 ipvlan: properly track tx_errors
| * 3eedc19a9d net: add DEV_STATS_READ() helper
| * 359bce81b8 ipv6: avoid atomic fragment on GSO packets
| * 6b413d52f6 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
| * 32aaa3b987 wifi: iwlwifi: empty overflow queue during flush
| * 0e3ad00be4 wifi: iwlwifi: pcie: synchronize IRQs before NAPI
| * a8ebe549e0 wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
| * 627a3b3f5c iwlwifi: pcie: adjust to Bz completion descriptor
| * 0d91506a40 tcp: fix cookie_init_timestamp() overflows
| * 4f6e904ed4 chtls: fix tp->rcv_tstamp initialization
| * 5d7bec7ae4 r8169: fix rare issue with broken rx after link-down on RTL8125
| * e143a3c82d r8169: use tp_to_dev instead of open code
| * 3a8f4e58e1 thermal: core: prevent potential string overflow
| * bfd4ed4988 netfilter: nf_tables: Drop pointless memset when dumping rules
| * 80986257d2 PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
| * 826120c9ba can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
| * 28e9e01591 can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
| * ada4dc4788 can: dev: can_restart(): don't crash kernel if carrier is OK
| * d4eb4182a8 wifi: rtlwifi: fix EDCA limit set by BT coexistence
| * 2027e74150 tcp_metrics: do not create an entry from tcp_init_metrics()
| * 3f7cb7c47c tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
| * ca7b6fa9e6 tcp_metrics: add missing barriers on delete
| * 227709a0e4 wifi: mt76: mt7603: improve stuck beacon handling
| * eab5b0aa50 mt76: pass original queue id from __mt76_tx_queue_skb to the driver
| * 75336a7625 mt76: add support for overriding the device used for DMA mapping
| * 77b2ab5cd1 mt76: dma: use kzalloc instead of devm_kzalloc for txwi
| * 064b32f18d wifi: mt76: mt7603: rework/fix rx pse hang check
| * 1afbb9ecec wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
| * ebcbf5f5e0 net: spider_net: Use size_add() in call to struct_size()
| * 56e7424c6e tipc: Use size_add() in calls to struct_size()
| * 3e51efcb29 mlxsw: Use size_mul() in call to struct_size()
| * dc3fef3107 gve: Use size_add() in call to struct_size()
| * 70f032db85 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
| * a2d540c745 udp: add missing WRITE_ONCE() around up->encap_rcv
| * 8f7eef3a13 selftests/bpf: Correct map_fd to data_fd in tailcalls
| * 3eefb2fbf4 selftests/bpf: Test tail call counting with bpf2bpf and data on stack
| * ab91992ec4 i40e: fix potential memory leaks in i40e_remove()
| * 7027423736 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
| * 379b120e4f pstore/platform: Add check for kstrdup
| * 81b8638e4e x86/boot: Fix incorrect startup_gdt_descr.size
| * c7e8c7452e x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
| * 0b5da8ce0f x86: Share definition of __is_canonical_address()
| * 90b263db85 futex: Don't include process MM in futex key on no-MMU
| * f0d6e58411 x86/srso: Fix SBPB enablement for (possible) future fixed HW
| * 565f9337b6 writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
| * 2bb46b2082 vfs: fix readahead(2) on block devices
| * 20195f87db sched: Fix stop_one_cpu_nowait() vs hotplug
| * 13cde955e5 sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
| * cc6198ff20 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
* | 73a5f48c66 Revert "kasan: print the original fault addr when access invalid shadow"
* | 02ca2ae2af ANDROID: GKI: db845c: Update symbols list and ABI on rpmsg_register_device_override
* | 22ca9d61fa ANDROID: fix up rpmsg_device ABI break
* | 1202da82c0 ANDROID: fix up platform_device ABI break
* | 26f1dc8dc6 Merge 5.15.138 into android14-5.15-lts
|\|
| * 80529b4968 Linux 5.15.138
| * 3d8344a7c4 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
| * f049c0c003 misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
| * 28b8ad8cce tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
| * 44c4dfac3f tty: 8250: Add support for Intashield IX cards
| * d541ccb34d tty: 8250: Add support for additional Brainboxes PX cards
| * 60debc01fc tty: 8250: Fix up PX-803/PX-857
| * 1f5649aed5 tty: 8250: Fix port count of PX-257
| * 3fe3cc63c7 tty: 8250: Add support for Intashield IS-100
| * a5b6390fd6 tty: 8250: Add support for Brainboxes UP cards
| * 738fe41b64 tty: 8250: Add support for additional Brainboxes UC cards
| * ff6059c3d2 tty: 8250: Remove UC-257 and UC-431
| * 81a4dd5e6c tty: n_gsm: fix race condition in status line change on dead connections
| * e25197747f usb: raw-gadget: properly handle interrupted requests
| * e5f53a68a5 usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
| * 7c4855b22a usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
| * c48aae5385 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
| * 6628c3627c drm/amd: Disable ASPM for VI w/ all Intel systems
| * b6c3c7786e drm/amd: Move helper for dynamic speed switch check out of smu13
| * 9015169f00 can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
| * d72ff64783 can: isotp: isotp_bind(): do not validate unused address information
| * e163ad6a86 can: isotp: add local echo tx processing and tx without FC
| * b4e78ea266 can: isotp: handle wait_event_interruptible() return values
| * 2fc6f33725 can: isotp: check CAN address family in isotp_bind()
| * f8c3bd211c can: isotp: isotp_bind(): return -EINVAL on incorrect CAN ID formatting
| * 615c4dd640 can: isotp: set max PDU size to 64 kByte
| * 6627b96851 powerpc/mm: Fix boot crash with FLATMEM
| * f0f9986488 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
| * 78c939a887 r8152: Check for unplug in rtl_phy_patch_request()
| * 51cc28ce74 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
| * bbc9261993 platform/mellanox: mlxbf-tmfifo: Fix a warning message
| * db4416ea3a scsi: mpt3sas: Fix in error path
| * d48b2e8189 fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
| * e39440c326 drm/ttm: Reorder sys manager cleanup step
| * aade33d3d9 ASoC: rt5650: fix the wrong result of key button
| * fa32e21c05 netfilter: nfnetlink_log: silence bogus compiler warning
| * dfcbb983eb spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
| * 64ae128b09 fs/ntfs3: Avoid possible memory leak
| * 27a0bed128 fs/ntfs3: Fix directory element type detection
| * 94524980ee fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
| * 2de328398b fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
| * 962a3d3d73 fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
| * 393966e79b fs/ntfs3: Write immediately updated ntfs state
| * 59e629fc71 fs/ntfs3: Add ckeck in ni_update_parent()
| * 738a3adc7c fbdev: atyfb: only use ioremap_uc() on i386 and ia64
| * afef8af919 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
| * abc62fc06d powerpc/85xx: Fix math emulation exception
| * 4bdde4dca0 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
| * 39d2c10367 irqchip/stm32-exti: add missing DT IRQ flag translation
| * c57aef9075 irqchip/riscv-intc: Mark all INTC nodes as initialized
| * eb99b6e204 net: sched: cls_u32: Fix allocation size in u32_init()
| * 5e78ebe7c1 ASoC: simple-card: fixup asoc_simple_probe() error handling
| * 65fd21aa38 x86: Fix .brk attribute in linker script
| * d4c8bf5635 rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
| * a82e0fda8a rpmsg: glink: Release driver_override
| * bfd4a664dd rpmsg: Fix calling device_lock() on non-initialized device
| * 2e76b4f621 rpmsg: Fix kfree() of static memory on setting driver_override
| * 5c0da71871 rpmsg: Constify local variable in field store macro
| * 389190b254 driver: platform: Add helper for safer setting of driver_override
| * 37ffa428d5 objtool/x86: add missing embedded_insn check
| * f031e15d0b ext4: avoid overlapping preallocations due to overflow
| * f2c3a3aa6f ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
| * 7a992726f7 ext4: add two helper functions extent_logical_end() and pa_logical_end()
| * 9e78e7709f x86/mm: Fix RESERVE_BRK() for older binutils
| * d3201c7180 x86/mm: Simplify RESERVE_BRK()
| * 897b56acf1 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
| * 77db87c4a4 gve: Fix GFP flags when allocing pages
| * 8b424bdf6c iio: afe: rescale: Accept only offset channels
| * c1eeb494f6 iio: afe: rescale: add offset support
| * 7c76b7db55 iio: afe: rescale: expose scale processing function
| * c60671502d iio: afe: rescale: reorder includes
| * 27dd09f5ec clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
| * c27ca4aebb sparc32: fix a braino in fault handling in csum_and_copy_..._user()
| * 21b07a2e60 perf/core: Fix potential NULL deref
| * 6efd498009 nvmem: imx: correct nregs for i.MX6UL
| * 0c2948118c nvmem: imx: correct nregs for i.MX6SLL
| * 6e22bf6f00 nvmem: imx: correct nregs for i.MX6ULL
| * e0f95b831b misc: fastrpc: Clean buffers on remote invocation failures
| * c4957f00f9 tracing/kprobes: Fix the description of variable length arguments
| * cdc57093b4 i2c: aspeed: Fix i2c bus hang in slave read
| * e97d374a25 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
| * 2766a87210 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
| * 48b58f7469 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
| * cb65e69276 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
| * eace761f35 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
| * 70322a446e iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
| * 3c1312b5d4 iio: exynos-adc: request second interupt only when touchscreen mode is used
| * 4e14f2d588 kasan: print the original fault addr when access invalid shadow
| * bdfa4fa758 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
| * d5c175f4ce gtp: fix fragmentation needed check with gso
| * c0dad0c092 gtp: uapi: fix GTPA_MAX
| * 852fb4ce42 tcp: fix wrong RTO timeout when received SACK reneging
| * 83cfa3b51a r8152: Release firmware if we have an error in probe
| * e0f9231ccd r8152: Cancel hw_phy_work if we have an error in probe
| * ff42b0a556 r8152: Run the unload routine if we have errors during probe
| * 6fa3b9f947 r8152: Increase USB control msg timeout to 5000ms as per spec
| * 76873f2ead net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
| * 6afd112c3f net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
| * 46cd35e4e7 igc: Fix ambiguity in the ethtool advertising
| * 49529413ea neighbour: fix various data-races
| * 6675549463 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
| * 2634219053 treewide: Spelling fix in comment
| * bc0c4bc119 i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
| * c532c5df01 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
| * 6afb294c88 r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
| * 9d7b383842 r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
| * 04dbfa4122 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
| * 0d587b86cd drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
| * 8860f0175e vsock/virtio: initialize the_virtio_vsock before using VQs
| * 762c251c7f vsock/virtio: add support for device suspend/resume
| * 1e02df6f69 vsock/virtio: factor our the code to initialize and delete VQs
| * 15a8cac3c2 drm/i915/pmu: Check if pmu is closed before stopping event
| * 43bd431a5d nfsd: lock_rename() needs both directories to live on the same fs
| * 556b68d9b9 mm/migrate: fix do_pages_move for compat pointers
| * c4071c6114 mm/page_alloc: correct start page when guard page debug is enabled
| * 3a6cee2bfb vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
| * fbc9a8718f virtio-mmio: fix memory leak of vm_dev
| * 862a356bc9 virtio_balloon: Fix endless deflation and inflation on arm64
| * 41bb770e42 mcb-lpc: Reallocate memory region to avoid memory overlapping
| * f2ac8b2643 mcb: Return actual parsed size when reading chameleon table
| * 90918ef995 mptcp: more conservative check for zero probes
| * fd2b2dab6f tcp: cleanup tcp_remove_empty_skb() use
| * 68342755b9 tcp: remove dead code from tcp_sendmsg_locked()
| * 0f482ad7b1 pinctrl: qcom: lpass-lpi: fix concurrent register updates
| * 51b054f6fe ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
| * cb34f4e79e ASoC: codecs: wcd938x: fix resource leaks on bind errors
* 4a9eba4997 Merge branch 'android14-5.15' into branch 'android14-5.15-lts'
Change-Id: I05a459e7d76e537f8586349c711f863f692035a4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
2024-01-12 18:41:02 +00:00
Wesley Cheng
a4da62d21c
FROMGIT: usb: dwc3: gadget: Handle EP0 request dequeuing properly
...
Current EP0 dequeue path will share the same as other EPs. However, there
are some special considerations that need to be made for EP0 transfers:
- EP0 transfers never transition into the started_list
- EP0 only has one active request at a time
In case there is a vendor specific control message for a function over USB
FFS, then there is no guarantee on the timeline which the DATA/STATUS stage
is responded to. While this occurs, any attempt to end transfers on
non-control EPs will end up having the DWC3_EP_DELAY_STOP flag set, and
defer issuing of the end transfer command. If the USB FFS application
decides to timeout the control transfer, or if USB FFS AIO path exits, the
USB FFS driver will issue a call to usb_ep_dequeue() for the ep0 request.
In case of the AIO exit path, the AIO FS blocks until all pending USB
requests utilizing the AIO path is completed. However, since the dequeue
of ep0 req does not happen properly, all non-control EPs with the
DWC3_EP_DELAY_STOP flag set will not be handled, and the AIO exit path will
be stuck waiting for the USB FFS data endpoints to receive a completion
callback.
Fix is to utilize dwc3_ep0_reset_state() in the dequeue API to ensure EP0
is brought back to the SETUP state, and ensures that any deferred end
transfer commands are handled. This also will end any active transfers
on EP0, compared to the previous implementation which directly called
giveback only.
Fixes: fcd2def663 ("usb: dwc3: gadget: Refactor dwc3_gadget_ep_dequeue")
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Bug: 318577849
Change-Id: Ic00684db4b502f1aab128f7e49f22510dda24f60
(cherry picked from commit 730e12fbec53ab59dd807d981a204258a4cfb29a https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing)
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
(cherry picked from commit d6554d1262 )
2024-01-12 15:17:11 +00:00
Wesley Cheng
0d3c49180f
UPSTREAM: usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
...
Several sequences utilize the same routine for forcing the control endpoint
back into the SETUP phase. This is required, because those operations need
to ensure that EP0 is back in the default state.
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Link: https://lore.kernel.org/r/20230420212759.29429-3-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 318577849
Change-Id: I10fb6823ad50abeb4efa70ffa2037e85725d20f7
(cherry picked from commit 8f40fc0808 )
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
2024-01-12 15:17:11 +00:00
Wesley Cheng
154a4394d0
UPSTREAM: usb: dwc3: gadget: Execute gadget stop after halting the controller
...
Do not call gadget stop until the poll for controller halt is
completed. DEVTEN is cleared as part of gadget stop, so the intention to
allow ep0 events to continue while waiting for controller halt is not
happening.
Fixes: c96683798e ("usb: dwc3: ep0: Don't prepare beyond Setup stage")
Cc: stable@vger.kernel.org
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Link: https://lore.kernel.org/r/20230420212759.29429-2-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 318577849
Change-Id: I9c72fdd08b44a200505f8e4a91ba8c42338753ca
(cherry picked from commit 39674be56f )
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
2024-01-12 15:17:11 +00:00
Wesley Cheng
0b1767af48
BACKPORT: usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
...
It was observed that there are hosts that may complete pending SETUP
transactions before the stop active transfers and controller halt occurs,
leading to lingering endxfer commands on DEPs on subsequent pullup/gadget
start iterations.
dwc3_gadget_ep_disable name=ep8in flags=0x3009 direction=1
dwc3_gadget_ep_disable name=ep4in flags=1 direction=1
dwc3_gadget_ep_disable name=ep3out flags=1 direction=0
usb_gadget_disconnect deactivated=0 connected=0 ret=0
The sequence shows that the USB gadget disconnect (dwc3_gadget_pullup(0))
routine completed successfully, allowing for the USB gadget to proceed with
a USB gadget connect. However, if this occurs the system runs into an
issue where:
BUG: spinlock already unlocked on CPU
spin_bug+0x0
dwc3_remove_requests+0x278
dwc3_ep0_out_start+0xb0
__dwc3_gadget_start+0x25c
This is due to the pending endxfers, leading to gadget start (w/o lock
held) to execute the remove requests, which will unlock the dwc3
spinlock as part of giveback.
To mitigate this, resolve the pending endxfers on the pullup disable
path by re-locating the SETUP phase check after stop active transfers, since
that is where the DWC3_EP_DELAY_STOP is potentially set. This also allows
for handling of a host that may be unresponsive by using the completion
timeout to trigger the stall and restart for EP0.
Fixes: c96683798e ("usb: dwc3: ep0: Don't prepare beyond Setup stage")
Cc: stable@vger.kernel.org
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Link: https://lore.kernel.org/r/20230413195742.11821-2-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 318577849
Change-Id: I174da4d23e40fa4f13bc17582b09b6d76e5a35c0
(cherry picked from commit 02435a739b )
[wcheng: fixed minor merge conflict with IF block relocation]
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
2024-01-12 15:17:11 +00:00
Wesley Cheng
b68fafef56
UPSTREAM: usb: dwc3: gadget: Submit endxfer command if delayed during disconnect
...
During a cable disconnect sequence, if ep0state is not in the SETUP phase,
then nothing will trigger any pending end transfer commands. Force
stopping of any pending SETUP transaction, and move back to the SETUP
phase.
Reviewed-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Link: https://lore.kernel.org/r/20220901193625.8727-6-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 318577849
Change-Id: I7845e7730e48b0e6de5e2a428c6e6c310602771a
(cherry picked from commit 8422b769fa )
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
2024-01-12 15:17:11 +00:00
Thinh Nguyen
02524b7519
UPSTREAM: usb: dwc3: ep0: Don't prepare beyond Setup stage
...
Since we can't guarantee that the host won't send new Setup packet
before going through the device-initiated disconnect, don't prepare
beyond the Setup stage and keep the device in EP0_SETUP_PHASE. This
ensures that the device-initated disconnect sequence can go through
gracefully. Note that the controller won't service the End Transfer
command if it can't DMA out the Setup packet.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com >
Link: https://lore.kernel.org/r/6bacec56ecabb2c6e49a09cedfcac281fdc97de0.1650593829.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Bug: 318577849
Change-Id: I490626f51ba79b94894995c5acf8bc81f649091f
(cherry picked from commit c96683798e )
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
2024-01-12 15:17:11 +00:00
Charan Teja Kalla
149320568d
ANDROID: arm64: mm: perform clean & invalidation in __dma_map_area
...
commit c50f11c619 ("arm64: mm: Don't invalidate FROM_DEVICE buffers at
start of DMA transfer") break assumptions of some device drivers about
invalidation that happens as part of __dma_map_area(DMA_FROM_DEVICE). An
example include drivers using dmabuf API dma_buf_begin_cpu_access() and
dma_buf_end_cpu_access() to achieve buffer invalidation. Fix this breakage
by replacing clean with clean and invalidation in __dma_map_area() for
DMA inbound case.
Bug: 260978220
Change-Id: Id1a2750c2036de693cd52e8f7316f1d820b5a262
Fixes: c50f11c619 ("arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer")
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com >
Signed-off-by: Shiraz Hashim <quic_shashim@quicinc.com >
Signed-off-by: Prakash Gupta <quic_guptap@quicinc.com >
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com >
(cherry picked from commit 8022d8faf64fbf1efba1f134fedc0eba758cdfd0)
2024-01-12 04:12:39 +00:00
qinglin.li
d0cdb904f9
ANDROID: GKI: Update symbol list for Amlogic
...
1 function symbol(s) added
'unsigned long long task_sched_runtime(struct task_struct*)'
Bug: 319333881
Change-Id: I2ce1c2948ee5acf904c672249f8c22066ea96379
Signed-off-by: Qinglin Li <qinglin.li@amlogic.com >
2024-01-10 18:06:43 +00:00
Coly Li
a95b355479
UPSTREAM: bcache: move uapi header bcache.h to bcache code directory
...
The header file include/uapi/linux/bcache.h is not really a user space
API heaer. This file defines the ondisk format of bcache internal meta
data but no one includes it from user space, bcache-tools has its own
copy of this header with minor modification.
Therefore, this patch moves include/uapi/linux/bcache.h to bcache code
directory as drivers/md/bcache/bcache_ondisk.h.
Suggested-by: Arnd Bergmann <arnd@kernel.org >
Suggested-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Coly Li <colyli@suse.de >
Link: https://lore.kernel.org/r/20211029060930.119923-2-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk >
(cherry picked from commit cf2197ca4b )
Bug: 183899269
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: Idb88d748a0cd11708a07ae7ad21ed76ede14b3c3
2024-01-10 10:42:31 +01:00
Pablo Neira Ayuso
6246b8f3ef
UPSTREAM: netfilter: nf_tables: skip set commit for deleted/destroyed sets
...
commit 7315dc1e122c85ffdfc8defffbb8f8b616c2eb1a upstream.
NFT_MSG_DELSET deactivates all elements in the set, skip
set->ops->commit() to avoid the unnecessary clone (for the pipapo case)
as well as the sync GC cycle, which could deactivate again expired
elements in such set.
Bug: 318548348
Fixes: 5f68718b34 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Reported-by: Kevin Rich <kevinrich1337@gmail.com >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 0105571f80 )
Signed-off-by: Lee Jones <joneslee@google.com >
Change-Id: Ie733688e27d9568d797fc1bc477261883b7dc8c1
2024-01-09 16:26:01 +00:00
Quentin Perret
6048991845
ANDROID: KVM: arm64: Avoid BUG-ing from the host abort path
...
Under certain circumstances __get_fault_info() may resolve the faulting
address using the AT instruction. Given that this is being done outside
of the host lock critical section, it is racy and the resolution via AT
may fail. We currently BUG() in this situation, which is obviously less
than ideal. Moving the address resolution to the critical section may
have a performance impact, so let's keep it where it is, but bail out
and return to the host to try a second time.
Bug: 311830307
Change-Id: I26d61b04a4ccf040bd31802abb3c6b998ff4a48b
Signed-off-by: Quentin Perret <qperret@google.com >
2024-01-09 16:00:03 +00:00
erinwang
38cb0b1181
ANDROID: GKI: Update symbol list for lenovo
...
2 function symbol(s) added
'int mmc_app_cmd(struct mmc_host*, struct mmc_card*)'
'int sdhci_execute_tuning(struct mmc_host*, u32)'
Bug: 318326524
Change-Id: I0bbd724aacb7ffa43636c142bd3be01448e8f9b1
Signed-off-by: erinwang <erinwang2@lenovo.com >
2024-01-09 08:12:53 +00:00
Carlos Llamas
3cd672870a
ANDROID: binder: fix KMI-break due to alloc->lock
...
Wrap 'struct binder_proc' inside 'struct binder_proc_wrap' to add the
alloc->lock equivalent without breaking the KMI. Also, add convenient
apis to access/modify this new spinlock.
Without this patch, the following KMI issues show up:
type 'struct binder_proc' changed
byte size changed from 616 to 576
type 'struct binder_alloc' changed
byte size changed from 152 to 112
member 'spinlock_t lock' was added
member 'struct mutex mutex' was removed
Bug: 254650075
Change-Id: Ic31dc39fb82800a3e47be10a7873cd210f7b60be
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
63f7ddea2e
ANDROID: binder: fix KMI-break due to address type change
...
In commit ("binder: keep vma addresses type as unsigned long") the vma
address type in 'struct binder_alloc' and 'struct binder_buffer' is
changed from 'void __user *' to 'unsigned long'.
This triggers the following KMI issues:
type 'struct binder_buffer' changed
member changed from 'void* user_data' to 'unsigned long user_data'
type changed from 'void*' to 'unsigned long'
type 'struct binder_alloc' changed
member changed from 'void* buffer' to 'unsigned long buffer'
type changed from 'void*' to 'unsigned long'
This offending commit is being backported as part of a larger patchset
from upstream in [1]. Lets fix these issues by doing a partial revert
that restores the original types and casts to an integer type where
necessary.
Note this approach is preferred over dropping the single KMI-breaking
patch from the backport, as this would have created non-trivial merge
conflicts in the subsequent cherry-picks.
Bug: 254650075
Link: https://lore.kernel.org/all/20231201172212.1813387-1-cmllamas@google.com/ [1]
Change-Id: Ief9de717d0f34642f5954ffa2e306075a5b4e02e
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
74ecd99c15
BACKPORT: FROMGIT: binder: switch alloc->mutex to spinlock_t
...
The alloc->mutex is a highly contended lock that causes performance
issues on Android devices. When a low-priority task is given this lock
and it sleeps, it becomes difficult for the task to wake up and complete
its work. This delays other tasks that are also waiting on the mutex.
The problem gets worse when there is memory pressure in the system,
because this increases the contention on the alloc->mutex while the
shrinker reclaims binder pages.
Switching to a spinlock helps to keep the waiters running and avoids the
overhead of waking up tasks. This significantly improves the transaction
latency when the problematic scenario occurs.
The performance impact of this patchset was measured by stress-testing
the binder alloc contention. In this test, several clients of different
priorities send thousands of transactions of different sizes to a single
server. In parallel, pages get reclaimed using the shinker's debugfs.
The test was run on a Pixel 8, Pixel 6 and qemu machine. The results
were similar on all three devices:
after:
| sched | prio | average | max | min |
|--------+------+---------+-----------+---------|
| fifo | 99 | 0.135ms | 1.197ms | 0.022ms |
| fifo | 01 | 0.136ms | 5.232ms | 0.018ms |
| other | -20 | 0.180ms | 7.403ms | 0.019ms |
| other | 19 | 0.241ms | 58.094ms | 0.018ms |
before:
| sched | prio | average | max | min |
|--------+------+---------+-----------+---------|
| fifo | 99 | 0.350ms | 248.730ms | 0.020ms |
| fifo | 01 | 0.357ms | 248.817ms | 0.024ms |
| other | -20 | 0.399ms | 249.906ms | 0.020ms |
| other | 19 | 0.477ms | 297.756ms | 0.022ms |
The key metrics above are the average and max latencies (wall time).
These improvements should roughly translate to p95-p99 latencies on real
workloads. The response time is up to 200x faster in these scenarios and
there is no penalty in the regular path.
Note that it is only possible to convert this lock after a series of
changes made by previous patches. These mainly include refactoring the
sections that might_sleep() and changing the locking order with the
mmap_lock amongst others.
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-29-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 7710e2cca32e7f3958480e8bd44f50e29d0c2509
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I67121be071d5f072ac0e5eb719c95c0f1dee5eb5
[cmllamas: fixed conflicts due to missing e66b77e505 ]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
5a8658eac3
BACKPORT: FROMGIT: binder: reverse locking order in shrinker callback
...
The locking order currently requires the alloc->mutex to be acquired
first followed by the mmap lock. However, the alloc->mutex is converted
into a spinlock in subsequent commits so the order needs to be reversed
to avoid nesting the sleeping mmap lock under the spinlock.
The shrinker's callback binder_alloc_free_page() is the only place that
needs to be reordered since other functions have been refactored and no
longer nest these locks.
Some minor cosmetic changes are also included in this patch.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-28-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit e50f4e6cc9bfaca655d3b6a3506d27cf2caa1d40
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I7f7501945a477ac5571082a5dd2a7934f484b8ab
[cmllamas: fixed conflicts due to missing e66b77e505 ]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
f0667c870c
FROMGIT: binder: avoid user addresses in debug logs
...
Prefer logging vma offsets instead of addresses or simply drop the debug
log altogether if not useful. Note this covers the instances affected by
the switch to store addresses as unsigned long. However, there are other
sections in the driver that could do the same.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-27-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 162c79731448a5a052e93af7753df579dfe0bf7a
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I92b7f409e45d9006492d56302e911ccdd8efc950
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
b93c9f8565
FROMGIT: binder: refactor binder_delete_free_buffer()
...
Skip the freelist call immediately as needed, instead of continuing the
pointless checks. Also, drop the debug logs that we don't really need.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-26-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit f07b83a48e944c8a1cc1e9f6703fae5e34df2ba4
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I035bd6cd5c06ec984cd6eb3c3b53e0958c64df4f
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
f6b1c043ae
FROMGIT: binder: collapse print_binder_buffer() into caller
...
The code in print_binder_buffer() is quite small so it can be collapsed
into its single caller binder_alloc_print_allocated().
No functional change in this patch.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-25-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 8e905217c4543af9cf1754809846157a7dbbb261
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: Ic3e2522b4702e60e09be3d5940f88ec8252ac793
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
683f84a35f
FROMGIT: binder: document the final page calculation
...
The code to determine the page range for binder_lru_freelist_del() is
quite obscure. It leverages the buffer_size calculated before doing an
oversized buffer split. This is used to figure out if the last page is
being shared with another active buffer. If so, the page gets trimmed
out of the range as it has been previously removed from the freelist.
This would be equivalent to getting the start page of the next in-use
buffer explicitly. However, the code for this is much larger as we can
see in binder_free_buf_locked() routine. Instead, lets settle on
documenting the tricky step and using better names for now.
I believe an ideal solution would be to count the binder_page->users to
determine when a page should be added or removed from the freelist.
However, this is a much bigger change than what I'm willing to risk at
this time.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-24-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 67dcc880780569ec40391cae4d8299adc1e7a44e
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: Iec2466605fe7f8aa338c8313f586cdb7519a36e7
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
4c82cbad43
BACKPORT: FROMGIT: binder: rename lru shrinker utilities
...
Now that the page allocation step is done separately we should rename
the binder_free_page_range() and binder_allocate_page_range() functions
to provide a more accurate description of what they do. Lets borrow the
freelist concept used in other parts of the kernel for this.
No functional change here.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-23-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit ea9cdbf0c7273b55e251b2ed8f85794cfadab5d5
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I0d0dfcc6f72d54209da310be2ad5e30f3d722652
[cmllamas: fixed trivial conflicts due to missing commits e33c267ab7
95a542da5322e]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Minghao Chi
eba1fb9603
UPSTREAM: drivers/android: remove redundant ret variable
...
Return value from list_lru_count() directly instead
of taking this in another redundant variable.
Reported-by: Zeal Robot <zealci@zte.com.cn >
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn >
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com >
Link: https://lore.kernel.org/r/20220104113500.602158-1-chi.minghao@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit b2fb28dedd )
Change-Id: Ibe0d4a6c93a860e8ca2a3308a7073fa2eff9e785
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
356047fe2a
FROMGIT: binder: make oversized buffer code more readable
...
The sections in binder_alloc_new_buf_locked() dealing with oversized
buffers are scattered which makes them difficult to read. Instead,
consolidate this code into a single block to improve readability.
No functional change here.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-22-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit de0e6573125f8ea7a01a9b05a45b0c73116c73b2
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I62c2cec7341e13d9174b4f0839a1345df7cfd808
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
f7476dca31
FROMGIT: binder: remove redundant debug log
...
The debug information in this statement is already logged earlier in the
same function. We can get rid of this duplicate log.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-21-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 258ce20ede33c551002705fa1488864fb287752c
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: Ie533a55ea10b2af927004f1d0e244b386ba25360
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
477e8e8453
BACKPORT: FROMGIT: binder: perform page installation outside of locks
...
Split out the insertion of pages to be outside of the alloc->mutex in a
separate binder_install_buffer_pages() routine. Since this is no longer
serialized, we must look at the full range of pages used by the buffers.
The installation is protected with mmap_sem in write mode since multiple
tasks might race to install the same page.
Besides avoiding unnecessary nested locking this helps in preparation of
switching the alloc->mutex into a spinlock_t in subsequent patches.
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-20-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 37ebbb4f73a0d299fa0c7dd043932a2f5fbbb779
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I7b0684310b8824194d7e4a51a1fd67944f8ec06a
[cmllamas: fixed conflicts due to missing e66b77e505 ]
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00
Carlos Llamas
af71193412
FROMGIT: binder: initialize lru pages in mmap callback
...
Rather than repeatedly initializing some of the binder_lru_page members
during binder_alloc_new_buf(), perform this initialization just once in
binder_alloc_mmap_handler(), after the pages have been created.
Reviewed-by: Alice Ryhl <aliceryhl@google.com >
Signed-off-by: Carlos Llamas <cmllamas@google.com >
Link: https://lore.kernel.org/r/20231201172212.1813387-19-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Bug: 254650075
(cherry picked from commit 68aef12d094e4c96d972790f1620415460a4f3cf
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-next)
Change-Id: I3197038683f76a5cb98a79d017d1515429df2d73
Signed-off-by: Carlos Llamas <cmllamas@google.com >
2024-01-09 01:15:49 +00:00