PD#SWPL-163170
Problem:
place_entity optimize only take effect in arm64
Solution:
support arm32 too
Verify:
sc2
Change-Id: Ieff1908e72fdb2282866ea1309f480d068772482
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-151292
Problem:
Some tasks have been running in apu before isolating cpu.
Solution:
when tasks were scheduled,if tasks shouldn't be run
on the apu, they will be migrated to other cpus.
Verify:
T5M
Change-Id: I97a91f1a40425a3ab26801de9a6bcb4b19c33019
Signed-off-by: Hanjie Lin <hanjie.lin@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-146197
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: I0a99d459a260e3aefa3565f03106ed4ea04741ee
Signed-off-by: Hanjie Lin <hanjie.lin@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-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-140356
Problem:
debug printk not enabled for gki2.0
Solution:
config AMLOGIC_DEBUG_PRINTK to m for gki2.0
Verify:
ohm
Change-Id: Ife312f1fc5237fd810d192919bf1558fd9255fec
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-147985
Problem:
little-high-prio interactive task schedule latency maybe very big
when task group schedule enable
Solution:
increase sched_task_high_prio to optimize schedule latency
Verify:
sc2
Change-Id: I9c0448e48c391432fc7d31805970fcbaceb6bb80
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
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>
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-118595
Problem:
'./mk.sh --arch arm --upgrade', an error
occurred during compilation.
Solution:
add a header file and change the function
name.
Verify:
SC2
Change-Id: I660a1d196f4216f0fa48b8ce7c59f2874d7e1a92
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-119162
Problem:
APU should not be seen except audio
Solution:
add APU support
Verify:
t5m
Change-Id: I0c4267b362f3d0bf398484b2318c88bdf0b00588
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-118595
Problem:
FIQ dump debugging when hard lockup
TV-60426
Solution:
Support FIQ dump debugging when hard lockup
Verify:
SC2
Change-Id: Ie68d4411e0f714cc04c657d9c5d625c4797cb7a2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-119464
Problem:
when iotrace driver build to ko, it has some register r/w
operation not be hooked
Solution:
hook regmap r/w operation when iotrace build to ko
Verify:
SC2_AH212
Change-Id: I763b90fd91e76e5d4138db8ad1d2268c5b33e873
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-116862
Problem:
media module memory optimization.
Solution:
disable the unused code for zapper.
reduce vmalloc used size from 17324k to 12556k.
Verify:
t215.
Test:
play video normally.
Change-Id: Iaa4c95c6641d76f80a11493c5c84f624cdac6424
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-121006
Problem:
The use of interface that actively triggers
HardLockup is too complex.
Solution:
The interface is 'sysrq-trigger', and in
/sys/kernel/debug/aml_debug/,you can echo
x to this parameter to panic.
Verify:
SC2
Change-Id: Ia49b08dbd9e2fe458d463e79e19cfc438b75b26f
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>