PD#SWPL-252501
Problem:
it does not support bypass ccf clock
Solution:
add support bypass_clk_disable_unprepare gki_1.0
Verify:
t7
Change-Id: I7daa41535f17416f4b96cead31073cd3d5440eac
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-255069
Problem:
fix freertos ipi num error
automotive need rtos continue running after
android booted, but camera driver need release
Solution:
add rtos_run_flag: eRtosStat_release_driver
Verify:
local
Change-Id: I9af2804bb8a8651731f463e0dc0e7cdbc24aa64d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-255603
Problem:
fix the autopatch error
Solution:
fix the autopatch error
Verify:
local
Change-Id: I0b95633a2bb8d6a0646d89c846394241c94262fa
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-255492
Problem:
wakeup reason source code not meet rt requirement, and
function for android not linux
Solution:
bypass this function
Verify:
on A4
Change-Id: Ia919b9bf0c66ea9ad8f49cd8776f70e126a43807
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-252501
Problem:
there are lots of clk_disable warning after reboot
Solution:
fix clk_disable warning on system reboot
Verify:
t7
Change-Id: I66eb2353ea21c3333fc2f5e699ee1941a806278f
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-253875
Problem:
build error when auto patch failed
Solution:
build error when auto patch failed
Verify:
local
Change-Id: I575ae408339e146b35ef90b856f0b8d07daafafa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-252501
Problem:
scmi clock can not bypass
Solution:
bypass clk_disable and clk_unprepare for gki_1.0 and non-gki
Verify:
t7
Change-Id: I80a500366d17f09af342d0c4ce66ddceb7e81dec
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-234364
Problem:
iotm not stop when reboot, cause other DMA matser error on next boot
Solution:
1 change back to DDR mode
2 stop iotm when panic
3 correct mid output for V2
4 optimize time accuracy for V2
5 add serror hook to dump register and trace, for the bus error
reported by the module itself
Verify:
on T6x
Change-Id: I8ebb7d5c3dc18b6b3c77ce393e20eb4aa916cf6a
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-235204
Problem:
strncmp can't match full id 01h,DCh,00h,05h,04h(S34ML04G300BHI00)
and 01h,DCh,00h,1Ah,00h(S34ML04G300TFI000)
Solution:
use memcmp to compare ID memory instead strncmp
Verify:
No
Change-Id: I5bd5b73855623e5f8ede501946cbe6ae11f7356a
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-228793
Problem:
keep filecache causes kswapd loading to increase.
Solution:
keep high refcount pages to the tail of lru list.
Verify:
local.
Change-Id: I43693dcc365e1ac0609f17f609509c1bc474a9b1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#TV-172266
Problem:
cma allocation too long and can not be migrated by bdev.
Solution:
limit bdev alloc page from cma pool.
Verify:
txhd2.
Change-Id: Id653187ed69cd08a74df9ca882978cccc940d396
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-225609
Problem:
If enabled 32bit kasan on T5W with VMAP, kernel can not boot.
This case can not 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: I864e4d29e75ef3b55fd39b3d76734ff0fbced908
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-226417
Problem:
if there is three blocks in edid raw data, but the extension
of block0 is 1, the correct edid will not be transfer to user
by drm_connector_update_edid_property
Solution:
drm_connector_update_edid_property will handle HDMI Forum EDID
Extension Override Data Block
Verify:
s7d
Test:
DRM-OSD-103
Change-Id: I6b525f705532bc1893e538ac9762ee2ca7e78218
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-225609
Problem:
system crash when suspend in hibernate.
Solution:
setup vmap stack for hibernate.
Verify:
s7.
Change-Id: I971c9a3dec8092a49e9531367e99f53775785a3e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-226703
Problem:
cts need to Serial is zero
Solution:
remove cpuinfo Serial feature
Verify:
local
Change-Id: I9113fac570be3bb23adfb53fb6b6d27a64ea2eb7
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-225611
Problem:
some optimizations are no longer needed with the kernel upgrade.
Solution:
kernel6.12 already have eventfs optimizations
zstd level also does not need to modify.
Verify:
local.
Change-Id: I6f35544d98e749f564cff7edc79fe94529488d58
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-224002
Problem:
Network can not work due to upstream changes.
commit:19e6817f84000d0b06f09fd69ebd56217842c122
Solution:
Add a workaround for arm32, use interpreters when jit
works abnormal.
Verify:
txhd2
Change-Id: I939ad9a3e207c7e3d2f0699a90bb2b2639afad6d
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-224595
Problem:
GKI remove android_vendor_data function
Solution:
for GKI mode use stack save debug schedule info
for noGKI mode add schedule info in task_struct
Verify:
s6
Change-Id: I7a4415130f106b8f58b03730b33597ded21ecc9a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
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>