PD#SWPL-217821
Problem:
vmap cache is small, task bitmap is easily exhausted.
Solution:
task bitmap mismatch in alloc and free, delay set bitmap
in stack alloc.
Verify:
local.
Change-Id: Id6afec5354ea8a9f9a800ee6df24ba046a3fdf4e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-201692
Problem:
spinlock is sleeping lock, cause BUG_ON in atomic context
Solution:
change spinlock to raw_spinlock
Verify:
on A5
Change-Id: Iea05aa36c58143d0efe880631d8906d9125fe55e
Signed-off-by: Lei Zhang <lei.zhang@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-121825
Problem:
livelock detected too long uninterrupt in vma_thread.
Solution:
use msleep_interrupt() install of msleep().
Verify:
local.
Change-Id: I63fd52a73c2cb1a72bde78a50c17051d36db6320
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-101523
Problem:
The input parameter of the function "__get_free_pages"
in the function "aml_stack_alloc" is incorrect, the function
is in drivers\amlogic\memory_ext\vmap_stack.c
Solution:
fix input parameters
Verify:
TM2
Change-Id: I698ca5dc0beae707bbd50bcfad647cd9c8442d6d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-95000
Problem:
Kernel size is too big
Solution:
Remove some CONFIGs
Verify:
c3 pass
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Change-Id: I13303e5e1e967961c6d1cc32a67465c423816276
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
PD#SWPL-73890
Problem:
the use of relative paths in header files in not standardized.
Solution:
delete the relative path reference.
Verify:
build pass.
Change-Id: I62b0ced23211fb3d1759567ea7a47cda5b1f4cee
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-70022
Problem:
vmap stack is not enabled on 32bit arm arch
Solution:
Enable it
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ie3a9c349c737ec4171c0fe31d5fd201b2a195c63
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-70022
Problem:
No vmap stack support on 5.15
Solution:
Porting it from 5.4
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ie75bedb3072dfd90a5d74b64684c233186aada81
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I78552ad490938c455178e56395ff63e60b62a320