PD#SWPL-206552
Problem:
freq node value does not match actual
Solution:
register has only the lower 16 bits used ddr freq
Verify:
local
Change-Id: I74e8f59def96916abd44cd39eaa28b615e3d8fdd
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-197897
Problem:
The cma allocated by the driver is considered normal access.
Solution:
filter pages of isolate migrate type.
Verify:
local.
Change-Id: I9261f5b2de41b5b9896e4628b0c1e06890f4679f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-197897
Problem:
default mode debug is zero when not reserved
Solution:
get original early
Verify:
local
Change-Id: I954d4afea75cfed0bf63c34ea451a2c833fd6745
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-197897
Problem:
dmc default config cmd set is too long
dmc read protect mem crash
Solution:
1.add default mode set by bootargs
2.auto set range when set default mode
example cmd as
uboot
setenv initargs $initargs dmc_monitor=default;saveenv;reset
kernel
echo default > /sys/class/dmc_monitor/device
3.use !<DEVICE> to delete device
example cmd as
echo !USB > /sys/class/dmc_monitor/device
4.dmc_filter default set
use !<DEVICE/FUNCTION> to delete device or function
example cmd as
uboot
setenv initargs $initargs dmc_filter=!USB,!alloc_from_cma;saveenv;reset
kernel
echo !USB > /sys/class/dmc_monitor/filter
echo !alloc_from_cma > /sys/class/dmc_monitor/filter
5.default not read violation value
if want to read, echo value 1 > /sys/class/dmc_monitor/debug
Verify:
local
Change-Id: I243fbc0fb289f534b78a473ef15d8927d747d689
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-188937
Problem:
support iotm function on t6w
Solution:
support iotm funciotn on t6w
Verify:
t6w,t6d
Change-Id: I89c835ea502bfe13612f270e095307cc0bdb898b
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-194719
Problem:
filter media use scatter memory
Solution:
media use alloc_page_boost_work_func alloc scatter memory
filter function alloc_page_boost_work_func
Verify:
local
Change-Id: Iafdbe4fc76b94cd857d232586d0f4b8c00bec2de
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-181574
Problem:
s7 not amfc port
Solution:
remove s7 amfc port
Verify:
local
Change-Id: Ic98cabbdb7b20bf6f755f87f82227bebf9780b01
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-173394
Problem:
prefetch abor error when set dmc
kasan check use after free when read value
Solution:
ddr init set dmc reg to check overflow
this will be due to prefetch abor
need to clear reg before set.
Verify:
Detail info
Change-Id: Ia45c2cd30e408f5f6d36c177564433fa3cefd4fa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-179075
Problem:
the page status printed in dmc is incorrect.
Solution:
correct the page status.
Verify:
local.
Change-Id: I670fd6a7437f93b680deeba81e1511fb657a42d0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-175818
Problem:
"cat /sys/class/watch_point/watch_addr" will crash,
dbgwvr4_el1 that should not be accessed was accessed..
Solution:
Delete "do{}while(0)". and break will take effect on 'switch' rather
than 'while'.
Verify:
SC2
Change-Id: Ie613f032fe8f6b951c503f318064cc5b3511b914
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-172962
Problem:
fixed s6 port not be config
Solution:
fixed s6 port not be config
port will be set default when mode enabled
Verify:
s6
Change-Id: I72cbce0e4f769b07186423a2a85660b00fdacc23
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
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>