PD#SWPL-156505
Problem:
porting dmc for s6
Solution:
1. support ddr bandwidth
2. support dmc monitor
3. analyzing register information according to
the latest secure register definitions
Verify:
s6 pxp
Change-Id: I90067dab06a268e8f87c4f5df1960375b2eecf32
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-173670
Problem:
support sc2 and t5w priority
Solution:
support sc2 and t5w priority
Verify:
local
Change-Id: I010790af9ee2c8e6fe46d2a426f3b1d9a17b4491
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-173670
Problem:
support sc2 and t5w priority
Solution:
support sc2 and t5w priority
Verify:
local
Change-Id: Ibe6c3858e04eb60f59b6d44b66a9c0dab7b6f44c
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-161628
Problem:
arm64 unable get _text and module_base parameters via find symbal.
Solution:
use long type to store pagetrace information.
Verify:
sc2.
Change-Id: Id52bed43bbeed50a6d8ef0e32a54c5d9d9eab331
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-165513
Problem:
Autosuspend can't resume when connect usb disk
and enable ramdump.
Solution:
Optimize the DDR cleaning strategy:
1.delay 120s to clean up memory.
2.stop cleaning when the remaining free size
drops to 10%.
Verify:
on t7c
Change-Id: I93e64706e1a39a7e37f3a7dd4afb081c687c1f9f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-163624
Problem:
get out of ddr size addr page flags to panic
Solution:
panic when write addr out of ddr
warning when read addr out of ddr
Verify:
txhd2 && g12a
Change-Id: I8bbe6e4185f433eb34868bb94fe0f32a06400a29
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-160944
Problem:
fix c2 reg error
fix port name is null due to strstr crash
Solution:
fix c2 reg error
fix port name is null due to strstr crash
update to dmc version to 1.5
Verify:
c2
Change-Id: I02f6528d0d61a3dff42852f8e479439993fadaa5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-147355
Problem:
io_mem array get error
Solution:
fix io_mem array get error
update dmc version to 1.3
Verify:
local
Change-Id: I95b69d5c8a06b984858c73d6e2564c8d17214680
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-147355
Problem:
optimize port and subport name save
Solution:
update dmc version to 1.2
optimize port and subport name save
Verify:
local
Change-Id: I2e293ad8b359cdef93475ee976ddc0562e1593e5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-147355
Problem:
old soc may creat a secure but irq thread not be init
when first irq set
Solution:
fix irq thread null pointer
update dmc version to 1.1
Verify:
g12a
Change-Id: I1f0e99db992d52f0acb8e66eb906f0d89bb52b32
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-143634
Problem:
tm2 dmc bring up
cpu info modules need to load earlier due to get cpu version
Solution:
tm2 dmc bring up
cpu info modules load earlier
Verify:
local
Change-Id: I0ce73c49a9c0aefb1d3beac3151eac20eec2b166
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-147355
Problem:
due to lockup when dmc irq ratio is too high
Solution:
use dmc irq thread when irq ratio is too high
Verify:
local
Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#TV-107858
Problem:
support build kasan with parameter for androidt
Solution:
support build kasan with parameter for androidt
Verify:
local
Change-Id: I0538542862e5e708aea92257d90b49ab47ced9be
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-141263
Problem:
irq not disabled when mode close
Solution:
fix irq not disabled when mode close
Verify:
local
Change-Id: I1ba42fbe47860838683bdd7a117aabb32b617daa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-141263
Problem:
irq not disabled when mode close
Solution:
fix irq not disabled when mode close
Verify:
local
Change-Id: I632b145626e81cddf9aef3a05f7c1ee644c9c478
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-148227
Problem:
The crash file of ramdump cannot be parsed properly.
Solution:
1. Delay 60 seconds to clear DDR
2. Optimize print output to help parse crash files.
3. Reduce the func jump level of flush cache all.
Verify:
sc2
Change-Id: Ib82725cf2c22eb3ef9c7257cedbdfa718acd5ad9
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-144091
Problem:
dmc not judge reserved memory failed if use reg function in dts
Solution:
modify alloc function in dts used to reserved memory
Verify:
Detail info
Change-Id: I2dfa087cbbc940273e6495f01eb5acdb7cb3c4b7
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-141263
Problem:
when ddr bandwidth irq handle not register but set,
will be due dmc irq too much,
if dmc and bandwidth use same irq num.
Solution:
not enabled bandwidth irq when irq handle not set
Verify:
sc2
Change-Id: Ie8622c8b8a9a623d936d37a43d3e56d039b83cd1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-140453
Problem:
the newly released page is not filtered out.
Solution:
add check for free pages.
Verify:
local.
Change-Id: Ib8cfea7fb13cce9bef134864ce6f44c1dbccc7dc
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-132538
Problem:
The core-dump file cannot be saved to /data in Android.
Solution:
a. Fix BUG for bad page state when lazy_clear_work is running.
b. Print the parameter infor required for the crash tools.
c. Support for storing crashdump files in Android /data/vender/ramdump/
1) When a kernel panic occurs, flush cache all.
2) Restart to uboot stage and compress the full DDR.
3) Set kernel dts rsv mem based on compressed infor.
4) Crop reserved memory sub nodes to reduce mem usage.
5) Kernel stage parsing dts to configure rsv mem.
6) Android init.rc read sysnode, and generate crash file.
Verify:
sc2_ah212
Change-Id: Ic6fba2c305f9e3171445f3b89afa02c75c27a080
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-137107
Problem:
The data in the ramdump crash file is abnormal
because the cache data has not been flushed back.
Solution:
1. Use ipi_stop hook to flush online cpu cache.
2. Use panic_notifier to flush panic cpu cache.
Verify:
sc2_ah212
Change-Id: Ifad5bd4203fdde327b8c2b19357aa2d92586063f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-137431
Problem:
need record page trace when access
Solution:
record page trace when access
Verify:
local
Change-Id: I8e940449715c8fc41855b1b811281aeea099030b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-132402
Problem:
read no map memory failed when arm build
Solution:
check memory map when arm build
Verify:
local
Change-Id: I9219cf796b2091bed31df485d18621887a50c491
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-132402
Problem:
read no map memory failed when arm build
Solution:
check memory map when arm build
Verify:
local
Change-Id: If806828c60e54e113f7ead52670a97159aac5a22
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>