Commit Graph

6 Commits

Author SHA1 Message Date
qiankun.wang 6104e2232d mm: fix the access function of "watch_addr". [1/1]
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>
2024-07-03 02:52:38 -07:00
Dezhen Wang 6256ce3548 kernel6.6: support clang build for a4 and a5 [1/1]
PD#SWPL-156726

Problem:
support clang build for a4 and a5

Solution:
fix build error

Verify:
a4 a5

Change-Id: I9aa3e06010344c9a313365d3dcdf1b10b4f75904
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-02-21 04:05:46 -07:00
Jianxiong Pan ce218b6b98 mm: reduce the print log in momeory module. [1/1]
PD#SWPL-141371

Problem:
optimize memory log.

Solution:
reduce the print log.

Verify:
local.

Change-Id: Id5b9a9240bc94d49f6d311a1f4084ffdf0a5a13a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-11-05 22:23:43 -07:00
Jianxiong Pan 84069bf36e mm: fix the filecache not work when dis MEMCG. [1/1]
PD#SWPL-112186

Problem:
cat /proc/filecache not work.

Solution:
change the vendor hook to pass data.

Verify:
s4_ap222.

Change-Id: I6233927a0649f1ad16710ab9370bb7507832ef80
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-03-23 05:12:29 -07:00
Wanwei Jiang 87c507d22d porting: compatible with common14-5.15 [1/2]
PD#SWPL-109858

Problem:
compatible with common14-5.15

Solution:
compatible with common14-5.15

Verify:
sc2

Change-Id: I12e0e796e95cf54d37f76ad9f01a0ff9852e779e
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-02-13 19:41:56 -08:00
Wanwei Jiang c780df0b08 memory: combine memory_ext addr_tool and reg_access modules [1/1]
PD#SWPL-95684

Problem:
combine memory_ext addr_tool and reg_access modules

Solution:
result: amlogic-memory-debug.ko
original:
	file_cache.ko
	watch_point.ko
	amlogic-reg.ko
	amlogic-ddr.ko

Verify:
sc2/s4d

Change-Id: Id143e085dd26c0b57631dbab4c003534905d0661
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:31:14 +08:00