PD#SWPL-72350
Problem:
add a tool to list how many memory cache files used in file
cache.
console:/ # cat /proc/filecache
Solution:
porting file cache from 5.4.
Verify:
local.
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Change-Id: I92420acab7333b75bbb5bca1075d3e401b027fb2
PD#SWPL-70022
Problem:
No vmap stack support on 5.15
Solution:
Porting it from 5.4
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ie75bedb3072dfd90a5d74b64684c233186aada81
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I78552ad490938c455178e56395ff63e60b62a320
PD#SWPL-72254
Problem:
no mem debug on kernel5.15.
Solution:
porting mem debug from 5.4.
Verify:
local.
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Change-Id: Ie625011e90df9203686acbe52997149527a38daa
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 slab trace on 5.15 kernel
Solution:
Porting it from 5.4
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I25b732530f1253df24fbb2cd7d8d87c11fedccce
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
PD#SWPL-68630
Problem:
porting thermal driver
Solution:
1. porting thermal driver
2. modify the function type of the member of
struct thermal_cooling_device_ops
state2power
power2state
get_requested_power
3. modify the function(cpu_hotplug.c) interface
cpu_up() --> add_cpu()
cpu_down() --> remove_cpu()
4. modify config and move module_init from meson_cooldev.c to meson_tsensor.c
5. modify pr_info() --> pr_debug() when probe
Verify:
s4d
Change-Id: I5eead0120dbc826cbb4282d28d7531018c826025
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-68520
Problem:
driver optimization
Solution:
1. read command line from bootargs nor /proc/cmdline
2. parse command line to param and value
3. support early_param and __setup
4. support module_param
5. use pr_debug nor gki_tool_debug
because can't pass parameters to it from the command line
Verify:
s4d
Change-Id: Ib2d7915018e3c1a70284340b30bf929e6bb64b41
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-66014
Problem:
modify the code to meet the checkpatch requirements
Solution:
modify the code to meet the checkpatch requirements
Verify:
local check
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I1e9dca5938bcde461e9403b5df7bc9a0f8c4d1bf
PD#SWPL-65807
Problem:
Modify the code to meet the checkpatch requirements
Solution:
git format-patch -1 --stdout | ../common/scripts/checkpatch.pl --strict -
The following items have not been repaired
1. DT compatible string
Verify:
local check
Change-Id: Ibde323f01e9daee35c521db29cefff9ffa9da2c9
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>