Commit Graph

1075683 Commits

Author SHA1 Message Date
song.han
5403315509 boottime: reduce boot time [1/1]
PD#SWPL-71744

Problem:
1.Jitter rng is doing 1024 rounds of tests and causing
long initialization time.

Solution:
1.change jent_mod_int to delaywork to reduce boot time.

Verify:
c2_af400

Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: I90e67854b213dd673077c72bb4830264d17f1f88
2025-01-17 15:07:00 +09:00
Jianxiong Pan
27c28eb41f mm: enable amlogic vmap stack for arm64. [1/1]
PD#SWPL-188077

Problem:
optimizate kernel stack.

Solution:
enable amlogic vmap stack.

Verify:
local.

Change-Id: I295e3164d240a22eadb4e5b1854edcad12c7833e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
shuide chen
3adaba5050 memory: reduce the default dm mempool value [1/1]
PD#SWPL-179931

Problem:
System performance is not good. we saw dm create too much mempool

Solution:
reduce the default pool size, we tested:
Before:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.36    yes:  9.90s     0.78s       9.13s     yes  pass: 100%
cuj-100MB       0.39    yes:  9.73s     0.95s       8.79s     yes  pass: 100%
cuj-200MB       0.48    yes: 11.06s     1.63s       9.43s     yes  pass:  80%
cuj-250MB       0.55    yes: 12.57s     3.07s       9.50s     yes  pass:  80%
cuj-275MB       0.47    yes: 15.60s     6.13s       9.47s     yes  pass:  60%
cuj-276MB       0.52    yes: 13.30s     3.69s       9.61s     yes  pass:  80%
cuj-278MB       0.93    yes: 16.03s     6.25s       9.79s     yes  fail:  14%
cuj-280MB       0.72    yes: 16.22s     6.58s       9.63s     yes  fail:  14%
cuj-287MB       0.71    yes: 19.69s     9.26s      10.43s     yes  fail:   0%
cuj-300MB       0.63    yes: 16.85s     7.14s       9.71s     yes  fail:  14%
-----------------------------------------------------------------------------

After:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.37    yes: 10.44s     0.73s       9.72s     yes  pass: 100%
cuj-100MB       0.36    yes: 10.12s     0.74s       9.38s     yes  pass: 100%
cuj-200MB       0.42    yes: 10.60s     1.29s       9.30s     yes  pass: 100%
cuj-250MB       0.47    yes: 12.99s     2.21s      10.78s     yes  pass: 100%
cuj-275MB       0.49    yes: 13.32s     3.37s       9.95s     yes  pass:  80%
cuj-287MB       0.53    yes: 13.10s     3.62s       9.48s     yes  pass:  60%
cuj-289MB       0.53    yes: 13.62s     3.97s       9.65s     yes  pass:  80%
cuj-291MB       0.52    yes: 14.48s     4.72s       9.77s     yes  pass:  50%
cuj-293MB       0.53    yes: 16.11s     5.98s      10.13s     yes  fail:  33%
cuj-300MB       0.54    yes: 16.18s     6.02s      10.16s     yes  fail:  14%
-----------------------------------------------------------------------------

Verify:
Locally

Change-Id: I84ffb4dbbada3db142dee02f5dc2fa952bd1f3b3
Signed-off-by: shuide chen <shuide.chen@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
3686620294 amfc: compress kernel by zstd [1/1]
PD#SWPL-181954

Change-Id: Iaec2a486f4dfb7788238775c4a92d2727b00d45b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
42267d17a4 arm64: support Image.zstd target [1/1]
PD#SWPL-163856

Problem:
not support Image.zstd build target

Solution:
add it

Change-Id: I95a4214fd19a3d6206f972ddc3f318de5b58cc4c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
b7d364ea0e crypto: add parameters to control zstd compress level [1/1]
PD#SWPL-57667

Problem:
ZSTD compress level is fixed

Solution:
add module parameters to control it. By default, set
compress level to 1

Verify:
t5d am311

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I4c80eb8cd591c8a2197c7781e8afe589f121ffd7
2025-01-17 15:07:00 +09:00
Jianxiong Pan
2b75b11030 mm: fix 32bit kasan can't boot on T5W [1/1]
PD#SWPL-80202

Problem:
If enabled 32bit kasan on T5W with VMAP, kernel can't boot.
This case can't happen on T5D.

Solution:
Rootcause is bss cleared but real data keeps in cache, not flushed
into DDR, and physical kasan shadow page soon be mapped to shadow
memory while in shadow virtual address we see random data, which
caused kasan check failed in vmap fixup function and crashed. So
just add a dcache flush function call after bss cleared.

Verify:
T5W

Change-Id: Id72d26046a2155ee8fea35c3bf8c7aa4fe52e7a4
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
Hao Shi
7d18a616b5 zapper: close videobuf2 in zapper [1/3]
PD#SWPL-147419

Problem:
Zapper optimization v4l2.

Solution:
close related VIDEOBUF2.

Verify:
BG201

Change-Id: I525eb07d67b8d2c740a2786138764309101f46fa
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
89d4f9fe50 trace: add white list for trace event [1/1]
PD#SWPL-145324

Problem:
There are too many trace event inodes

Solution:
Add white list for trace event, this can save about 10MB memory

Verify:
t5m

Change-Id: I290020fc93e6114650313328ec8757720bfc8b1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Hanjie Lin
090dc09a9f system_heap: optimize allocate orders [1/1]
PD#SWPL-139378

Problem:
MID_ORDER_GFP may cost a lot of CPU time in memor compaction when allocate
big system heap.

Solution:
change to HIGH_ORDER_GFP can prevent this cost.
Change order 4 to 3 let system heap can allocate more contiguous memory.

Verify:
ohm

Change-Id: I54799ad624fa2db3d63311209371654e35b2f5c3
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
aa797165b4 ARM: stacktrace: filter irq stacks. [1/1]
PD#SWPL-101774

Problem:
save_stack_trace can't simplify all callers'
use of stackdepot, because the value of
"__irqentry_text_start" and "__irqentry_text_end"
is same.

Solution:
"#define __exception_irq_entry	__irq_entry" to
make the section ".irqentry.text" is not empty.

Verify:
THXD2

Change-Id: Ib99f366955a051cb439ee9f86dfe2c667288d2d0
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
19bad2f213 ARM: stacktrace: don't save non kernel and module calls [2/2]
PD#SWPL-101774

Problem:
save_stack_trace now record user calls

Solution:
add kernel_or_module_addr judgement before save stack

Verify:
t5w 32bit

Change-Id: Ie029f6082aa1be33924018ec655267b426054aae
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
qinglin.li
ff7f9cb5b5 dmc_monitor: arm need check memory map [1/1]
PD#SWPL-132402

Problem:
read no map memory failed when arm build

Solution:
check memory map when arm build

Verify:
local

Change-Id: Ie9a0359168e3ed620a8bb2a5b7a3ef3e85d983bc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
f1d84fcb1f mm: add memory optimization. [1/1]
PD#SWPL-128561

Problem:
add memory optimization.

Solution:
add memory optimization.

Verify:
local.

Change-Id: I28b07555f88ce0c395edd384d7664217f6ddc329
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
ef7821ce7c zapper: disable unnecessary configs of zapper. [1/2]
PD#SWPL-116862

Problem:
memory optimization.

Solution:
disable unnecessary configs.

Verify:
t215.

Change-Id: Ia2f39b1c9d55986522c763c2a40960ad3a6cc09f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
song.han
fea0de9e4e kasan: enable kasan on arm32 [1/2]
PD#SWPL-128513

Problem:
enable kasan on arm32 will crash

Solution:
disable AMLOGIC_VMAP when kasan enabled
increase modules region form 16M to 32M

Verify:
TXHD2

Change-Id: Ia909a2f3522f5d994a6b74f2e853f10d0a7ac6ca
Signed-off-by: song.han <song.han@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
f36dd9bc49 mm: port lowmemorykiller for 5.15+P. [1/2]
PD#SWPL-124928

Problem:
Android P no LMKD.

Solution:
add statistics for free file cma and more.

Verify:
local.

Change-Id: If31f74666d97b9e42627e7d7fff693b52e0fbc2e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
e21b03cf8b config: Add CONFIG_AMLOGIC_LINUX_S_OPTIMIZE for kernel size optimize. [1/1]
PD#SWPL-114632

Problem:
Kernel size is too big

Solution:
Remove some CONFIGs

Verify:
c3 pass

Change-Id: I259aa858e541cd18400c94abea5b2bb447720fbf
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
7818f06509 mm: reset the dma ops for pcie device. [1/1]
PD#SWPL-103303

Problem:
meet the pcie whitelist.

Solution:
reset the dma ops for pcie device.

Verify:
build pass.

Change-Id: I70d53aa94d827c0571555778248a17bd82d0b4d9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
07622f00e6 mm: pin locked file after fault. [1/2]
PD#SWPL-95400

Problem:
If we pin a file in android, the whole data of this file
will be loaded to DDR, but most of these data may not be
used, this caused memory waste.

Solution:
delay mark mlocked flags for unevictable pages until
it has been faulted.
You can use following command to disable this function:
echo 0 > /proc/sys/vm/shrink_unevictable

Verify:
sc2_ah212

Change-Id: I05bb7654cc228604fe692429efbe40af713ca5c3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
0f59e46198 mm: disable FAULT_FLAG_SPECULATIVE. [1/2]
PD#SWPL-94445

Problem:
play video system crash.

Solution:
disable FAULT_FLAG_SPECULATIVE.

Verify:
sc2_ah212.

Change-Id: Ib056ffe1f48e68ae8e7b848c23db8218710fbbb7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
473137409a mm: fix crash in auto-reboot after open vmap stack [1/1]
PD#SWPL-92714

