PD#SWPL-185970
Problem:
check mte enable/disable,
if mte disable, update flag to notify AO CPU.
Solution:
if mte disable, update flag to notify AO CPU.
Verify:
BL201
Change-Id: I8b15c80da1dcd5fee1d0682bd5e3a3a6fee1e201
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
PD#SWPL-185970
Problem:
kprobe some instruction will fail, eg: nop in arm64
different config or compiler may cause register_kprobe fail
Solution:
retry with next instruction
Verify:
t5m
Change-Id: I2311ed64e06d901a0410148eeb2f1d94c554be11
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-190589
Problem:
current CFS optimization is incompatible with EEVDF
Solution:
temporarily disable the feature
Verify:
on SC2
Change-Id: Ifc632b69a19738e7024687b7936305fa914117b0
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-109963
Problem:
All module_param nodes are deleted in kernel_6.6.
Solution:
Commit the nodes that need to be used.
Verify:
SC2
Change-Id: I3a43fd622e983cf6429e8d94edb6b020c0618f08
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-154489
Problem:
kernel panic
Solution:
modify the type of the kunmap function parameter to struct *page
Verify:
soddy
Change-Id: If7e6aebfc5f423061af4af65a3b25ca802dcc4ea
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-151245
Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.
Solution:
revert compatibility code for kernel 6.6.
Verify:
local
Test:
local
Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-151470
Problem:
many of module parameters are no longer in use, but have not been deleted,
which affects memory and performance. all module parameters are now
disabled and can only be used after the application is approved.
Solution:
disabled all module parameters
Verify:
a4 a5
Test:
none
Change-Id: I27ee98a0437542d7b8a3da437c1525e0afded6b1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-150084
Problem:
the vendor hooks "module_base_hook" was deleted
in kernel6.6.
Solution:
update module curr core_layout base by function
"blocking_notifier_call_chain".
Verify:
sc2_ah212
Change-Id: I058678a8ef29ade90da3f6d59d89578cc7fd7952
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-150130
Problem:
"enum hk_flags" does not exist "linux/sched/isolation.h"
in kernel6.6.
Solution:
use "int" to replace it.
Verify:
sc2_ah212
Change-Id: I5def0e6618b2dc0492ba13e0f6fe1242a3093113
Signed-off-by: qiankun.wang <qiankun.wang@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-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-142738
Problem:
kernel compile warn when use gcc 11.4
Solution:
fix the warn error
auto check issue: midagc= min agc, minagc = min agc
Verify:
local
Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
Change-Id: I3f2ffaac88ef3ad2c92525398fe273776740bc5a
PD#SWPL-115695
Problem:
softirq be processed in ksoftirqd
Solution:
not check if CPU has a RT task
Verify:
on T3
Change-Id: Id64d6b284f66a1c079d06acde06503b544360965
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-136207
Problem:
use kprobe to forbid free module init text
Solution:
record module base and use offset to parse
this module symbol
Verify:
SC2_AH212
Change-Id: I43bd306e94e9a6a5afe6411a9cd9e93db0342b7a
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-136432
Problem:
Native code will perform the 'BUG_ON' process,
and the log isn't favorable for debug.
Solution:
add the vendor hook function to perform the
'show_regs' and 'panic'.
Verify:
T3
Change-Id: I7a0f2c10b5db8ed10207d1fcbc7cc214054c7ae3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-139674
Problem:
the system can't run 'ioremap' without
the Buddy system.
Solution:
set the variable 'check_reg_flag' to
postpone the function call 'ioremap'.
Verify:
T5M
Change-Id: Ieee33ff37a54037e3a3d1c258b127e1cbcd83b5a
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-137107
Problem:
The data in the ramdump crash file is abnormal
because the cache data has not been flushed back.
Solution:
1. Use ipi_stop hook to flush online cpu cache.
2. Use panic_notifier to flush panic cpu cache.
Verify:
sc2_ah212
Change-Id: Ifad5bd4203fdde327b8c2b19357aa2d92586063f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-119598
Problem:
system is too slow because the cpu5 is turned off
at system startup.
Solution:
turn on the cpu5 at system startup.
Verify:
SC2
Change-Id: I738fccb70c96d6495b314fa51cf319d5800c75a0
Signed-off-by: Hanjie Lin <hanjie.lin@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-133116
Problem:
noret smc no need to disable preempt
Solution:
do not disable preempt with noret smc
Verify:
s1a_bg209
Change-Id: I0e6faa45b19a4269fe24dc003cce34f816fc9083
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-129901
Problem:
IO-R-E can't read the register's data.
Solution:
when the "read" action is over, the hook function
will get the value from the action.
Verify:
SC2
Change-Id: I12426209bf92e5c242022041e01ed6a7711808dc
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-128460
Problem:
system shutdown reboot or cold boot,parse ftrace old buf
will cause kernel crash
Solution:
skip parse ftrace old buf when shutdown reboot or cold
boot
Verify:
SC2
Change-Id: Ib2580c0206b97461389369d587f2266a8b3836f2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-127124
Problem:
system will record the register twice rather
than the register and the value.
Solution:
record the value
Verify:
SC2
Change-Id: I5de33f780475b2ac3ebeac8c2dfea779900875ce
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>