PD#SWPL-168953
Problem:
upstream fix kmalloc not init to zero
Solution:
upstream fix kmalloc not init to zero
Verify:
sc2
Change-Id: I188630ef21ca74dd61e2605151983c90201606fc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-168212
Problem:
mtdblock report partition size wrong when meet bad block.
the problem is bring from commit <13f288bad852>
(mtdblock: improve mtdblock performance)
Solution:
correct the decrease size when meet bad block
Verify:
C3_C308L_AW419_SOCKET_V01_R05
Change-Id: Ib59984781c79a46acf19dd9dd88a64806746b91b
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-156093
Problem:
kernel 6 add a flag variation in struct mmc_blk_ioc_data
but set value to flag before use it, so it can be any value
Solution:
memset mmc_blk_ioc_data flag to 0
Verify:
a4
Change-Id: I7efbad65b8023682fe6f6ac159cbb4446a3193b7
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
PD#SWPL-156093
Problem:
slab optimite cause the copy_from_user check error.
Solution:
bypass the check for slab large allocation.
Verify:
local
Change-Id: Ia856bf79243e12a570b3854766b0707f7f5f92c1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150301
Problem:
Fdtoverlay cann't support remove unnecessary dts node.
Solution:
Add __removenode__ key work to support the function.
Verify:
local
Change-Id: Ia586fdd02b9be1d227ab527c3bbf363ab1ff4604
Signed-off-by: haotian.qu <haotian.qu@amlogic.com>
PD#SWPL-154292
Problem:
support autopatch for linux
Solution:
support autopatch for linux
Verify:
local
Change-Id: Idaae5f82e6e07c89781ab53cf1a436cbdac36fe1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-149337
Problem:
n/a
Solution:
bypass when check module version fail
Verify:
on a4
Change-Id: I01b6bcb689862c865db549768bede3123df04c96
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-135783
Problem:
1. need use regulator to delay dvfs voltage set;
2. for boot to kernel vddcpu/vddee voltage
change to max problem;
Solution:
1. (add dvfs delay time at a4/a5 k6.6) at 374414;
2. add init voltage at txhd2 trunk;
(add patch for a4 a5 k6.6 usb suspend issue, 384999)
Verify:
build pass
Change-Id: I8d5a2750d3ab5df2d949be710db5f1adf3659cb7
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
PD#SWPL-150034
Problem:
trace cannot be used.
Solution:
add more to white trace list.
Verify:
local.
Change-Id: Ie6a6cf45ceaf682bd3451917dd574a647712d2dc
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-151469
Problem:
the autopatch cannot patch to common with old name
Solution:
rename autopatch about vendor hook place_entity in commit cf74d1cb69
Verify:
local
Change-Id: Ifb08df2ee26ac814d250bebaa055c289615e6fa0
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-151469
Problem:
vendor hook android_rvh_place_entity do not exist in kernel6.6. Add it
in autopatch temporarily.
Solution:
add vendor hook android_rvh_place_entity for scheduler optimize
when debug
Verify:
local
Change-Id: I1c58b88090fd1e4ab8aff907532f417bc84971f8
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-150034
Problem:
support pcie whitelist.
Solution:
add aml fake smmu for pcie.
Verify:
local.
Change-Id: Ifff12d10d2fd7d234f3ab9330136cbc1a8b50827
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150034
Problem:
There are too many trace event inodes
Solution:
Add white list for trace event, this can save about 10MB memory
Verify:
local.
Change-Id: I339ed6a95313335a1d94ce4aab479c2422c3d334
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150034
Problem:
kernel size if too big.
Solution:
remove some configs.
Verify:
local.
Change-Id: I51b5cf892969bdc78b3ecaa2ca25665f6656e75a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150034
Problem:
No mem debug.
Solution:
porting it from 5.15.
Verify:
local.
Change-Id: I74d8f6add93e162abdb8fe964bcd7fdea974825d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150034
Problem:
enable pagetrace for amlogic-6.6.
Solution:
update the function interface according to 6.6.
Verify:
local.
Change-Id: Ic257caa3b507dcadb999de3dbc94c0aef22b4b0a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150782
Problem:
bring up kernel6.6
Solution:
fix some code problem
Verify:
sc2 c2 a4 a5
Test:
local
Change-Id: I6b9affa83e6d46f6b857f4b542991bc70de4bfb5
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-146339
Problem:
may overflow in some case.
Solution:
expand scs size.
Verify:
t5m.
Change-Id: I72910fc922e7339d5c0ac51f702b55b7e92b4dcc
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-146346
Problem:
UI response is not quickly on TC8000 projects
Solution:
Change kswapd filecache reclaim policy. Do not reclaim page cache
with mapcount larger than 1 (shared by 2 processes or above) to help
keep more mapped file caches in LRU list.
Verify:
T5M
Change-Id: I081a92debe94af608071468487b122529e6cdbda
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-141159
Problem:
network IP address loss after resume
Solution:
add delay and re-enable MAC RX/TX after PHY restart auto-negotiation
Verify:
T950S-BE311-X5-X8-REF#020
Change-Id: Id217ddac546ea707543b1e4be4669e9d171d8fc1
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
PD#SWPL-145324
Problem:
add early_param to switch in bootload.
Solution:
add early_param for trace events white list.
Verify:
local.
Change-Id: I4179e804433c61036c22868664e8c89552c5eb50
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145324
Problem:
There are too many trace event inodes
Solution:
Add white list for trace event, this can save about 10MB memory
Verify:
t5m
Change-Id: I7ecd89ba145e37c52d51842c1ab52f34a38ebdab
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145324
Problem:
scs cost too many memory, 4kb per thread;
Solution:
reduce it to 1kb per thread
Verify:
local
Change-Id: I850a6c3fefa26d12527bd8e011a1de347079b865
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-144091
Problem:
reserved zero address and enabled dmc monitor
Solution:
reserved zero address and enabled dmc monitor
Verify:
local
Change-Id: Ief29049b1938a163b2f73e516e38c6c29c703f3b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-145369
Problem:
try to avoid cma pool in low memory.
Solution:
add check the cma pool in low memory.
Verify:
local.
Change-Id: I5ec3a59dbd32dc4f94fbf368ce2736eb4d85ff68
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-143865
Problem:
t3x can't enable EAS because of apu.
Solution:
t3x can enable EAS when system supports
the hide cpu.
Verify:
t3x
Change-Id: Ie20fa9a01af1da9bcb5e655b5c54ecd9aa322f0f
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-139055
Problem:
device_init_wakeup will cause NETLINK
Solution:
not switch wol status anymore
Verify:
QA_verify with T7C
Change-Id: I823ce0c80babef1a1c83d811c3af126e7b27f995
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-139378
Problem:
MID_ORDER_GFP may cost a lot of CPU time in memory compaction when allocate
big system heap.
Solution:
change to HIGH_ORDER_GFP can prevent this cost.
Change order 4 to 3 let system heap can allocate more contiguous memory.
Verify:
ohm
Change-Id: I6260d6d246605227132e459a8bc4ba0cf8d2065e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>