Commit Graph

11 Commits

Author SHA1 Message Date
Jianxiong Pan 2696df5867 mm: fix the aml_smmu not working problem. [1/1]
PD#SWPL-165128

Problem:
pcie unable to recognize the nvme device.

Solution:
update the aml_smmu code.

Verify:
sc2.

Change-Id: I3950d9b97f6d094c64ac1b2908db13156d5de451
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-04-12 00:15:38 -07:00
Dezhen Wang 17548f36a0 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:40 -07:00
Jianxiong Pan ea5f9fa169 mm: move aml_smmu ko to memory_debug directory. [1/1]
PD#SWPL-150034

Problem:
reduce the ko number.

Solution:
move aml_smmu ko to memory_debug directory.

Verify:
local.

Change-Id: If537a6a6493a9944319caa344ad8e3a73c294179
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-19 03:11:39 -07:00
Dezhen Wang bcfa0ee2e4 bring up: revert compatibility code for kernel 6.6 [1/1]
PD#SWPL-151245

Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.

Solution:
revert compatibility code for kernel 6.6.

Verify:
local

Test:
local

Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-11 18:46:45 -07:00
Jianxiong Pan 68d6934858 mm: enable file cache. [1/1]
PD#SWPL-150034

Problem:
enable filecache.

Solution:
enable filecache.

Verify:
local.

Change-Id: I26a748ad1ce98a6824bff67e93884356ccb6fdd3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-02 20:01:37 -07:00
Jianxiong Pan e34c1c43ab mm: replace vendor hook with kprobe. [1/1]
PD#SWPL-150034

Problem:
no corresponding vendor hook.

Solution:
use kprobe to get not export function/variable.

Verify:
local.

Change-Id: I6c7abe40fd4d6e7802fe30b2426ace5cbb7ab067
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-29 01:36:17 -07:00
Wanwei Jiang 43461aec82 kernel6.6: bring up [1/1]
PD#SWPL-145682

Problem:
bring up kernel6.6

Solution:
1. porting kernel6.6
2. compatible with different kernel versions
3. bring up kernel6.6

Verify:
sc2 c2 a4 a5

Test:
None

Change-Id: Ie22af0abc8ea96261e8a8cc7804b58565aedd904
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-12-14 16:55:55 +08: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