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-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-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>
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>