PD#SWPL-74295
Problem:
implete the new feature driver
Solution:
add this support
Verify:
C3-PTM
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Change-Id: Ica41e273ebe08ad6c28b1f2af74839ab667d57bc
PD#SWPL-78227
Problem:
drm driver need use ion function
Solution:
move ion.h to common_driver/include
Verify:
s4d
Change-Id: I06b800c9394a3337c7e44363768687ed917110f2
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
PD#SWPL-77313
Problem:
bringup eth
Solution:
bringup eth
Verify:
Verified on AP222_S905Y4#005
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I39ce9e905790c8a62ce8b5705a6443e0c56c81b5
PD#SWPL-70022
Problem:
vmap stack is not enabled on 32bit arm arch
Solution:
Enable it
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ie3a9c349c737ec4171c0fe31d5fd201b2a195c63
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-77521
Problem:
enable the same config as kernel 5.4
Solution:
enable the same config as kernel 5.4
Verify:
s4d
Change-Id: I73f6eb8a896956337503477f32c218fe465cddda
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-77521
Problem:
porting media driver from kernel 5.4
Solution:
porting media driver from kernel 5.4
Verify:
s4d and C2 AF400
Change-Id: I63bb8316e271db8b7d0e6e524399ebde9a1456a6
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-74296
Problem:
add ge2d/dewarp support
Solution:
add this support
Verify:
C3 PTM
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Change-Id: Ib22534ce4fddc19866c645080003423f8b53924f
PD#SWPL-72272
Problem:
some define is needed by media_modules
Solution:
add headers that needed
Verify:
s4
Change-Id: Ic5a24e6879d94c25db16a6328b98b812e94c55b5
Signed-off-by: hao.shi <hao.shi@amlogic.com>
PD#SWPL-76021
Problem:
need add watch point driver.
Solution:
porting watch point driver.
Verify:
s4_ap222.
Change-Id: Ie4220735d607c8b865209d43f314eaad41a29a9a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-74441
Problem:
not support sdio reset
Solution:
support reset
Verify:
s4d
Change-Id: Id9f91e492d7394cec0f715c83077e2b7863e53c8
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
PD#SWPL-74266
Problem:
need to support c3 reset driver
Solution:
add reset dt-bindings and dts node for c3
Verify:
c3_pxp
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
Change-Id: I39f9dc7313002bf003cbc638d8835ef7ab5cbc4b
PD#SWPL-74283
Problem:
c3 power status verify
Solution:
add c3 power status verify
Verify:
pxp
Change-Id: I4d2866c26bc0b9935a302bec3371ef580c84e8da
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
PD#SWPL-74259
Problem:
1. need to support c3 pinctrl
2. KASAN error
Solution:
1. add c3 pinctrl driver
2. unmask name feature and add it later
Verify:
c3_ptm
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Change-Id: I51069579fa5cc0bdda4aec3e3e690c903010f836
PD#SWPL-73676
Problem:
need add user fault function.
Solution:
add user fault debug.
Verify:
local.
Change-Id: Iee06a7ca439673833662f9cc3c83010ad81121a3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-73422
Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller do not free it.
Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB durning
runtime.
Verify:
local.
Change-Id: I19cfbdddc92b1c2050cbc17ea65feb4b01f0445d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-71764
Problem:
Need to bringup amlogic crypto driver for
kernel 5.15.
Solution:
1. Bringup amlogic crypto driver
2. Enable SHA1, DES, and ECB if they are
disabled by default.
3. Merged from 5.4 and 5.10
Verify:
1. Built-in driver on C2_AF400
2. GKI driver on S4D AP_222
Change-Id: I62487e615930070233c3a6b4a41b66edddf6f783
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
PD#SWPL-71865
Problem:
support USB for C2
Solution:
support USB for C2
Verify:
C2
Signed-off-by: he.he <he.he@amlogic.com>
Change-Id: I4e9b2823016e1296bf25281a38f69a8fe08e9b22
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-71754
Problem:
support iotrace driver
Solution:
support iotrace driver
Verify:
on s4d_ap222 and c2_af400
Change-Id: Iefaa724c118a9310ce1b7121c6685dce580db0d5
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-71741
Problem:
add module to bring cpu1 to linux
Solution:
add module to bring cpu1 to linux
Verify:
C2 AF400
Change-Id: Iac78df21a1edc46a158d78339be7bc0d394a658b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-73189
Problem:
memory reclaim process is usually do when first allocate failed from buddy.
This will cause some process crash especially when memory is low, because
there is not enough time to do reclaim process.
Solution:
try to wake up kswapd process to reclaim memory if free memory is less
than high water mark. After apply this change, free memory is usually
keeps high than high_water mark.
Verify:
local.
Change-Id: I9c5f90bba778aacfe21aacb332ed19ad162b048b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-73048
Problem:
in kernel 5.15,emmc clock is not OK for C2 platform
Solution:
change the clock setting
Verify:
Local
Change-Id: I55820e08e7ba73e1c57e07fa762c237ae5127edb
Signed-off-by: ziyi <ziyi.huang@amlogic.com>