PD#SWPL-148670
Problem:
https://scgit.amlogic.com/#/c/375286/
the patch closes some trace events nodes.it will lead to cts fail.
Solution:
set allow_trace_enable to 0 for opening the trace event nodes for cts
test
Verify:
local.
Change-Id: I175a72c123e3bf71926bd08ac61427fdf7c0c3e6
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-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:
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-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-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-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-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>
PD#SWPL-138314
Problem:
restart network will involve too much
problem, remove this flow, left only for txhd2
Solution:
remove network restart when resume
only txhd2 will use this function
Verify:
BE311
Change-Id: I5441e51d85de06abdbe0f25870179ba41738f263
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-132090
Problem:
fuse bpf has a bug when using 32bit kernel
Solution:
Google provide this patch to fix it
Verify:
s4
Change-Id: Id3bc70edb8012f061383afa74d5bc7e1623a986c
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
PD#SWPL-58611
Problem:
upported FP instruction in kernel mode
Solution:
disable access to FPINST/FPINST2 for aarch32 because there is
no fpinst/fpinst2 in armv8 aarch32.
Verify:
T5D
Change-Id: I7b898f61a6b2fc6a6933b9cba5d3f290f79db3df
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing GKI
Solution:
using kprobe method to solve problem
Verify:
oppen
Change-Id: Iccdbb2d0a8529a43b2df638b2423ce21580319be
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-138629
Problem:
modules out remove need fix conflict
update include/linux/upstream_version.h
Solution:
modules out remove function fix
update include/linux/upstream_version.h
Verify:
local
Change-Id: Id2481bd3e13f07f4986db4390e6e02d340872e9e
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-138487
Problem:
add new flow for txhd2
common14
Solution:
add new flow for txhd2
Verify:
BE311
Change-Id: I79010a4f8b87fdb7cb6302abba8e79fdaef43a70
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-101774
Problem:
save_stack_trace can't simplify all callers'
use of stackdepot, because the value of
"__irqentry_text_start" and "__irqentry_text_end"
is same.
Solution:
"#define __exception_irq_entry __irq_entry" to
make the section ".irqentry.text" is not empty.
Verify:
THXD2
Change-Id: I6f13ce8ad14f4417d36789b91db9503d6e2fa470
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-131211
Problem:
kernel crash in check_page_to_cma
Solution:
The problem is that page_mapping function returns a invalid mapping
pointer, when a compound page is building while a compaction is doing
at same time, there will have a risk of compound page status checking.
page->mapping is set to TAIL_MAPPING first then set compound header.
But check_page_to_cma don't check real status of page, which caused
panic
Verify:
local
Change-Id: Ie707573beb1904d4ecf76acd026a7aba4dd07e80
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-101774
Problem:
save_stack_trace now record user calls
Solution:
add kernel_or_module_addr judgement before save stack
Verify:
t5w 32bit
Change-Id: I71d298b12c9822adad413ddbf03c5eb784c999e1
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-128975
PD#SWPL-118242
Problem:
1.rdk kernel 5.15 bt not support deep sleep wake-up
2.rdk kernel 5.15 need user confirm
Solution:
support it
Verify:
T5W T3X
Change-Id: I9bb5adf332ff2fb2d11fc31ec08d845465debe6d
Signed-off-by: lei.chen <lei.chen@amlogic.com>
PD#SWPL-135009
Problem:
The config 'CONFIG_AMLOGIC_SEC' has been
converted to CONFIG_AMLOGIC_SECMON.
Solution:
delete the config 'CONFIG_AMLOGIC_SEC',and
add the config 'CONFIG_AMLOGIC_SECMON'.
Verify:
SC2
Change-Id: I664ce36b86af24ff3e92adcf31f6149ecf381dcb
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-132402
Problem:
read no map memory failed when arm build
Solution:
check memory map when arm build
Verify:
local
Change-Id: I9219cf796b2091bed31df485d18621887a50c491
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-134487
Problem:
high priority of kswapd leads to cpu loading.
Solution:
remove changes that raised kswapd priority.
Verify:
local.
Change-Id: I16097cebea95839099bc60bae9ff7a36710625c4
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-132402
Problem:
read no map memory failed when arm build
Solution:
check memory map when arm build
Verify:
local
Change-Id: If806828c60e54e113f7ead52670a97159aac5a22
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-127872
Problem:
support some build command --upgrade
Solution:
support some build command --upgrade
Verify:
5.15
Change-Id: Ic5f90990d14b40bc1408c88d12f15b86622261c0
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-130061
Problem:
Need to support trusted key for FBE.
Solution:
Hook trusted key to fscrypt
Verify:
1. fscryptctl(add_key)
2. on SC2(ah212)
Change-Id: I3b13bcf8dbfebc9d03ff8e2bc16ad3349aa8696a
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
PD#SWPL-129754
Problem:
erase flash error during OTA upgrade.
Solution:
change the check way of badblock.
Verify:
s4
Change-Id: I82b64b03f584d449e30a435f8ec7e7aa0bab3be7
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
PD#SWPL-128836
Problem:
txhd2 resume eth0 down
Solution:
txhd2 use new pll
Verify:
be311
Change-Id: I76559d8f82c18f1c7b54f023c1c993698f853d4b
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>