wanwei.jiang
d99bed68b8
mm: build error [1/1]
...
PD#SWPL-73109
Problem:
mm build error
Solution:
decoupling header file reference
Verify:
s4d and C2 AF400
Change-Id: Ifa4b45ef2cf71acd728db8eed9bc12ccf2c22733
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-02-24 10:44:15 +08:00
qinglin.li
0e0ad4ca72
printk: printk optimization [2/2]
...
PD#SWPL-70486
Problem:
printk add cpuid,cur_task,irq etc info.
Solution:
printk add cpuid,cur_task,irq etc info.
Verify:
s4d && c2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: I9daa8bf7aeb158230871b4fa7505a6903ab4b32e
2022-02-23 16:57:56 +08:00
Jianxiong Pan
ac2fc01c28
mm: add file cache statistic support. [1/1]
...
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
2022-02-22 23:03:03 -07:00
Tao Zeng
d31b9dd061
mm: add vmap stack support [2/2]
...
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
2022-02-22 21:39:53 -07:00
Hanjie Lin
6e13c93fb7
debug_lockup: support c2 compile [1/1]
...
PD#SWPL-71728
Problem:
support c2 compile
Solution:
support c2 compile
Verify:
s4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com >
Change-Id: Iafbccb16a30a06cf03352ea6e33ebde2f8296511
2022-02-23 10:01:08 +08:00
Hanjie Lin
71de1a49bb
debug_lockup: add support [2/2]
...
PD#SWPL-71728
Problem:
add debug_lockup support
Solution:
add debug_lockup support
Verify:
s4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com >
Change-Id: I578f6c22b8a41aae861871249248618230f18859
2022-02-22 03:18:28 -07:00
Jianxiong Pan
d07381ec22
mm: add mem debug support. [1/1]
...
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
2022-02-21 22:15:47 -07:00
Tao Zeng
f39397f1ec
mm: add cma optimization from 5.4 [2/2]
...
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
2022-02-15 15:51:02 +08:00
Tao Zeng
406bb47837
mm: add slab trace support [2/2]
...
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
2022-02-15 00:29:08 -07:00
Tao Zeng
0a649a2a65
mm: add pagetrace driver [2/2]
...
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
2022-02-15 00:24:39 -07:00
wanwei.jiang
08a2acfaea
reboot: porting reboot driver [1/1]
...
PD#SWPL-70992
Problem:
porting reboot driver
Solution:
1. porting reboot driver
2. ptimizing log printing
Verify:
s4d
Change-Id: I51bf865af792c01e5be6c3a6d0bd069fa1b9f2fe
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-24 13:54:47 +08:00
qinglin.li
0edc60c2c3
power_domain: porting c2 power_domain driver [1/1]
...
PD#SWPL-70906
Problem:
porting c2 power_domain driver
Solution:
porting c2 power_domain driver
Verify:
c2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: I8960212b67194e4988859a54a5666dbc8e7220c2
2022-01-21 02:19:57 -07:00
Long Yu
0531d3b475
MMC: porting mmc driver [1/1]
...
PD#SWPL-68831
Problem:
porting mmc driver
Solution:
porting mmc driver
Verify:
s4d
Change-Id: If21f1e1300b1ee8393e24f8bc1f857497a3f975f
Signed-off-by: Rong Chen <rong.chen@amlogic.com >
2022-01-20 22:50:43 -07:00
wanwei.jiang
771f1ddc3b
dts: porting c2 dts [1/1]
...
PD#SWPL-70779
Problem:
porting c2 dts
Solution:
porting c2 dts
Verify:
C2 Af400
Change-Id: I1f34649a66fcecac7749d26aaa3d3a962fb743b9
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-19 18:34:58 +08:00
wanwei.jiang
82c658e68b
thermal: porting thermal driver [1/1]
...
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 >
2022-01-14 18:39:57 +08:00
wanwei.jiang
1f3df6f810
gkitool: driver optimization [1/1]
...
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 >
2022-01-13 15:40:36 +08:00
wanwei.jiang
1c6ed6969b
key: porting adc key driver [1/1]
...
PD#SWPL-68631
Problem:
porting adc key driver
Solution:
porting adc key driver
Verify:
s4d
Change-Id: Ib65478bacd49d008020d8c3dbc00ce698b4056d4
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-12 10:42:11 +08:00
wanwei.jiang
5b9119c59f
irblaster: porting irblaster driver [1/1]
...
PD#SWPL-69666
Problem:
porting irblaster driver
Solution:
porting irblaster driver
Verify:
s4d
Change-Id: If15957c9c4072bb08bf5454cc3e81eac646eb1ad
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-11 20:46:44 +08:00
qinglin.li
c1a98e33cb
ddr_tool: porting ddr_tool driver [1/2]
...
PD#SWPL-69189
Problem:
porting ddr_tool driver
Solution:
porting ddr_tool driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: I16466f62bffb8b6fd537e78f793ca555d2df6e81
2022-01-10 17:05:09 +08:00
wanwei.jiang
d607696240
jtag: porting jtag driver [1/1]
...
PD#SWPL-69190
Problem:
porting jtag driver
Solution:
porting jtag driver
Verify:
s4d
Change-Id: Icf0b8be00045444e71c6779f9bf97d3f5c7756cb
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-05 17:07:20 +08:00
qinglin.li
7231e83d7f
mailbox: porting mailbox driver [1/2]
...
PD#SWPL-65955
Problem:
porting mailbox driver
Solution:
porting mailbox driver
Verify:
s4d-ap222
Change-Id: I4dc5a60e588c54551f835af15b824bbb06877bb6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
2022-01-04 18:10:30 +08:00
wanwei.jiang
17f72adc13
efuse_unifykey: porting efuse_unifykey driver [1/1]
...
PD#SWPL-69066
Problem:
porting efuse_unifykey driver
Solution:
1. porting efuse_unifykey driver
2. pfn_valid -> pfn_is_map_memory
3. use secmon driver interface in efuse_api.c
4. add <linux/compat.h> for compat_ptr
5. add <crypto/sha256_base.h> for SHA256_DIGEST_SIZE
6. reduce the print level in the probe function
Verify:
s4d
Change-Id: Ia9833a2ad0d0bc0f751624c65ccefd92bdc3276b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-04 14:07:33 +08:00
wanwei.jiang
a3ad4649bf
pwm: porting pwm driver [1/1]
...
PD#SWPL-67421
Problem:
porting pwm driver
Solution:
porting pwm driver
Verify:
s4d
Change-Id: Ie5d4b92fa457ee98fb1f81d4446e1a4f38047c50
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-29 14:19:59 +08:00
wanwei.jiang
23ae695710
gkitool: fix cfi and string parsing issue [1/1]
...
PD#SWPL-68520
Problem:
load module fail
Solution:
verified with amlogic-input-ir.ko
1. fix cfi issue
2. fix string parsing issue
Verify:
s4d
Change-Id: Ia681e65d816d26ce69c174fa47e1a0884ab99dcc
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-28 15:33:27 +08:00
wanwei.jiang
c3212056eb
gkitool: porting gkitool driver [1/1]
...
PD#SWPL-68520
Problem:
porting gkitool driver
Solution:
porting gkitool driver
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: Iaa98e45633199814367ed1e63eee0a8aaaca36d6
2021-12-23 21:06:08 +08:00
wanwei.jiang
4c8cc1d42f
tee: porting tee driver [1/1]
...
PD#SWPL-68397
Problem:
porting tee driver
Solution:
porting tee driver
Verify:
s4d
Change-Id: I048b21d639cf3903daf820ce555e3526e0539dab
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-22 19:29:04 +08:00
wanwei.jiang
7f5461b0f1
spi: porting spi driver [1/1]
...
PD#SWPL-68123
Problem:
porting spi driver
Solution:
porting spi driver
Verify:
s4d
Change-Id: I846bf0d796774ed5c85be80ec9dcba5600551da9
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-22 15:48:10 +08:00
wanwei.jiang
7d95201ddd
gpio: porting gpiolib function [1/1]
...
PD#SWPL-65870
Problem:
add function gpiod_set_pull
Solution:
add function gpiod_set_pull
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: Id027b5b1abfb675445ff01fc8faaa207147a8954
2021-12-21 09:51:07 +08:00
wanwei.jiang
7c6fe06dc6
pm: porting pm driver [1/2]
...
PD#SWPL-68037
Problem:
porting pm driver
Solution:
1. porting pm driver
2. modify device attribute to class attribute
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: If5fa4dbdca1d77ba603d9b5f8374d3f8ac55db2a
2021-12-20 16:31:52 +08:00
wanwei.jiang
098108a06e
cpuinfo: porting cpuinfo driver [2/2]
...
PD#SWPL-67677
Problem:
modify the code to meet the checkpatch requirements
Solution:
1. modify code style
2. export cpuinfo_get_chipid
3. print cpuinfo_chip_id
Verify:
s4d
Change-Id: I23db8e3efaf1d634a88d2970c1f183b9fad21b22
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-15 15:59:20 +08:00
wanwei.jiang
7eaa5e3d6c
cpuinfo: porting cpuinfo driver [1/2]
...
PD#SWPL-67677
Problem:
porting cpuinfo driver
Solution:
porting cpuinfo driver
Verify:
s4d
Change-Id: I2e137208d4ded6143d288c1ea9f1bf481e84f019
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-15 15:59:07 +08:00
qinglin.li
f6e7813927
power: modify the code to meet the checkpatch requirements [1/1]
...
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
2021-12-10 16:11:16 +08:00
qinglin.li
0e32a70a27
power: porting power driver [1/2]
...
PD#SWPL-66014
Problem:
porting power driver
Solution:
add 1 power drivers
amlogic-power-common.ko
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: I8af5b5b5eeba4686cf0c09604cd77d2a9c19650f
2021-12-10 16:09:07 +08:00
wanwei.jiang
d8cfbc189b
secmon: init secmon driver [1/1]
...
PD#SWPL-66601
Problem:
porting secmon driver
Solution:
porting secmon driver, and modify function:
dma_alloc_from_contiguous() -> dma_alloc_coherent()
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: Ibe8cee8b91596dcb4caa14c254453faf37425d97
2021-12-09 15:10:33 +08:00
wanwei.jiang
6c0e6a8704
irqchip: Modify the code to meet the checkpatch requirements [1/1]
...
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 >
2021-12-01 13:34:25 +08:00
wanwei.jiang
1c89d857e7
irqchip: init gpio irq driver [1/1]
...
PD#SWPL-65807
Problem:
init gpio irq driver
Solution:
add 1 driver
amlogic-irqchip-common.ko
Verify:
s4d
Change-Id: I589992db8235c3e335e4e444791de3f73538db63
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-01 13:34:17 +08:00
wanwei.jiang
7bd15c52a3
clk: init clock driver [1/1]
...
PD#SWPL-65394
Problem:
init clock driver
Solution:
add 2 clock driver
amlogic-clk-common.ko
amlogic-clk-s4.ko
Verify:
s4d
Change-Id: Icedcea7d56026fb570c5cf305e47f1884d4aa87b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-11-29 19:00:07 +08:00
wanwei.jiang
cae421a694
dts: init the dts of s4d_s905y4_ap222_drm [1/1]
...
PD#SWPL-64323
Problem:
init the dts of s4d_s905y4_ap222_drm
Solution:
init the dts of s4d_s905y4_ap222_drm
Verify:
Build pass
Change-Id: I688f39d9993658a3f1191dbbe309cc5ff1f8a07e
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-11-16 15:13:15 +08:00