Commit Graph

11 Commits

Author SHA1 Message Date
Hanjie Lin 94a7d0f46c vmap: protect and alloc harder vmap pages [1/1]
PD#SWPL-153716

Problem:
vmap alloc fail cause crash

Solution:
add vmap cache size
add retry when vmap alloc failed

Verify:
t5m

Change-Id: I975022ff1b46938207d4911fb3199bab7dd7c135
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2024-01-11 16:04:43 +08:00
Jianxiong Pan 21ac069019 mm: use msleep_interrupt in vmap_task. [1/1]
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>
2023-10-30 02:27:52 -07:00
Jianxiong Pan cb8dc5466c vmap: fix __get_free_pages argument error [1/1]
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>
2023-09-01 02:18:45 -07:00
Jianxiong Pan bf3e3cc085 typo: amlogic memory module. [1/1]
PD#SWPL-105283

Problem:
typo issues.

Solution:
fix the typo issues for amlogic memory.

Verify:
typo.

Change-Id: I68815aefe4e77b4406c7fcae33f7fbf9b399cb63
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-12-25 22:30:25 -08:00
yao zhang1 37365df098 config: C3 Kernel size optimize. [1/1]
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>
2022-09-29 19:58:15 +08:00
pengzhao.liu b946ffb848 typo: clear typo problem [1/1]
PD#SWPL-89627

Problem:
clear typo problem

Solution:
clear typo problem

Verify:
s4d

Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
Change-Id: I9121c9d4b54df9b9a7c244182693e0fd616f5a9e
2022-09-07 20:06:45 +08:00
Jianxiong Pan dc17f6e61d kasan: delete the relative path reference of the header file. [1/1]
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>
2022-05-14 02:26:59 -07:00
Tao Zeng aa59c4f6ac mm: enable vmap stack on 32bit arch [2/2]
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>
2022-04-14 11:52:09 +08:00
Jianxiong Pan 682148d7c2 kasan: fixed build error when enable kasan generic. [1/1]
PD#SWPL-73890

Problem:
build error in kasan generic mode.

Solution:
fix the error when enable kasan generic.

Verify:
local.

Change-Id: Iac0a11209921374a494dafb17c3d5fd56748b426
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-03-04 04:24:47 -07:00
Jianxiong Pan 097a5fef3d vmap: fix build error. [1/1]
PD#SWPL-72350

Problem:
build error.

Solution:
correct the argument type.

Verify:
local.

Change-Id: I08fc34ec5d9f35d8525f07b414064cb0221ebd44
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-02-23 02:17:38 -07:00
Tao Zeng d31b9dd061 mm: add vmap stack support [2/2]
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
2022-02-22 21:39:53 -07:00