Problem:
llmv can't guarantee frame pointer register is saved in leaf function
calls. But x29 is dedicated used by vmap stack function. This caused
stack mistake and system hung.

Solution:
Add -mno-omit-leaf-frame-pointer to force x29 used as dedicated frame
pointer

Verify:
t5d am301

Change-Id: I688d61894bdbaaf8f968d1b7689f533d3d62cb88
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
f8646e1431 mm: save wasted memory by slab [1/2]
PD#SWPL-73422

Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller do not free it.

Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB during
runtime.
mm: reset page order to slab size. [1/1]
gki: modify the slabtrace to meet gki request. [1/2]
mm: fix slab info stat error. [2/2]

Verify:
local.

Change-Id: If0b5aa61f123c657ddd6f49b42b0a60220a25910
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
53b256f1e3 mm: add user fault debug support. [1/2]
PD#SWPL-73676

Problem:
need user fault debug support.

Solution:
add user fault debug support.

Verify:
local.

Change-Id: I6f48a5ec1cb75b276a15f6791ec09f2a2ed5d159
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
710268fbca mm: add memory extend support. [2/2]
PD#SWPL-73189

problem:
add memory extend support.

Solution:
mm: reduce dcache and inode hash size. [1/1]
dma-buf: dma-buf system heap report warning. [1/1]
gki: delete vendor modifications to meet gki requirements. [1/1]
mm: add AMLOGIC_MEMORY_STAT config. [1/2]
mm: print more information for slabinfo. [1/1]
mm: add code to count free pages on migrate list [1/1]
mm: fixed tvp alloc failed. [1/1]
reserved_memory: change print of all reserved memory. [1/1]
dma-buf: dma-buf system heap report error [1/1]
mm: reduce cache line size to 64 bytes to save memory [1/1]
mm: forward memory reclaim process [2/2]

Verify:
local.

Change-Id: I5a67b958824bc85c75fba2c9a5e726ffe4555343
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
9ea1da1c23 mm: add mem debug support. [2/2]
PD#SWPL-72254

Problem:
No mem debug.

Solution:
porting it from 5.4.

Verify:
local.

Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Change-Id: Ibdae855520510910e8f9a9dba9a469e0b46cc512
2025-01-17 15:06:59 +09:00
Tao Zeng
54f845e63c mm: porting CMA optimization from 5.4 [1/2]
PD#SWPL-70022
PD#SWPL-131211

Problem:
No cma optimization on 5.15

Solution:
1, kernel only allow zram/anon pages use cma, new solution all
   all movable pages can use cma;
2, add __GFP_NO_CMAto tell buddy system which cases can't use
   cma;
3, keep high reference/active file cache pages when cma allocating;
4, hook real cma allocate/release interface to aml_cma.c, which can
   use boost mode when allocate large amount of cma;
5, count cma isolated pages to avoid deadloop congestion wait in kswapd
   or compaction case;
6, keep cma-unsuitable pages not compacte to cma area;
7, fix SWPL-131211

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ib82b898a596eba62e1aa1cb13719eab41f03ae58
2025-01-17 15:06:59 +09:00
Tao Zeng
34a0f09b76 mm: add slab trace support [1/2]
PD#SWPL-70022

Problem:
No slab trace on 5.15

Solution:
Porting it from 5.4

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I8604e6d144ba212e33db9d2a842b128c791fc2bd
2025-01-17 15:06:59 +09:00
Tao Zeng
a1db7dca6c mm: add pagetrace support [1/2]
PD#SWPL-70022

Problem:
No pagetrace function on 5.15 kernel

Solution:
porting it from 5.4

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I69cc8b4f4fa4c323204f86e5c76613cd3d6087df
2025-01-17 15:06:59 +09:00
Hanjie Lin
99e9f7177e arm: disable OPTPROBES and noinline handle_pte_fault [1/1]
PD#SWPL-121806

Problem:
arm OPTPROBES will cause kprobe handler unexpected behavior
memory atrace need kprobe at handle_pte_fault()

Solution:
disable HAVE_OPTPROBES and noinline handle_pte_fault

Verify:
sc2

Change-Id: I4efbec5aeeb7b6fe56f6fbd0d413bae123549c5a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
220a32f34b sched: vts: vts_kernel_proc_file_api_test [2/2]
PD#SWPL-124519

Problem:
vts_kernel_proc_file_api_test module 3 fail

Solution:
add 3 proc file interfaces 'sched_latency_ns',
'sched_wakeup_granularity_ns',
'sched_tunable_scaling'

Verify:
SC2

Change-Id: I514cea758d73825252a14cb7c39e1f233d075f2e
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
c8bfffefff debug: misc modifications [1/1]
PD#SWPL-114632

Problem:
gki optimize

Solution:
code optimize

Verify:
s4

Change-Id: I4561d2c235baacaf73fd82e5b850dda74148724e
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
c7d56b663b iotrace: support iotrace driver [1/1]
PD#SWPL-114632

Problem:
support iotrace driver

Solution:
support iotrace

Verify:
on s4d_ap222 and c2_af400

Change-Id: Id4dc4f64d886dc551f32d776ebaa2c9c2d5650b0
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
ed6c0c92dd debug_lockup:add lockup support [1/1]
PD#SWPL-114632

Problem:
add lockup support

Solution:
add lockup support

Verify:
s4

Change-Id: I05a407250655338b7bd128ca918275331c040e52
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
03074c9003 printk: use vendor_hook print cpu and irq info [1/1]
PD#SWPL-114632

Problem:
use vendor_hook print cpu and irq info

Solution:
use vendor_hook print cpu and irq info

Verify:
sc2

Change-Id: I337e61de17494367063f0a14d59ce4cde6d07679
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
8b88bf9a31 unwind: fix too mush unwind warning on arm32 [1/1]
PD#SWPL-114632

Problem:
too much unwind warning when pt_regs pc register is invalid

Solution:
use pt_regs lr register to unwind, replace pc register

Verify:
C3

Change-Id: I53bc7739e2909818c04d6e50b2172a06984bd883
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
Yan Wang
76880201e8 dotprod: aarch32 run dotprod code and generate undefined error. [1/1]
PD#SWPL-195843

Problem:
cts fail when aarch32 run dotprod code;
Generate undefined error.

Solution:
add dotprod instructions support in aarch32.

Verify:
sc2 ah212

Change-Id: I0b527b670af8bdcbfe55fca7a8755b3acc1d44a8
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
dongqing.li
3dfa498525 ramdump: set TEXT_OFFSET=0x02008000 for ker5.15-u32 [1/1]
PD#SWPL-182182

Problem:
The .text addr of Kernel 32bit is 0. When enabling the
ramdump, it needs to be offset to 24MB+.

Solution:
1. modify textofs-y := 0x02008000, LOADADDR=0x02008000
2. enable for .ko link error: CONFIG_ARM_MODULE_PLTS
3. disable AUTO_ZRELADDR (less than 128MB, not necessary)
4. enable for gdb debug: CONFIG_AMLOGIC_RAMDUMP, CONFIG_KALLSYMS,
CONFIG_KALLSYMS_ALL, CONFIG_DEBUG_INFO, CONFIG_FRAME_POINTER,
CONFIG_DEBUG_KERNEL
5. add trace_android_vh_ipi_stop() for ker 32bit IPI_STOP.

Verify:
sc2, T5D, T5W, TXHD2, S4D

Change-Id: I771e8d82c0ec4c51f85a3b71aba6cc3540fac98c
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-01-17 15:06:58 +09:00
qinglin.li
cea3bb76e7 arm: set TEXT_OFF default with 0x208000 [1/1]
PD#SWPL-144091

Problem:
swapper_pg_dir is the virtual address of the initial page table.
It will use this value as the starting address for the reserved memory.
the value depend on TEXT_OFF in arm, and default is 0x8000.
In 5.4, CONFIG_ARCH_MESON be set, it be set 0x208000, but
in 5.15, CONFIG_ARCH_MESON not set, so the start addr conflict with dmc.

Solution:
set TEXT_OFF default with 0x208000

Verify:
planck

Change-Id: Iea66ca0edcd360f9f54e8df3574553170403d571
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-17 15:06:58 +09:00
Jianxin Pan
d636108e25 vfp: disable access to FPINST/FPINST2 for aarch32 [1/1]
PD#SWPL-58611

Problem:
upported FP instruction in kernel mode

Solution:
disable  access to FPINST/FPINST2 for aarch32 because there is
no fpinst/fpinst2 in armv8 aarch32.

Verify:
T5D

Change-Id: I930193d2a28b80c875d250b7dbc0287c47d84c84
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
(cherry picked from commit f430dfd5d417fa5ccf739502bb3be89d48232a24)
2025-01-17 15:06:58 +09:00
qiankun.wang
0460eae431 cpu: fix core0 cannot be offline in 32BIT kernel [1/1]
PD#SWPL-114632

Problem:
fix core0 cannot be offline in 32BIT kernel

Solution:
fix core0 cannot be offline in 32BIT kernel

Verify:
on s4_aq222

Change-Id: I0c1bf91e013f133851494622bd59da33ac038a51
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
Lei Zhang
512585a440 riscv: dump register and pfn [2/3]
PD#SWPL-94239

Problem:
dump register and pfn

Solution:
dump register and pfn

Verify:
on PXP

Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I9acbabb63e4647b8619c29f822d54ade9abcb1ba
2025-01-17 15:06:58 +09:00
Dezhen Wang
fd04310eaf scripts: 5.15 accommodate common drivers dir moved out from 6.6 [1/1]
PD#SWPL-178341

Problem:
5.15 accommodate common drivers dir moved out from 6.6
make config setting for extra drivers

