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>
This reverts commit 3e82b7c7a5.
SWPL-139422: USB owner submits these patches themselves
Change-Id: I4631ff0477a9a2ac762d5ca674d8777368e45c71
Signed-off-by: Qinglin Li <qinglin.li@amlogic.com>
This reverts commit 25c8deceb5.
SWPL-139422: USB owner submits these patches themselves
Change-Id: Ic55f9fb8d4f345c767f4b66e952d7f6bd020adef
Signed-off-by: Qinglin Li <qinglin.li@amlogic.com>
This reverts commit ce650f90b8.
SWPL-138629: this function will be lost common code modify when
user not save commit to auto patch.So revert it.
Change-Id: Ia8164d8772bf986125c08aed18769b86d3211daf
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-138629
Problem:
reset commit to head before auto patch
Solution:
reset commit to head before auto patch
Verify:
local
Change-Id: I0b77bc9d4072c7af1de0249bb7e5e691d2912b6f
Signed-off-by: qinglin.li <qinglin.li@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>
PD#SWPL-126934
Problem:
because of gki2.0,the config "CONFIG_AMLOGIC_BGKI_DEBUG_IOTRACE"
should be deleted.
Solution:
"CONFIG_AMLOGIC_BGKI_DEBUG_IOTRACE" has been
modified by "CONFIG_AMLOGIC_DEBUG_IOTRACE"
Verify:
on s4d_ap222 and c2_af400
Change-Id: I733c57a11dfc69c692020974bc93b055798e6af5
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-128513
Problem:
enable kasan on arm32 will crash
Solution:
disable AMLOGIC_VMAP when kasan enabled
increase modules region form 16M to 32M
Verify:
TXHD2
Change-Id: Icdf82669750bec436756fbd6cd670eabedaf0096
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-121806
Problem:
ret handler running in origin task context with preempt_disable
it's not safe for interrupt and may cause nested kprobe and miss
Solution:
disable irq in ret handler
add AMLOGIC_BGKI_KPROBES
Verify:
sc2
Change-Id: I143e874336d87b143d1607b8e9a7588f84d7bc55
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-125798
Problem:
1. need to support regulator at txhd2;
also need support common14-5.15 for common patch;
Solution:
1. add regulator at txhd2 be301 311& be319 309.dts;
2. add vddcpu and vddee voltage table;
add auto_patch at 10_others;
Verify:
build ok
Change-Id: I647dd310fd871aba6bd8b327d0a4a5cc503e5412
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
PD#SWPL-126896
Problem:
kernel upgrade by June
Solution:
kernel upgrade by June
Verify:
local
Change-Id: I36e0e96a6d909dbfa77b2fd4d3d2309ffc4d993d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-124735
Problem:
the execution time of the lunch is too long for patching all kernel patches
Solution:
patching the necessary patches to avoid android compilation failure
Verify:
ohm
Change-Id: I917ec47716336cb4c896bce4aeed3229e069c3dc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-124928
Problem:
Android P no LMKD.
Solution:
port the lowmemorykiller from 4.9.
Verify:
local.
Change-Id: Iafb3e64932c358cefa2b4dacc83d197d5d7c244a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>