PD#SWPL-140760
Problem:
dmc get wrong pagetrace information.
Solution:
Retrieve the value of module base.
Verify:
ohm.
Change-Id: Ia58bdc613d7974d1d7ade05fa7d4cefbd1287d59
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-137693
Problem:
not need the page trace kprobe.
Solution:
remove kprobe for cma_alloc in pagetrace.
Verify:
local.
Change-Id: I4e787c0b0778d7b76930a209a1f597002d9127e0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-112188
Problem:
need to trace buffer info in cma ko.
Solution:
print pagetrace info in aml cma ko.
Verify:
local
Change-Id: I288c78ffb0bb7b10cf149f149324ef0b8b236528
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-124872
Problem:
show pagetrace when oom.
Solution:
show pagetrace when oom.
Verify:
local.
Change-Id: If068d2cbffa5969d2e62aadbb57e32bc1b28d415
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-112188
Problem:
not find the unwind_frame() in arm64.
Solution:
replace the unwind_frame() with unwind_next() .
Verify:
t7c.
Change-Id: I1c62c29d68174333198965ff385ba3022170fa28
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-112521
Problem:
dmc can not print the trace function.
Solution:
register the vendor hook early.
Verify:
planck.
Change-Id: Id9e07440be52440e15aaafdcecfbc88e483c0ede
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-94197
Problem:
__get_free_pages() can only allocate a maximum of 4M.
Solution:
use memblock_alloc.
Verify:
sc2_ah212.
Change-Id: I5f9a22b34e6ce81beee30530f43367fa5b2e9903
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-92714
Problem:
export symbol will break gki.
Solution:
remove export symbol in pagetrace.
Verify:
sc2_ah212.
Change-Id: Ib8283c24f863e985c0a2a70cf135846646eb7a36
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-91379
Problem:
mismatch type of argument.
Solution:
correct the argument type.
Verify:
build pass.
Change-Id: Ie4b222d23bd4966b1fd69abd7a79f1ad4b890db1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-94445
Problem:
the get_page_trace() cannot be exported for dmc.
Solution:
set dmc_monitor to builtin.
Verify:
sc2_ah212.
Change-Id: Id23d6dbe0461f4317f6681d62e5578e89cc5c699
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-80398
Problem:
upgrade kernel with version 5.15.35
Solution:
upgrade kernel with version 5.15.35
Verify:
c2 and s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ibc446d0d3f95c12aa46816cdf5376b04c050adc0
PD#SWPL-70022
Problem:
No cma optimization on 5.15
Solution:
1, add aml optimized cma driver, including use multi-core cma allocation
and quick cma free code;
2, add some interfaces for kernel mm logic change and porting some
interface to other driver usage.
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I81cba90b1493f0dd81b61e5d24bc5eb455cdccc7
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: I16874164b9238a5ee8f0449ecda05377d6761a2a