Solution:
add config setting

Verify:
local

Change-Id: I64e3bfa9100d642e10472f4159c2a0556efad9af
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
db29afc2d5 Merge branch 'android14-5.15' into amlogic-5.15-dev [1/1]
PD#SWPL-87897

Problem:
record merge upstream information

Solution:
AML_KERNEL_VERSION      12
UPSTREAM_VERSION        "2447b4c0a5ca8"
AML_PATCH_VERSION       "2447b4c0a5ca8"
MERGE_DATE              "2024-08-02"

Verify:
sc2

Change-Id: I69f8a7d5d122dec79a63283b9def5eea59a50559
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
d7f442ce10 bazel: support use bazel tool to build [1/1]
PD#SWPL-112151

Problem:
support use bazel tool to build

Solution:
support use bazel tool to build

Verify:
sc2

Change-Id: I96e80b97ed481f32239955748ffa52e7d40a85aa
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
3bdc802dbf init: initialize the building framework of androidu-5.15 for amlogic [1/1]
PD#SWPL-109858

Problem:
Initialize the building framework of androidu-5.15 for amlogic

Solution:
Initialize the building framework of androidu-5.15 for amlogic

Verify:
sc2

Change-Id: Icfbc29709af1545b802ed7794808a2ab560ed08a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00
Greg Kroah-Hartman
2447b4c0a5 Merge tag 'android14-5.15.153_r00' into 'android14-5.15'
This catches the android14-5.15 branch up with the 5.15.153 LTS release.
Included in here are the following commits:

