PD#SWPL-219002
Problem:
1, with CONFIG_PROVE_LOCKING=y, it consume ms time in validate lock,
both in RT and !RT kernel
2, cyclictest should be test with PROVE_LOCKING disabled
Solution:
revert this commit
This reverts commit 02a9ae13bb.
Change-Id: I1bf67ee887f978a6241cb00cde0bc59e79695a8c
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-212273
Problem:
with CONFIG_PROVE_LOCKING=y, it consume too much time in validate chain of
hrtimer_bases.lock
Solution:
bypass validate hrtimer_bases.lock
Verify:
on A5
Change-Id: I3f2bb0802fdabc79ae44cf240a60d8cf0952e638
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-214570
Problem:
failure occurred when calling autopatch.sh in the kernel directory
Solution:
1. Before applying the patch, confirm that the directory is a Git repository
2. The kernel path and kernel version can be obtained through calculation,
so there is no need to add additional parameters
3. Optimize the maximum number of patches to improve performance
4. Optimize lunch patch
5. Optimize debug logs
6. Refactor into functions
Verify:
local
Change-Id: Ied02c8ed30816ac65bb53691aab92fd23d4146e7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-213163
Problem:
close CONFIG_INIT_STACK_ALL_ZERO and will crash in 6.12.
then the stack in function will not clear zero. When there is a
function call with an uninitialized pointer inside a
function, issues will occur.
Solution:
Initialize the pointer variable inside the function __alloc_pages_noprof
Verify:
local.
Change-Id: Ia012ece02861e54410921bd169100223d45f0809
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-213735
Problem:
Applying the common driver autopatch
will have a warning.
Solution:
Modify the directory path
Verify:
local
Change-Id: I08484476416ff09003493a30cf290657d49dd870
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
PD#SWPL-209928
Problem:
remove not used lunch autopatch
Solution:
remove not used lunch autopatch
Verify:
local
Change-Id: Ic51ae4d0faa27f1142ad2d38abfd6d3c44cd75b1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-210631
Problem:
compatible with both kernel_module and ddk_module build
for GKI 2.0 project
Solution:
modify build script
Verify:
ross
Change-Id: Ib161532080fe948668b83c2b3dfc5038bd72e806
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-208253
Problem:
can't patch to kernel for google
Solution:
modify in common_drivers
Verify:
SC2
Test:
boot and play video
Change-Id: If7adf4b52c10ec259f6ce4549f31b215895c828e
Signed-off-by: biao.sun <biao.sun@amlogic.com>
PD#SWPL-208274
Problem:
Do not allow autopatch to modify common code.
Solution:
Delete autopatch about mmc driver.
Verify:
T5M
Change-Id: I3bf8964e4c74fddb68565401802f8b45d20a69a0
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
PD#SWPL-204495
Problem:
ms.txt will include the symbols export by last time building
and make Module.symvers have export one symbol twice.
Solution:
rm the ms.txt produce last time
Verify:
not verified
Change-Id: I925825fa51253f2f036d9c333573f6b5c85868e4
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-195997
Problem:
the drivers in the common_drivers directory can be built using DDK
with gki_20 mode, it is also compatible with the original build.
Solution:
add BUILD.bazel and modify build script
Verify:
sc2
Test:
PB
Change-Id: Ie138e63f4eec8715d976d421dc8a431bcfadd859
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-201750
Problem:
ADT4 unable to boot after flashing the build ab/13042300
Solution:
Revert-ANDROID-eliminate-CONFIG_GKI_NET_XFRM_HACKS.patch.
Verify:
local
Change-Id: Iad599c54f1e8bf957b27f64f46553a84e089951d
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-192258
Problem:
There are too many trace event inodes
Solution:
add black list for trace event
Verify:
sc2
Change-Id: I67facada263c732a1f81fb93c6957368d6e2feb3
Signed-off-by: biao.sun <biao.sun@amlogic.com>
PD#SWPL-172042
Problem:
optimize autopatch run time
Solution:
autopatch Asynchronous loading based on directory.
Fetch git information only once, based on directory.
mod_probe function use array instead of file can save time
Verify:
local
Change-Id: I56c4d1a11320d7dc89c6ac89f565b21578a9f86b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#OTT-62864
Problem:
support customer dir dts
Solution:
support customer dir dts
Verify:
local
Change-Id: I3dd3273200ceefb9e37c72841d8c255c0632c543
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-195962
Problem:
The file "0007-eMMC-support-CQE" is duplicated.
Solution:
The redundant file
needs to be deleted.
Verify:
S7d
Change-Id: I99aee2ba54f2702c9da0b07787dc954c6b48879c
Signed-off-by: Long.Yu <long.yu@amlogic.com>
PD#SWPL-195962
Problem:
1.need to support power off notification.
2.The CQE v1 does not support placing tasks in memory
and does not support data encryption.
Solution:
1.support power off notification.
2.support CQE v2
Verify:
S7d
Change-Id: I99c2986a4d55683c6d6b390e906b543c1386fe16
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-196879
Problem:
Memory: 1919048K/2097152K available (16832K kernel code, 2014K rwdata,
11228K rodata, 4416K init, 584K bss, 18446744073709099852K reserved
Solution:
we initialize cma in advance in cma.c,
which results in that the cma counted twice.
Verify:
sc2.
Change-Id: Ia92b90c8876e58f8a875f3d59b780ce465a6e53a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-196487
Problem:
vts test /proc/sys/ node failed
function sysctl_check_table failed
because autopatch add a null node in kern_table struct
Solution:
remove null node in autopatch
Verify:
local
Change-Id: Ia3647494477b45c06b86ebd51a118718668f53d2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-196879
Problem:
some page fall into cma pool, causing slow cma allocation.
Solution:
add GFP_NO_CMA flags.
Verify:
sc2.
Change-Id: I5a319b7ce85d735e14289786fb5b80cc59f73009
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-195291
Problem:
remove not need common15-6.6 autopatch
Solution:
remove not need common15-6.6 autopatch
Verify:
local
Change-Id: I7ef4017cfa8c5b4bcc77fa151941da1152b9d9cc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-192258
Problem:
distinguish between various memory optimizations.
Solution:
rename slab and filecache related optimization.
Verify:
sc2.
Change-Id: I1ca896550cbaa1caf0a528ffa6da0f0035330ef8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-193212
Problem:
SYS_ANALOG 's value is same with
SYS_DVBC2
Solution:
modify SYS_ANALOG 's value
Verify:
compile pass
Change-Id: If9fa4f47055e47ea27686b5f9b8f3fe2b3a56079
Signed-off-by: min.yang <min.yang@amlogic.com>
PD#SWPL-186095
Problem:
large slab optimization can not pass usercopy check.
Solution:
skip usercopy check for large slab alloc.
Verify:
a1.
Change-Id: Iadf6007df9e3904701ce66b4ab71bf1e3b1cdf7a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-182182
PD#SWPL-190334
Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.
Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.
Verify:
T5D
Change-Id: Ifcbf7883969161ff2872d3300ee9b756dc949917
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-191023
Problem:
there are compile errors on kernel 6.12 because of missing dmabuf manager
Solution:
add dmabuf manager on kernel 6.12
Verify:
sc2
Change-Id: I7685afac9665cdd0ab53bf93b53be96bb6defc7c
Signed-off-by: jing.li1 <jing.li1@amlogic.com>