* 8517b7fac5 ANDROID: GKI: Update .stg file due to internal io_uring changes
* 80c0158e86 ANDROID: cpufreq: brcmstb-avs-cpufreq: fix build error
* 6a87f57d6b Revert "bpf: Defer the free of inner map when necessary"
*   8c23052a2a Merge 5.15.153 into android14-5.15-lts
|\
| * 9465fef4ae Linux 5.15.153
| * d180150ea7 remoteproc: stm32: fix incorrect optional pointers
| * 85e26c4a74 regmap: Add missing map->bus check
| * c10fed329c spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
| * 839308cf79 net: dsa: mt7530: fix handling of all link-local frames
| * cb302aa994 net: dsa: mt7530: fix link-local frames that ingress vlan filtering ports
| * 70424a8f45 net: dsa: mt7530: fix handling of 802.1X PAE frames
| * c210fb3c45 net: dsa: mt7530: fix handling of LLDP frames
| * 387daae8b0 bpf: report RCU QS in cpumap kthread
| * 2f1d402dcc net: report RCU QS on threaded NAPI repolling
| * 083657dc7c rcu: add a helper to report consolidated flavor QS
| * 640dbf688b netfilter: nf_tables: do not compare internal table flags on updates
| * 362508506b netfilter: nft_set_pipapo: release elements in clone only from destroy path
| * 772f18ded0 octeontx2-af: Use separate handlers for interrupts
| * 8ffcd3ccdb net/bnx2x: Prevent access to a freed page in page_pool
| * f1e560cdb1 net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
| * 5deee0f7c2 hsr: Handle failures in module init
| * 8c378cc522 rds: introduce acquire/release ordering in acquire/release_in_xmit()
| * d691be84ab wireguard: receive: annotate data-race around receiving_counter.counter
| * 2b2f8d166f vdpa/mlx5: Allow CVQ size changes
| * 4d61084c5c net: dsa: mt7530: prevent possible incorrect XTAL frequency selection
| * f85c87a803 net: veth: do not manipulate GRO when using XDP
| * d35b62c224 packet: annotate data-races around ignore_outgoing
| * 9fcadd1250 net: ethernet: mtk_eth_soc: fix PPE hanging issue
| * 448cc8b5f7 net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up
| * c5c0760adc net: mtk_eth_soc: move MAC_MCR setting to mac_finish()
| * a809bbfd0e hsr: Fix uninit-value access in hsr_get_node()
| * ccafa081be soc: fsl: dpio: fix kcalloc() argument order
| * 4b9d72498d s390/vtime: fix average steal time calculation
| * 8fdc7b408a octeontx2-af: Use matching wake_up API variant in CGX command interface
| * aa5ab5ce34 nouveau: reset the bo resource bus info after an eviction
| * deb5946255 io_uring: don't save/restore iowait state
| * 1049fa4d02 usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
| * 463c429bdd staging: greybus: fix get_channel_from_mode() failure path
| * 6c619223aa serial: 8250_exar: Don't remove GPIO device on suspend
| * f867ba8ea1 rtc: mt6397: select IRQ_DOMAIN instead of depending on it
| * 04dd61330f kconfig: fix infinite loop when expanding a macro at the end of file
| * 3019ad4a02 arm64: dts: broadcom: bcmbca: bcm4908: drop invalid switch cells
| * c220378081 tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT
| * e6011abe0c serial: max310x: fix syntax error in IRQ error message
| * 19b2131837 tty: vt: fix 20 vs 0x20 typo in EScsiignore
| * ea34c1c1f3 remoteproc: stm32: Fix incorrect type assignment returned by stm32_rproc_get_loaded_rsc_tablef
| * dd68756ae3 remoteproc: stm32: Fix incorrect type in assignment for va
| * a48c24ccc6 remoteproc: stm32: use correct format strings on 64-bit
| * da0ad1bdc6 comedi: comedi_test: Prevent timers rescheduling during deletion
| * a6ffae61ad afs: Revert "afs: Hide silly-rename files from userspace"
| * fa3ac8b1a2 f2fs: compress: fix reserve_cblocks counting error when out of space
| * 6ca2ea698d NFS: Fix an off by one in root_nfs_cat()
| * 704dc01387 watchdog: stm32_iwdg: initialize default timeout
| * 446f55d0d4 NFSv4.2: fix listxattr maximum XDR buffer size
| * 9d52865ff2 NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
| * 6233dbe9ca net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()
| * 83edcda1d8 scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn
| * 16a5bed6d2 RDMA/rtrs-clt: Check strnlen return len in sysfs mpath_policy_store()
| * ed3e66d86e RDMA/device: Fix a race between mad_client and cm_client init
| * a27984f631 scsi: csiostor: Avoid function pointer casts
| * 4a411fc336 f2fs: compress: fix to check unreleased compressed cluster
| * 7d420eaaa1 f2fs: compress: fix to cover normal cluster write with cp_rwsem
| * ed22aef701 f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
| * b2713af17a f2fs: invalidate meta pages only for post_read required inode
| * 6117d8b79f f2fs: fix to invalidate META_MAPPING before DIO write
| * 5d553a56de f2fs: replace congestion_wait() calls with io_schedule_timeout()
| * bc7e7e7d64 f2fs: invalidate META_MAPPING before IPU/DIO write
| * 4a543790fd f2fs: multidevice: support direct IO
| * 6413e78086 RDMA/srpt: Do not register event handler until srpt device is fully setup
| * 9af1658ba2 ALSA: usb-audio: Stop parsing channels bits when all channels are found.
| * e9fbee0673 ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops
| * 01511ac7be clk: zynq: Prevent null pointer dereference caused by kmalloc failure
| * 0efb9ef6fb clk: Fix clk_core_get NULL dereference
| * d83d70b25d sparc32: Fix section mismatch in leon_pci_grpci
| * e4723c6b3e backlight: lp8788: Fully initialize backlight_properties during probe
| * 73f547f259 backlight: lm3639: Fully initialize backlight_properties during probe
| * d01286f991 backlight: da9052: Fully initialize backlight_properties during probe
| * 28e37f97b1 backlight: lm3630a: Don't set bl->props.brightness in get_brightness
| * a80fb03dda backlight: lm3630a: Initialize backlight_properties on init
| * f28b72162f leds: sgm3140: Add missing timer cleanup and flash gpio control
| * 663dea0305 leds: aw2013: Unlock mutex before destroying it
| * d63abda6c8 powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.
| * 6a3d4afc54 modules: wait do_free_init correctly
| * a91eef04a7 module: Add support for default value for module async_probe
| * 6304ed1603 drm/msm/dpu: add division of drm_display_mode's hskew parameter
| * f4108b28dc powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks
| * 9beec711a1 drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
| * e5aaa9f8db media: mediatek: vcodec: avoid -Wcast-function-type-strict warning
| * 24e51d6eb5 media: ttpci: fix two memleaks in budget_av_attach
| * 790fa2c04d media: go7007: fix a memleak in go7007_load_encoder
| * d20b64f156 media: dvb-frontends: avoid stack overflow warnings with clang
| * eb6e9dce97 media: pvrusb2: fix uaf in pvr2_context_set_notify
| * d8e83a625c drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()
| * 815d1f1c67 HID: amd_sfh: Update HPD sensor structure elements
| * 8abf014e0c ASoC: meson: axg-tdm-interface: add frame rate constraint
| * 8441012261 ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs
| * e3adf12624 mtd: rawnand: lpc32xx_mlc: fix irq handler prototype
| * 7178a27249 mtd: maps: physmap-core: fix flash size larger than 32-bit
| * 3ae4bd815f drm/tidss: Fix initial plane zpos values
| * 9cc746346d crypto: arm/sha - fix function cast warnings
| * 010cf12f59 mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref
| * 1d50e29578 mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref
| * 240c4f1159 drm/tegra: put drm_gem_object ref on error in tegra_fb_create
| * 3f8445f1c7 clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()
| * 62d92b3507 clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()
| * 118a7113db PCI: Mark 3ware-9650SE Root Port Extended Tags as broken
| * 7546460128 drm/mediatek: dsi: Fix DSI RGB666 formats and definitions
| * 4e37c53422 clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times
| * fe68cf2739 media: pvrusb2: fix pvr2_stream_callback casts
| * 4f2a1657f9 media: pvrusb2: remove redundant NULL check
| * 8e19050ab9 media: go7007: add check of return value of go7007_read_addr()
| * b1d0eebaf8 media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak
| * f27bcdae57 media: sun8i-di: Fix chroma difference threshold
| * de09db4e5d media: sun8i-di: Fix power on/off sequences
| * 4bdc1b352e media: sun8i-di: Fix coefficient writes
| * a62b9f3d7b NTB: fix possible name leak in ntb_register_device()
| * 87d306cdeb NTB: EPF: fix possible memory leak in pci_vntb_probe()
| * e2b6ef72b7 PCI: endpoint: Support NTB transfer between RC and EP
| * caf5cf0990 powerpc: Force inlining of arch_vmap_p{u/m}d_supported()
| * 4eb47ae93f ASoC: meson: t9015: fix function pointer type mismatch
| * a3fec47446 ASoC: meson: aiu: fix function pointer type mismatch
| * a26425b762 ASoC: meson: Use dev_err_probe() helper
| * 3d1d029734 perf stat: Avoid metric-only segv
| * 3cae4f4153 ALSA: seq: fix function cast warnings
| * 7378234eee drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()
| * abb9bea45b perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
| * 03e6d4e948 crypto: xilinx - call finalize with bh disabled
| * ce6e3c0411 PCI: switchtec: Fix an error handling path in switchtec_pci_probe()
| * 0bdb56eae2 PCI/P2PDMA: Fix a sleeping issue in a RCU read section
| * 56cad01c54 quota: Fix rcu annotations of inode dquot pointers
| * 1ca72a3de9 quota: Fix potential NULL pointer dereference
| * f2ddd8103f quota: simplify drop_dquot_ref()
| * f630ba2386 clk: qcom: reset: Ensure write completion on reset de/assertion
| * e5bb4f4324 clk: qcom: reset: Commonize the de/assert functions
| * e8c71db0d8 pinctrl: mediatek: Drop bogus slew rate register range for MT8192
| * 0d3fe80b6d media: edia: dvbdev: fix a use-after-free
| * dc866b69cc media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
| * 770a57922c media: v4l2-tpg: fix some memleaks in tpg_alloc
| * e9d05d5d84 media: em28xx: annotate unchecked call to media_device_register()
| * a03ed00787 clk: meson: Add missing clocks to axg_clk_regmaps
| * 54985391de perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample()
| * 6ac7c7a3a9 drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
| * 440f059837 drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
| * d54877c835 HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd
| * d9f8bbc6d7 perf record: Fix possible incorrect free in record__switch_output()
| * 87658f1608 PCI/DPC: Print all TLP Prefixes, not just the first
| * b8505a1aee media: tc358743: register v4l2 async device only after successful setup
| * 4c309e06aa dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
| * 746606d37d drm/lima: fix a memleak in lima_heap_alloc
| * 1bb5fea94e drm/rockchip: lvds: do not print scary message when probing defer
| * f3afb53618 drm/rockchip: lvds: do not overwrite error code
| * 03b1072616 drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
| * 5eaa1597e2 drm/ttm: add ttm_resource_fini v2
| * 2fa491a1f4 drm: Don't treat 0 as -1 in drm_fixp2int_ceil
| * c780f00854 drm/rockchip: inno_hdmi: Fix video timing
| * 13c1212799 drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths of tegra_output_probe()
| * 5c8dc26e31 drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe()
| * 7ec1d3cab9 drm/tegra: rgb: Fix some error handling paths in tegra_dc_rgb_probe()
| * 527bf2adf0 drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+
| * bfd52f7df6 drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()
| * 1d2f14eb47 drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()
| * 26827907c2 drm/tegra: dsi: Make use of the helper function dev_err_probe()
| * 56ec754fd7 drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe
| * 49ebcae0b9 drm/tegra: dpaux: Populate AUX bus
| * 93128052bf drm/tegra: dsi: Add missing check for of_find_device_by_node
| * 03ad5ad53e dm: call the resume method on internal suspend
| * 8517729711 dm raid: fix false positive for requeue needed during reshape
| * 0d387dc503 nfp: flower: handle acti_netdevs allocation failure
| * 3538d11d2a net/x25: fix incorrect parameter validation in the x25_getsockopt() function
| * 382df231ab net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function
| * 3a32dce1ad udp: fix incorrect parameter validation in the udp_lib_getsockopt() function
| * 6482113f9c l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function
| * 3988110ecf ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() function
| * 71ce163f3e bpf: net: Change do_ip_getsockopt() to take the sockptr_t argument
| * 07aa35a50f bpf: net: Change sk_getsockopt() to take the sockptr_t argument
| * 25e5c9b20e net: Change sock_getsockopt() to take the sk ptr instead of the sock ptr
| * 4002985023 tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function
| * c09fc67777 OPP: debugfs: Fix warning around icc_get_name()
| * 78a60f9103 net: phy: dp83822: Fix RGMII TX delay configuration
| * fedd8c7d29 net: phy: DP83822: enable rgmii mode if phy_interface_is_rgmii
| * f82d65e8f7 net: hns3: fix port duplex configure error in IMP reset
| * 23ec1cec24 net: hns3: fix kernel crash when 1588 is received on HIP08 devices
| * 0e939a002c net: phy: fix phy_get_internal_delay accessing an empty array
| * 5c03387021 net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()
| * 65fb1d271c ipv6: fib6_rules: flush route cache when rule is changed
| * ca1f06e72d bpf: Fix stackmap overflow check on 32-bit arches
| * 3b08cfc65f bpf: Fix hashtab overflow check on 32-bit arches
| * c826502bed bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
| * 276873ae26 sr9800: Add check for usbnet_get_endpoints
| * 2e845867b4 Bluetooth: hci_core: Fix possible buffer overflow
| * 89c69e83ff Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional()
| * 9609476b3a Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855
| * 88f846f352 Bluetooth: Remove superfluous call to hci_conn_check_pending()
| * 4b5dc615f1 igb: Fix missing time sync events
| * 5cd7afd64b igb: move PEROUT and EXTTS isr logic to separate functions
| * d70f1c8511 iommu/vt-d: Don't issue ATS Invalidation request when device is disconnected
| * 626b03daea PCI: Make pci_dev_is_disconnected() helper public for other drivers
| * 4137f25b53 wifi: rtw88: 8821c: Fix false alarm count
| * 250a78863c mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function
| * dd292e884c SUNRPC: fix some memleaks in gssx_dec_option_array
| * c7cff97802 x86, relocs: Ignore relocations in .notes section
| * 40876d07d2 ACPI: scan: Fix device check notification handling
| * 10e607fbc9 ACPI: resource: Add MAIBENBEN X577 to irq1_edge_low_force_override
| * cc06efd8a6 ACPI: resource: Do IRQ override on Lunnen Ground laptops
| * b539858261 ACPI: resource: Add Infinity laptops to irq1_edge_low_force_override
| * 95531c0d37 arm64: dts: marvell: reorder crypto interrupts on Armada SoCs
| * 941c6ee6f7 ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node
| * ff54c712f0 ARM: dts: imx6dl-yapp4: Fix typo in the QCA switch register address
| * 3ebcd8f11a ARM: dts: imx6dl-yapp4: Move phy reset into switch node
| * ce92a8c7cf arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes
| * a022251c2f arm64: dts: renesas: r8a779a0: Update to R-Car Gen4 compatible values
| * 3c0cc753d7 ARM: dts: arm: realview: Fix development chip ROM compatible value
| * 276f4abe4e net: ena: Remove ena_select_queue
| * 90613c76f7 wifi: brcmsmac: avoid function pointer casts
| * b96bc1b259 iommu/amd: Mark interrupt as managed
| * 6a87552d0a bus: tegra-aconnect: Update dependency to ARCH_TEGRA
| * 1cbaf4c793 ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
| * fe20e3d56b wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
| * 0454915c83 wireless: Remove redundant 'flush_workqueue()' calls
| * 487eff913e bpf: Mark bpf_spin_{lock,unlock}() helpers with notrace correctly
| * fcd58c69a3 arm64: dts: mediatek: mt7622: add missing "device_type" to memory nodes
| * e66285df73 arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs
| * 657633a0b5 arm64: dts: mt8183: kukui: Split out keyboard node and describe detachables
| * ecec357981 arm64: dts: mt8183: kukui: Add Type C node
| * 9d159d6637 ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()
| * a6a50788b4 s390/vdso: drop '-fPIC' from LDFLAGS
| * f94625ec57 wifi: iwlwifi: mvm: don't set replay counters to 0xff
| * 4745cba370 pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan
| * 55908ea981 pwm: sti: Implement .apply() callback
| * e888c4461e wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
| * d20d45631f net: blackhole_dev: fix build warning for ethh set but not used
| * 95ac8e3ef2 pwm: atmel-hlcdc: Fix clock imbalance related to suspend support
| * a1716999f8 pwm: atmel-hlcdc: Use consistent variable naming
| * 81f0b319f0 pwm: atmel-hlcdc: Convert to platform remove callback returning void
| * 98b0d46939 arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS
| * 128a7fb7e8 wifi: iwlwifi: fix EWRD table validity check
| * 96aa407616 wifi: iwlwifi: dbg-tlv: ensure NUL termination
| * 3a5d424cff wifi: iwlwifi: mvm: report beacon protection failures
| * f8ff4b4df7 wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
| * 4287534cb5 arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board
| * d01012b6d6 arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage
| * 41af98f220 arm64: dts: imx8mm-kontron: Add support for ultra high speed modes on SD card
| * db25bbd2c2 arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL board
| * f7e55ad752 arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM
| * d7fcdcf4ec cpufreq: mediatek-hw: Don't error out if supply is not found
| * 8a029ee1e3 af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().
| * e0d29c4def bpftool: Silence build warning about calloc()
| * 3b71a6981e inet_diag: annotate data-races around inet_diag_table[]
| * 00d40ab2c0 sock_diag: annotate data-races around sock_diag_handlers[family]
| * 0f632a6880 cpufreq: mediatek-hw: Wait for CPU supplies before probing
| * 2cb670b272 cpufreq: Explicitly include correct DT includes
| * d951cf510f cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value
| * f75e3536db wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()
| * df78377485 wifi: wilc1000: fix multi-vif management when deleting a vif
| * ac512507ac wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work
| * d80fc43675 wifi: wilc1000: fix RCU usage in connect path
| * 11b564991b wifi: wilc1000: fix declarations ordering
| * bc4bc74646 wifi: b43: Disable QoS for bcm4331
| * 66ef38ad97 wifi: b43: Stop correct queue in DMA worker when QoS is disabled
| * b05f6cd6c0 wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled
| * 04a2b6eff2 wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled
| * 4c4e592266 wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
| * b10ff1130f sched/fair: Take the scheduling domain into account in select_idle_core()
| * 3c1122aee9 timekeeping: Fix cross-timestamp interpolation for non-x86
| * aa74fd5ccb timekeeping: Fix cross-timestamp interpolation corner case decision
| * 48c70f35f6 timekeeping: Fix cross-timestamp interpolation on counter wrap
| * 7dd09fa80b aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
| * 53609f5c05 rtc: test: Fix invalid format specifier.
| * 3eafb6816d time: test: Fix incorrect format specifier
| * 770332c1fd lib/cmdline: Fix an invalid format specifier in an assertion msg
| * 01db522d00 md: Don't clear MD_CLOSING when the raid is about to stop
| * 25d99f7baa fs/select: rework stack allocation hack for clang
| * 98e60b538e nbd: null check for nla_nest_start
| * edbdb0d941 s390/dasd: fix double module refcount decrement
| * bb126ed29f s390/dasd: Use dev_*() for device log messages
| * 3404d535bd s390/dasd: add autoquiesce feature
| * 932600a295 s390/dasd: add copy pair setup
| * 2c42dab80a s390/dasd: add query PPRC function
| * 815348211f s390/dasd: put block allocation in separate function
| * 423b6bdf19 do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak
| * 50982ce0f1 ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
| * 2a239a9487 ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode
| * 648bd8ef21 ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC
| * aa345a4d9b Input: gpio_keys_polled - suppress deferred probe error for gpio
| * 4bd9d06bdf ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
| * 91b4bfed82 firewire: core: use long bus reset on gap count error
| * 8d1753973f Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security
| * 9a1de3adf7 drm/amdgpu: Enable gpu reset for S3 abort cases on Raven series
| * c4e2f60815 ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port
| * d157b06c10 scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
| * 0c255fb9b1 dm-verity, dm-crypt: align "struct bvec_iter" correctly
| * f6cbb4843c block: sed-opal: handle empty atoms when parsing response
| * d7c5c0335a parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check
| * 59be50a37f net/iucv: fix the allocation size of iucv_path_table array
| * e8a67fe34b x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()
| * e2d5cf0dcb x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h
| * 7e13a78e2b riscv: dts: sifive: add missing #interrupt-cells to pmic
| * cf71090a59 RDMA/mlx5: Relax DEVX access upon modify commands
| * 60ba938a8b RDMA/mlx5: Fix fortify source warning while accessing Eth segment
| * e524979a8a gen_compile_commands: fix invalid escape sequence warning
| * 802eb0254f HID: multitouch: Add required quirk for Synaptics 0xcddc device
| * 581d99d2f6 MIPS: Clear Cause.BD in instruction_pointer_set
| * 8082bccb7a x86/xen: Add some null pointer checking to smp.c
| * 333de5a975 ASoC: rt5645: Make LattePanda board DMI match more precise
| * 0d7cfe2ef5 selftests: tls: use exact comparison in recv_partial
| * 37d98fb9c3 bpf: Defer the free of inner map when necessary
| * d8140159a2 rcu-tasks: Provide rcu_trace_implies_rcu_gp()
| * d909d381c3 io_uring: drop any code related to SCM_RIGHTS
| * 9dd3863e3f io_uring/unix: drop usage of io_uring socket
* | f937385430 Merge branch 'android14-5.15' into branch 'android14-5.15-lts'
* | 68b21b6f85 ANDROID: GKI: add sg_copy_from/to_buffer to virtual device symbol list
* | 8c9fedf246 Revert "regmap: allow to define reg_update_bits for no bus configuration"
* | c89027ceea Revert "regmap: Add bulk read/write callbacks into regmap_config"
* | c00231146f Revert "serial: max310x: make accessing revision id interface-agnostic"
* | e42b90b592 Revert "serial: max310x: fix IO data corruption in batched operations"
* | bff2c70560 Revert "ALSA: usb-audio: Refcount multiple accesses on the single clock"
* | f41d29ad04 Revert "ALSA: usb-audio: Clear fixed clock rate at closing EP"
* | 7c2694fa40 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)"
* | fb3086b8e6 Revert "ALSA: usb-audio: Properly refcounting clock rate"
* | 195c12ce77 Revert "ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()"
* | 3285ea33f4 Revert "ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()"
* | cf9556ce0b Revert "ALSA: usb-audio: Avoid superfluous endpoint setup"
* | a3c598c3ac Revert "ALSA: usb-audio: Add quirk for Tascam Model 12"
* | 16f74f5669 Revert "ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless"
* | 22609e4015 Revert "ALSA: usb-audio: Fix microphone sound on Nexigo webcam."
* | 9951a3b756 Revert "ALSA: usb-audio: add quirk for RODE NT-USB+"
* | 9c86f89c6c Revert "ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all"
* | 7dcba26902 Revert "ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()"
* | c799355799 Revert "ALSA: usb-audio: Add FIXED_RATE quirk for JBL Quantum610 Wireless"
* | a73846e1f1 Revert "ALSA: usb-audio: Sort quirk table entries"
* | 7f4aa22da9 Merge 5.15.152 into android14-5.15-lts
|\|
| * b95c01af21 Linux 5.15.152
| * a1211bbf78 serial: max310x: fix IO data corruption in batched operations
| * 0ba485f90d serial: max310x: make accessing revision id interface-agnostic
| * 31642219f2 regmap: Add bulk read/write callbacks into regmap_config
| * fbddd48f14 regmap: allow to define reg_update_bits for no bus configuration
| * cad6da86ca ALSA: usb-audio: Sort quirk table entries
| * 36dba3f4cd ALSA: usb-audio: Add FIXED_RATE quirk for JBL Quantum610 Wireless
| * bfd36b1d18 ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()
| * a6f53df52b ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all
| * fd63fb84ed fs/proc: do_task_stat: move thread_group_cputime_adjusted() outside of lock_task_sighand()
| * 9b3834276b proc: Use task_is_running() for wchan in /proc/$pid/stat
| * 3c1b2776ef getrusage: use sig->stats_lock rather than lock_task_sighand()
| * ef2734e57c getrusage: use __for_each_thread()
| * 18c7394e46 getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()
| * c5579e7280 getrusage: add the "signal_struct *sig" local variable
| * 63e09c1f46 drm/amd/display: Increase frame-larger-than for all display_mode_vba files
| * f4442513e4 drm/amd/display: remove DML Makefile duplicate lines
| * b4bab46400 drm/amd/display: move calcs folder into DML
| * b00e4d44ac drm/amd/display: Re-arrange FPU code structure for dcn2x
| * b6d46f306b hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
| * c4cfa93e50 hv_netvsc: use netif_is_bond_master() instead of open code
| * 760d0df3ad selftests: mptcp: decrease BW in simult flows
| * 9a9d00c23d drm/amdgpu: Reset IH OVERFLOW_CLEAR bit
| * f574318960 drm/amd/pm: do not expose the API used internally only in kv_dpm.c
| * 0afbf40c01 serial: max310x: prevent infinite while() loop in port startup
| * 2fbf2c767b serial: max310x: use a separate regmap for each port
| * 2161c5411d serial: max310x: use regmap methods for SPI batch operations
| * 2aa7bcfdbb xhci: handle isoc Babble and Buffer Overrun events properly
| * 56e9aeb205 xhci: process isoc TD properly when there was a transaction error mid TD.
| * 0d29b474fb selftests: mm: fix map_hugetlb failure on 64K page size systems
| * 0b08eb6372 selftests/mm: switch to bash from sh
| * fdfc5fabe8 nfp: flower: add hardware offload check for post ct entry
| * 245332d4e7 nfp: flower: add goto_chain_index for ct entry
| * 666334fdf4 drm/amd/display: Fix uninitialized variable usage in core_link_ 'read_dpcd() & write_dpcd()' functions
| * f354086d1b ALSA: usb-audio: add quirk for RODE NT-USB+
| * 80326ce1eb ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
| * f1a68c6a41 ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless
| * d16ae91186 ALSA: usb-audio: Add quirk for Tascam Model 12
| * 7ce0a888d6 ALSA: usb-audio: Avoid superfluous endpoint setup
| * 3191a00dbe ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()
| * 06b6de69cf ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()
| * 539493f147 ALSA: usb-audio: Properly refcounting clock rate
| * 56e28371fa ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)
| * 8ca3315bd8 ALSA: usb-audio: Clear fixed clock rate at closing EP
| * 9830e7383f ALSA: usb-audio: Refcount multiple accesses on the single clock
| * 0866afaff1 netrom: Fix data-races around sysctl_net_busy_read
| * c558e54f77 netrom: Fix a data-race around sysctl_netrom_link_fails_count
| * f9c4d42464 netrom: Fix a data-race around sysctl_netrom_routing_control
| * 4eacb242e2 netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout
| * 489e05c614 netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size
| * 85f34d352f netrom: Fix a data-race around sysctl_netrom_transport_busy_delay
| * 33081e0f34 netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay
| * f84f770948 netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries
| * b8006cb0a3 netrom: Fix a data-race around sysctl_netrom_transport_timeout
| * 775ed35498 netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser
| * b3f0bc3a31 netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser
| * bbc21f134b netrom: Fix a data-race around sysctl_netrom_default_path_quality
| * 101277e37d erofs: apply proper VMA alignment for memory mapped files on THP
| * b3c0f55382 netfilter: nf_conntrack_h323: Add protection for bmp length out of range
| * bd9c90927a netfilter: nft_ct: fix l3num expectations with inet pseudo family
| * b562ebe21e net/rds: fix WARNING in rds_conn_connect_if_down
| * f0363af961 cpumap: Zero-initialise xdp_rxq_info struct before running XDP program
| * cae3303257 net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
| * 8d95465d9a net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
| * e46274df11 net: sparx5: Fix use after free inside sparx5_del_mact_entry
| * e77e0b0f2a geneve: make sure to pull inner header in geneve_rx()
| * be3be07d23 tracing/net_sched: Fix tracepoints that save qdisc_dev() as a string
| * e72b4e5e16 i40e: disable NAPI right after disabling irqs when handling xsk_pool
| * 533953fa90 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
| * ea4e938d2c net: lan78xx: fix runtime PM count underflow on link stop
| * 5ae5060e17 mmc: mmci: stm32: fix DMA API overlapping mappings warning
| * 287093040f mmc: mmci: stm32: use a buffer for unaligned DMA requests
* | 5e761a5e91 Merge 5.15.151 into android14-5.15-lts
|\|
| * 5743626485 Linux 5.15.151
| * 4a4eeb6912 mptcp: fix double-free on socket dismantle
| * cc5e34bc5b Revert "tls: rx: move counting TlsDecryptErrors for sync"
| * 9d5932275b net: tls: fix async vs NIC crypto offload
| * 68dbe92d67 bpf: Derive source IP addr via bpf_*_fib_lookup()
| * 39b4ee40d2 bpf: Add table ID to bpf_fib_lookup BPF helper
| * 75ca92271d bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
| * 20f5aafe52 Revert "interconnect: Teach lockdep about icc_bw_lock order"
| * fe549d8e97 Revert "interconnect: Fix locking for runpm vs reclaim"
| * ead6852245 gpio: fix resource unwinding order in error path
| * ea514ac5f1 gpiolib: Fix the error path order in gpiochip_add_data_with_key()
| * c21b5ad4e7 gpio: 74x164: Enable output pins after registers are reset
| * 6c480d0f13 af_unix: Drop oob_skb ref before purging queue in GC.
| * 2f3ae0905a Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe"
| * 22850c9950 fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
| * 94965be37a cachefiles: fix memory leak in cachefiles_add_cache()
| * cc32ba2fdf mptcp: fix possible deadlock in subflow diag
| * af46c8a0d8 mptcp: push at DSS boundaries
| * 5101e9f11a mptcp: add needs_id for netlink appending addr
| * 4ba8702b23 mptcp: clean up harmless false expressions
| * f431a58cb9 selftests: mptcp: add missing kconfig for NF Filter in v6
| * 5d7f2e7d21 selftests: mptcp: add missing kconfig for NF Filter
| * 55366b9ae9 mptcp: rename timer related helper to less confusing names
| * 833d068e77 mptcp: process pending subflow error on close
| * 305078c274 mptcp: move __mptcp_error_report in protocol.c
| * fbd16a1e4b x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
| * 0779521576 pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
| * 5f6e8930ca mmc: sdhci-xenon: fix PHY init clock stability
| * f4fae0a76e mmc: sdhci-xenon: add timeout for PHY init complete
| * 52af4f26c0 mmc: core: Fix eMMC initialization with 1-bit bus connection
| * 4529c084a3 dmaengine: fsl-qdma: init irq after reg initialization
| * 2dee8895a2 dmaengine: ptdma: use consistent DMA masks
| * 106c1ac953 dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
| * ab2d68655d btrfs: dev-replace: properly validate device names
| * 063715c33b wifi: nl80211: reject iftype change with mesh ID change
| * 9376d059a7 gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
| * cbf67001d6 ALSA: firewire-lib: fix to check cycle continuity
| * 7d930a4da1 tomoyo: fix UAF write bug in tomoyo_write_control()
| * 5941a90c55 riscv: Sparse-Memory/vmemmap out-of-bounds fix
| * 80b1534649 afs: Fix endless loop in directory parsing
| * 20a4b5214f fbcon: always restore the old font data in fbcon_do_set_font()
| * 5eac17127e ALSA: Drop leftover snd-rtctimer stuff from Makefile
| * e601ae8191 power: supply: bq27xxx-i2c: Do not free non existing IRQ
| * 4b73473c05 efi/capsule-loader: fix incorrect allocation size
| * 5bc8810b78 tls: decrement decrypt_pending if no async completion will be called
| * 9ae48288fc tls: rx: use async as an in-out argument
| * bdb7fb2923 tls: rx: assume crypto always calls our callback
| * 2ec59e1655 tls: rx: move counting TlsDecryptErrors for sync
| * b61dbb5ef4 tls: rx: don't track the async count
| * 4fd23a600b tls: rx: factor out writing ContentType to cmsg
| * 9876554897 tls: rx: wrap decryption arguments in a structure
| * d6c9c2a66c tls: rx: don't report text length from the bowels of decrypt
| * ffc8a2b821 tls: rx: drop unnecessary arguments from tls_setup_from_iter()
| * 1abd49fa1f tls: hw: rx: use return value of tls_device_decrypted() to carry status
| * 432d40036f tls: rx: refactor decrypt_skb_update()
| * 17d8bda2a6 tls: rx: don't issue wake ups when data is decrypted
| * de0970d258 tls: rx: don't store the decryption status in socket context
| * 4c68bf84d1 tls: rx: don't store the record type in socket context
| * f1e7190937 igb: extend PTP timestamp adjustments to i211
| * a1227b27fc rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
| * 7c3f285996 netfilter: bridge: confirm multicast packets before passing them up the stack
| * 3e9cd89136 netfilter: let reset rules clean out conntrack entries
| * c3a84f83d9 netfilter: make function op structures const
| * 2cb39bea70 netfilter: core: move ip_ct_attach indirection to struct nf_ct_hook
| * 84d3baab4b netfilter: nfnetlink_queue: silence bogus compiler warning
| * 4225152bfb netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
| * af1a9a925e Bluetooth: Enforce validation on max value of connection interval
| * c3df637266 Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
| * 4cd28dae82 Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
| * da4569d450 Bluetooth: Avoid potential use-after-free in hci_error_reset
| * 8e99556301 stmmac: Clear variable when destroying workqueue
| * 28bbdb4e19 uapi: in6: replace temporary label with rfc9486
| * 1e2cbdbdfa net: usb: dm9601: fix wrong return value in dm9601_mdio_read
| * 9b1f5c0032 veth: try harder when allocating queue memory
| * 914c73e787 net: enable memcg accounting for veth queues
| * 8d4d26f51e lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
| * 8a54834c03 ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
| * f011c103e6 net: veth: clear GRO when clearing XDP even when down
| * bf3f0c4169 cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back
| * cbfd27689b tun: Fix xdp_rxq_info's queue_index when detaching
| * afec0c5cd2 net: ip_tunnel: prevent perpetual headroom growth
| * c71ed29d15 netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
| * 386bb2537e mtd: spinand: gigadevice: Fix the get ecc status issue
| * 00b19ee0dc netfilter: nf_tables: disallow timeout for anonymous sets
* | 0b46d0d139 Merge branch 'android14-5.15' into branch 'android14-5.15-lts'
* | c9bf6f2822 ANDROID: add blk_mq_freeze_queue and blk_mq_unfreeze_queue to virtual device symbol list
* | 9593a93b85 Revert "net: dev: Convert sa_data to flexible array in struct sockaddr"
* | 8efd374b4e Revert "arp: Prevent overflow in arp_req_get()."
* | f2df20f4c1 Revert "usb: roles: fix NULL pointer issue when put module's reference"
* | 784572c0eb Revert "usb: roles: don't get/set_role() when usb_role_switch is unregistered"
* | 28752f0260 Revert "mptcp: fix lockless access in subflow ULP diag"
* | 7a5094aac5 Revert "xhci: cleanup xhci_hub_control port references"
* | 14d24110f6 Revert "xhci: move port specific items such as state completions to port structure"
* | f7f70f0d86 Revert "xhci: rename resume_done to resume_timestamp"
* | 4e98a48adc Revert "xhci: clear usb2 resume related variables in one place."
* | 09b0a696c5 Revert "xhci: decouple usb2 port resume and get_port_status request handling"
* | d6a30b0b4e Revert "xhci: track port suspend state correctly in unsuccessful resume cases"
* | 792aa870d5 Revert "posix-timers: Ensure timer ID search-loop limit is valid"
* | 05c0bbb7b1 Merge 5.15.150 into android14-5.15-lts
|/
* 80efc62652 Linux 5.15.150
* da6cabc198 r8169: use new PM macros
* b7f3fac6d3 netfilter: nf_tables: can't schedule in nft_chain_validate
* a4efc62cd1 ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
* c1317822e2 ext4: regenerate buddy after block freeing failed if under fc replay
* d82ec7529c netfilter: nf_tables: fix scheduling-while-atomic splat
* 97eaa2955d arp: Prevent overflow in arp_req_get().
* d7b6fa97ec fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
* df31d05f06 cifs: fix mid leak during reconnection after timeout threshold
* aade859419 i2c: imx: when being a target, mark the last read as processed
* cb21407f0b i2c: imx: Add timer for handling the stop condition
* 33f649f1b1 drm/amd/display: Fix memory leak in dm_sw_fini()
* 9a03126588 drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set
* 13b57b5cd5 netfilter: nft_flow_offload: release dst in case direct xmit path is used
* 4c167af9f6 netfilter: nft_flow_offload: reset dst in route object after setting up flow
* 7c71b83122 netfilter: flowtable: simplify route logic
* 664264a5c5 netfilter: nf_tables: set dormant flag on hook register failure
* 4338032aa9 tls: stop recv() if initial process_rx_list gave us non-DATA
* ea845237a3 tls: rx: drop pointless else after goto
* 8b32e43a80 tls: rx: jump to a more appropriate label
* 39603a6d4e s390: use the correct count for __iowrite64_copy()
* 8cae520f21 octeontx2-af: Consider the action set by PF
* 6dae096960 drm/nouveau/instmem: fix uninitialized_var.cocci warning
* 4d3b2bd995 net: dev: Convert sa_data to flexible array in struct sockaddr
* d65ec3e48f packet: move from strlcpy with unused retval to strscpy
* 91b020aaa1 ipv6: sr: fix possible use-after-free and null-ptr-deref
* e56662160f afs: Increase buffer size in afs_update_volume_status()
* 5268bb0210 bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
* 6800ad7417 ata: ahci_ceva: fix error handling for Xilinx GT PHY support
* 7fcc31a3a7 ata: libahci_platform: Introduce reset assertion/deassertion methods
* ddac2e0e65 ata: libahci_platform: Convert to using devm bulk clocks API
* 302b92b373 ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
* a75b495478 ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
* 2a7b878a7d net: stmmac: Fix incorrect dereference in interrupt handlers
* a41d9142d2 nouveau: fix function cast warnings
* 1087c284fd scsi: jazz_esp: Only build if SCSI core is builtin
* 4e395fb89e bpf, scripts: Correct GPL license name
* cd6070d9f5 RDMA/srpt: fix function pointer cast warnings
* 656bd1702f arm64: dts: rockchip: set num-cs property for spi on px30
* 135e5465fe RDMA/qedr: Fix qedr_create_user_qp error flow
* 989af2f293 RDMA/srpt: Support specifying the srpt_service_guid parameter
* b6e660e076 RDMA/irdma: Add AE for too many RNRS
* 056ed95bef RDMA/irdma: Set the CQ read threshold for GEN 1
* a95d4cf827 RDMA/irdma: Validate max_send_wr and max_recv_wr
* 635d79aa47 RDMA/irdma: Fix KASAN issue with tasklet
* aeb5ac1c9d RDMA/bnxt_re: Return error for SRQ resize
* 52de5805c1 IB/hfi1: Fix a memleak in init_credit_return
* 48c63a1744 cifs: add a warning when the in-flight count goes negative
* 6538b6d13c xhci: track port suspend state correctly in unsuccessful resume cases
* 8839d5728b xhci: decouple usb2 port resume and get_port_status request handling
* 8af9de2a5b xhci: clear usb2 resume related variables in one place.
* a99c8f1abe xhci: rename resume_done to resume_timestamp
* 63f0e79cf3 xhci: move port specific items such as state completions to port structure
* ea6c19c736 xhci: cleanup xhci_hub_control port references
* 95973afc87 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
* 4f080b6487 ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
* c2a9376d50 ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
* 1b64ff947a ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
* f3607954f2 ACPI: resource: Add ASUS model S5402ZA to quirks
* 27e99d7857 ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
* cb1003c07e ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
* 28e5e3e59b arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
* 99c8b2e997 arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
* 371036bf76 arm64: dts: rockchip: fix regulator name on rk3399-rock-4
* 92dcd7d6c6 exfat: support dynamic allocate bh for exfat_entry_set_cache
* b4dc693b29 wifi: iwlwifi: mvm: avoid baid size integer overflow
* fa92c463eb igb: Fix igb_down hung on surprise removal
* 16f653776c wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
* 7552020e3a devlink: report devlink_port_type_warn source device
* 819ca25444 bpf: Address KCSAN report on bpf_lru_list
* f97832620d wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
* 3cb43222ba sched/fair: Don't balance task to its current running CPU
* 621619f626 arm64: mm: fix VA-range sanity check
* 0bd309f226 arm64: set __exception_irq_entry with __irq_entry as a default
* dd0802f0a9 ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
* 3cc2d66b12 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
* 54da51be3b ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
* fa33b70513 btrfs: add xxhash to fast checksum implementations
* ef535e0315 posix-timers: Ensure timer ID search-loop limit is valid
* 84a578961b md/raid10: prevent soft lockup while flush writes
* 6b03364b29 md: fix data corruption for raid456 when reshape restart while grow up
* 638eaac374 nbd: Add the maximum limit of allocated index in nbd_dev_add
* 173e191012 debugobjects: Recheck debug_objects_enabled before reporting
* de2efb42d6 netfilter: nf_tables: add rescheduling points during loop detection walks
* a022c339af net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
* 65acad6791 Input: iqs269a - do not poll during ATI
* 13b1dee7e1 Input: iqs269a - do not poll during suspend or resume
* f33ba1ec4a Input: iqs269a - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
* dba0691272 PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro
* 995e77b873 mmc: mxc: Use the new PM macros
* 8bc597732c mmc: jz4740: Use the new PM macros
* 75d4f92d87 PM: core: Add new *_PM_OPS macros, deprecate old ones
* 53f7337519 PM: core: Redefine pm_ptr() macro
* a51c253d83 powerpc/eeh: Set channel state after notifying the drivers
* 4570db06b7 powerpc/eeh: Small refactor of eeh_handle_normal_event()
* 12dd4a0848 powerpc/rtas: ensure 4KB alignment for rtas_data_buf
* 8afaf74307 powerpc/rtas: make all exports GPL
* 2240f4c5f5 net: ethernet: ti: add missing of_node_put before return
* 18721a8373 dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
* fb100de778 clk: imx8mp: add clkout1/2 support
* 3c8a513f0f clk: imx8mp: Add DISP2 pixel clock
* 3517b6d614 serial: 8250: Remove serial_rs485 sanitization from em485
* 54974aad4a cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
* 15c3ddd118 kernel/sched: Remove dl_boosted flag comment
* a1733ffd88 drm/i915/dg1: Update DMC_DEBUG3 register
* 8102416c05 f2fs: write checkpoint during FG_GC
* cfd5d011d6 f2fs: don't set GC_FAILURE_PIN for background GC
* 56b522f466 drm/amdgpu: init iommu after amdkfd device init
* 572ee5086e tools/virtio: fix build
* 80f2a24622 perf beauty: Update copy of linux/socket.h with the kernel sources
* 47b6345ddb tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
* c65a23e98e ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
* 2eb3d2a54a acpi: property: Let args be NULL in __acpi_node_get_property_reference
* 7abdd666a0 platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute
* 7de3c1535b clk: linux/clk-provider.h: fix kernel-doc warnings and typos
* b184742d27 RDMA/siw: Correct wrong debug message
* 6f6ec8aff2 RDMA/siw: Balance the reference of cep->kref in the error path
* 71475bcee0 ARM: dts: BCM53573: Drop nonexistent #usb-cells
* 832cf206df selftests: net: vrf-xfrm-tests: change authentication and encryption algos
* 14e1f63b39 vdpa/mlx5: Don't clear mr struct on destroy MR
* 5b4f6c5ff6 MIPS: vpe-mt: drop physical_memsize
* 1be5de5b64 MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
* cc24b32d7d powerpc/pseries/lpar: add missing RTAS retry status handling
* 3212606148 powerpc/perf/hv-24x7: add missing RTAS retry status handling
* e3835122ea powerpc/pseries/lparcfg: add missing RTAS retry status handling
* 228d3c4919 clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
* d0e4a44455 clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
* e7076cfb72 clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
* 83c043b92b powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
* 8c373aa1f7 Input: ads7846 - don't check penirq immediately for 7845
* 6a37a429b3 Input: ads7846 - always set last command to PWRDOWN
* 199e666477 clk: imx: avoid memory leak
* 94957e54dc clk: renesas: cpg-mssr: Remove superfluous check in resume code
* 2d89ed2e06 Input: ads7846 - don't report pressure for ads7845
* f992d1afd1 clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
* d73cf59d24 Input: iqs269a - increase interrupt handler return delay
* db06a2ae07 Input: iqs269a - configure device with a single block write
* fdbceead4a Input: iqs269a - drop unused device node references
* d93c68661a RISC-V: fix funct4 definition for c.jalr in parse_asm.h
* 5c5c02b069 mtd: rawnand: sunxi: Fix the size of the last OOB region
* 11fcd28df8 clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
* 9fcba5e7bb clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
* 7602e5e1bd clk: imx: imx8mp: add shared clk gate for usb suspend clk
* 7d6e8d7ee1 mptcp: fix lockless access in subflow ULP diag
* 256c3e6192 usb: roles: don't get/set_role() when usb_role_switch is unregistered
* ef982fc410 usb: roles: fix NULL pointer issue when put module's reference
* 2cb66b62a5 usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
* 3a2a909942 usb: cdns3: fix memory double free when handle zero packet
* 4e5c73b15d usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
* f4928121f7 usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers
* 7c532fb96a usb: cdnsp: blocked some cdns3 specific code
* c98f2d25f8 usb: dwc3: gadget: Don't disconnect if not started
* f4fab74cb8 serial: amba-pl011: Fix DMA transmission in RS485 mode
* 2c62c8984b x86/alternative: Make custom return thunk unconditional
* b0c9fcacf2 Revert "x86/alternative: Make custom return thunk unconditional"
* ae815291f0 x86/returnthunk: Allow different return thunks
* 5ca1f6adac x86/ftrace: Use alternative RET encoding
* b9d69bfff6 x86/ibt,paravirt: Use text_gen_insn() for paravirt_patch()
* b810c58d8b x86/text-patching: Make text_gen_insn() play nice with ANNOTATE_NOENDBR
* 8943e3c944 Revert "x86/ftrace: Use alternative RET encoding"
* eec6cbbfa1 ARM: ep93xx: Add terminator to gpiod_lookup_table
* 0da15a7039 l2tp: pass correct message length to ip6_append_data
* 9d71d7a9f2 PCI/MSI: Prevent MSI hardware interrupt number truncation
* a576308800 gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
* d81e2dc203 KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()
* 4deb8413ec KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
* e20b24b175 platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names
* 79d7504a24 platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
* 1a4371db68 dm-crypt: don't modify the data when using authenticated encryption
* d580f0dcb5 drm/ttm: Fix an invalid freeing on already freed page in error path
* 47ae64df23 IB/hfi1: Fix sdma.h tx->num_descs off-by-one error
* 77cbc04a1a erofs: fix lz4 inplace decompression
* fbb662ffa0 pmdomain: renesas: r8a77980-sysc: CR7 must be always on
* 43ea43b6fa ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
* 475426ad1a pmdomain: mediatek: fix race conditions with genpd
* 2a52590ac5 virtio-blk: Ensure no requests in virtqueues before deleting vqs.
* b9a61ee2bb drm/amdgpu: reset gpu for s3 suspend abort case
* afc74fda2b drm/amdgpu: skip to program GFXDEC registers for suspend abort
* dcd33edd85 firewire: core: send bus reset promptly on gap count error
* a74270a1b7 scsi: lpfc: Use unsigned type for num_sge
* 26b8bdb556 hwmon: (coretemp) Enlarge per package core count limit
* a2f99731ab efi: Don't add memblocks for soft-reserved memory
* 4aa36b62c3 efi: runtime: Fix potential overflow of soft-reserved region size
* 262dc4fb15 wifi: mac80211: adding missing drv_mgd_complete_tx() call
* a585faf059 fs/ntfs3: Fix oob in ntfs_listxattr
* 0a3548e824 fs/ntfs3: Update inode->i_size after success write into compressed file
* c39c689a82 fs/ntfs3: Correct function is_rst_area_valid
* 54142e95df fs/ntfs3: Prevent generic message "attempt to access beyond end of device"
* 095d6a66bc fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache
* 3f3a6ebf6a fs/ntfs3: Disable ATTR_LIST_ENTRY size check
* ee8db6475c fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
* 56dacb722b fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
* 3532bceaed fs/ntfs3: Print warning while fixing hard links count
* f14132b883 fs/ntfs3: Correct hard links updating when dealing with DOS names
* cd465584d5 fs/ntfs3: Improve ntfs_dir_count
* 3f7920b36d fs/ntfs3: Modified fix directory element type detection
* b4663b406a Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table
* 9b1e3cf9ed ext4: correct the hole length returned by ext4_map_blocks()
* 46e64b9a4b nvmet-fc: take ref count on tgtport before delete assoc
* 5e0bc09a52 nvmet-fc: avoid deadlock on delete association path
* f323185c79 nvmet-fc: abort command when there is no binding
* 59b4ca71ab nvmet-fc: hold reference on hostport match
* 8fd604d4b0 nvmet-fc: defer cleanup using RCU properly
* 8f7104e18f nvmet-fc: release reference on target port
* 071f116416 nvmet-fcloop: swap the list_add_tail arguments
* 0bf567d6d9 nvme-fc: do not wait in vain when unloading module
* 75e34de642 ALSA: usb-audio: Ignore clock selector errors for single connection
* a75d89666c netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
* 4a5ed46972 Input: xpad - add Lenovo Legion Go controllers
* 1e9af43d5d spi: sh-msiof: avoid integer overflow in constants
* ef1e3f277a ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
* e59905cfb1 ALSA: usb-audio: Check presence of valid altsetting control
* 065da538e6 nvmet-tcp: fix nvme tcp ida memory leak
* f8dee8e489 regulator: pwm-regulator: Add validity checks in continuous .get_voltage
* 4fe4e5adc7 dmaengine: ti: edma: Add some null pointer checks to the edma_probe
* 8de8305a25 ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
* 4c21fa60a6 ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
* 687061cfaa ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
* 3700475e09 platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet
* 343c198168 MIPS: reserve exception vector space ONLY ONCE
* b4c13deff3 ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
* 1a8bd62449 ahci: asm1166: correct count of reported ports
* 0399d7eba4 spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
* df6e2088c6 fbdev: sis: Error out if pixclock equals zero
* 8c54acf33e fbdev: savage: Error out if pixclock equals zero
* 88c18fd066 wifi: mac80211: fix race condition on enabling fast-xmit
* 212f20d5b1 wifi: cfg80211: fix missing interfaces when dumping
* 37d82e6ac9 dmaengine: fsl-qdma: increase size of 'irq_name'
* 3692c6f2b5 dmaengine: shdma: increase size of 'dev_id'
* a9849b67b4 scsi: target: core: Add TMF to tmr_list handling
* 0766e7317a sched/rt: Disallow writing invalid values to sched_rt_period_us
* 5295b5f2e5 sched/rt: Fix sysctl_sched_rr_timeslice intial value
* 8bd3eee772 x86/fpu: Stop relying on userspace for info to fault in xsave buffer
* c017fbf105 zonefs: Improve error handling
* bbc432e632 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
* 4bbb93ad84 bpf: Remove trace_printk_lock
* 4b349c55bb bpf: Do cleanup in bpf_bprintf_cleanup only when needed
* bcbaeb081a bpf: Add struct for bin_args arg in bpf_bprintf_prepare
* 8495c34dff bpf: Merge printk and seq_printf VARARG max macros
* ab2e127896 PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()
* 5034989393 sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
* ee0fb9baa7 smb: client: fix parsing of SMB3.1.1 POSIX create context
* 890bc4fac3 smb: client: fix potential OOBs in smb2_parse_contexts()
* 858e73ff25 smb: client: fix OOB in receive_encrypted_standard()
* 6e5e93fd51 net/sched: Retire dsmark qdisc
* c3fdf76849 net/sched: Retire ATM qdisc
* 78bac52c29 net/sched: Retire CBQ qdisc

Change-Id: Ifc5593f64dc2c4fee8d345cd0e475050629f6498
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-07-01 09:53:26 +00:00
Todd Kjos
1e7959f642 ANDROID: fix kernelci GCC builds of fips140.ko
GCC builds of fips140.ko all fail with these errors. This causes
allmodconfig builds to fail in kernelci.

aarch64-linux-gnu-objcopy: crypto/fips140.ko:
        can't dump section '.rela.rodata'
	- it does not exist: file format not recognized

Since the Android use-cases for fips140 are clang only, suppress
fips140.ko builds for GCC

Bug: 350087876
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I742d19bc5172d43a19acd48a248bc2a194f67ca2
2024-06-28 21:55:03 +00:00
John Stultz
76b5a292ca FROMLIST: locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
Apparently despite it being marked inline, the compiler
may not inline __down_write_common() which makes it difficult
to identify the cause of lock contention, as the wchan of the
blocked function will always be listed as __down_write_common().

So add __always_inline annotation to the common function (as
well as the inlined helper callers) to force it to be inlined
so a more useful blocking function will be listed (via wchan).

This mirrors commit 92cc5d00a4 ("locking/rwsem: Add
__always_inline annotation to __down_read_common() and inlined
callers") which did the same for __down_read_common.

I sort of worry that I'm playing wack-a-mole here, and talking
with compiler people, they tell me inline means nothing, which
makes me want to cry a little. So I'm wondering if we need to
replace all the inlines with __always_inline, or remove them
because either we mean something by it, or not.

Cc: Tim Murray <timmurray@google.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Will Deacon <will@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: kernel-team@android.com
Fixes: c995e638cc ("locking/rwsem: Fold __down_{read,write}*()")
Reported-by: Tim Murray <timmurray@google.com>
Acked-by: Waiman Long <longman@redhat.com>
Change-Id: I72b273149577b8125ea3a5053befbd5cf66bf8ad
Signed-off-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/lkml/20240620174204.1802235-1-jstultz@google.com/
Bug: 332722989
---
v2:
* Add ack tags & minor tweaks to commit message
2024-06-28 16:25:21 +00:00
Eric Biggers
9572c01cc6 ANDROID: fips140: remove unnecessary no_sanitize(cfi)
gcc segfaults when compiling fips140-module.c because it doesn't like
__attribute__((__no_sanitize__("cfi"))) on fips140_init().  This
attribute is needed for clang.  However this attribute is already
included in __init when the compiler is clang.  Therefore, remove this
redundant attribute.  (Later kernel branches have also switched to kcfi,
which doesn't need to be disabled here anyway.)

For futureproofing also use initcall_t from <linux/init.h>.

Bug: 349612732
Change-Id: Ic5cfaef177b58abf21f1737579d75b4df4d0d09c
Signed-off-by: Eric Biggers <ebiggers@google.com>
2024-06-27 21:20:51 +00:00