Commit Graph

1075700 Commits

Author SHA1 Message Date
Shunzhou Jiang
c7ada76b2c mbox: mbox driver refactoring [2/2]
PD#SWPL-87115

Problem:
mbox driver refactoring

Solution:
mbox driver refactoring

Verify:
t7/t7c/t5m/sc2/s4/s4d/a1/c2/s5/t3x/t5w/g12b/sm1

Change-Id: Ic697e78b9bb83938318af63691fb2224ff6f3511
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
91ff73876a eth: txhd2 resume eth0 link down [1/2]
PD#SWPL-128836

Problem:
txhd2 resume eth0 down

Solution:
txhd2 use new pll

Verify:
be311

Change-Id: Iaf079569e3d25006aaa3dcd824658be383d35b9f
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
xiangyang.yan
14aafb259d ethernet: add cali_val item [1/1]
PD#SWPL-120093

Problem:
add cali_val item

Solution:
add cali_val item

Verify:
S928X-AX201-REF(V2+)#327

Change-Id: I253812eeaf114da113299fd5e8787d6951183c8a
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
90e1199937 eth: to match gki2.0 [1/1]
PD#SWPL-117003

Problem:
skip the new flow in common14

Solution:
common14 add new flow for ethernet,
which our phy not support yet.

Verify:
verify with T3

Change-Id: I297f6b83523d95410f3333c3e216d9dbadc644bb
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
ac9ba3d28d eth: complete wol other function [1/1]
PD#SWPL-114869

Problem:
wol may not work normally in some special case.

Solution:
complete 2 wol patch
1.come from https://scgit.amlogic.com/#/c/293893/
2.hold sometimes after resume

Verify:
QA_verify with oppen
PD#SWPL-114869

Change-Id: I7557b4946e8b3ac455f2c28e88a6c1563a0cb4ae
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
c4abb04923 eth: restart eth0 when resume [1/1]
PD#SWPL-114869

Problem:
phy not work atfer resume sometimes

Solution:
restart ethernet after resume

Verify:
QA_verify with oppen

Change-Id: I88bac8f0c24f0e2890b24a1508e05e74ed667b5c
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
yao zhang1
208adc6548 build: Fixed c3 mini defconfig built error [1/1]
PD#SWPL-106998

Problem:
c3 mini defconfig built error

Solution:
Fixed c3 mini defconfig built error

Verify:
C3 aw402

Change-Id: Idbbe53d8775f82bfff880ac3ce65b57574cf15da
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-01-17 15:07:01 +09:00
xiangyang.yan
2da0dfff25 eth: add shutdown function [1/1]
PD#SWPL-110094

Problem:
eth interface has not closed during shutdown

Solution:
add shutdown function

Verify:
T963D4-AY309#custom verify

Change-Id: I235bac19eb7771b9a92eaa143986bdf47d19bbcd
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
6a70e07856 ethernet: suspend warning. [1/1]
PD#SWPL-108295

Problem:
renew suspend flow to fix
warning message

Solution:
fix suspend/resume warning

Verify:
AR321-T965D4_X9-REF#049

Change-Id: I7fefcd105ba8040ee0f7a3d09fb14c32be7c6839
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
0c6d34df70 eth: c3 buildroot compile problem [1/2]
PD#SWPL-105841

Problem:
C3_5.15 buildroot use different config
not arm64 arm32

Solution:
add control for c3_5.15

Verify:
compile no error

Change-Id: Id9ba5a59e060aef522e6453075df6df7c3a31011
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
2dce31f2fe eth: mac wol function [1/2]
PD#SWPL-98490

Problem:
porting wol function

Solution:
porting wol function

Verify:
AR321-T965D4-REF#049

Change-Id: Iea34df3e69d2dc46488a7008eab3788ab5b58094
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
3c5744293d eth: gki bringup [1/2]
PD#SWPL-77313

Problem:
bringup eth

Solution:
bringup eth

Verify:
Verified on AP222_S905Y4#005

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I82947be4b46c14086effc804a1681ec9c1d99ecb
2025-01-17 15:07:01 +09:00
Zhuo Wang
df720f81c1 eth: c2 bringup [1/2]
PD#SWPL-71869

Problem:
bringup c2 with 5.15

Solution:
bringup c2 with 5.15

Verify:
AF400_C305X_DEV#111

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I76a70d194e6c2f40d24c56547f814e775b207839
2025-01-17 15:07:01 +09:00
qi duan
5ef820f0c7 eth: stmmac: stmmac driver move to common_driver for u [1/1]
PD#SWPL-152600

Problem:
stmmac driver move to common_driver

Solution:
stmmac drivr move to commmon_driver

Verify:
ah212

Change-Id: I868fa77b472f8de47fcd452831fb0872e41785b7
Signed-off-by: qi duan <qi.duan@amlogic.com>
2025-01-17 15:07:01 +09:00
wanwei.jiang
9512f6d7f0 freertos: add freertos support [1/1]
PD#SWPL-71741
PD#SWPL-128739

Problem:
1 add freertos support
2 rtos mipi irq miss frequently when booting kernel

Solution:
1 add freertos support
2 mark gic distributor disable

Verify:
C2 T7

Change-Id: Ib2b18fbcb026afa8df7654eac90355f080e9a74b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:07:01 +09:00
yao zhang1
d7bfa70f25 build: C3 do not check the start of physical memory. [1/1]
PD#SWPL-106998

Problem:
Boottime is too slow.

Solution:
Speed up boottime 50ms.

Verify:
C3 aw402

Change-Id: I48d8d319f933d89fa9c32c91db7139c51c47ce9d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-01-17 15:07:00 +09:00
yao zhang1
6eb627b29a Bootup: Use the async method to add sysfs params [2/2]
PD#SWPL-52793

Problem:
Add sysfs params too slow,Kernel bootup block 1 hour in pxp.

Solution:
Use async add sysfs params when kernel builtin.

Verify:
T7&P1

Change-Id: I92bed190846043dbfe1b61c1a0ba1aacc3560e97
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
(cherry picked from commit bf50d5c808214a7e7a34041ce76b8c9929482328)
2025-01-17 15:07:00 +09:00
song.han
5403315509 boottime: reduce boot time [1/1]
PD#SWPL-71744

Problem:
1.Jitter rng is doing 1024 rounds of tests and causing
long initialization time.

Solution:
1.change jent_mod_int to delaywork to reduce boot time.

Verify:
c2_af400

Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: I90e67854b213dd673077c72bb4830264d17f1f88
2025-01-17 15:07:00 +09:00
Jianxiong Pan
27c28eb41f mm: enable amlogic vmap stack for arm64. [1/1]
PD#SWPL-188077

Problem:
optimizate kernel stack.

Solution:
enable amlogic vmap stack.

Verify:
local.

Change-Id: I295e3164d240a22eadb4e5b1854edcad12c7833e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
shuide chen
3adaba5050 memory: reduce the default dm mempool value [1/1]
PD#SWPL-179931

Problem:
System performance is not good. we saw dm create too much mempool

Solution:
reduce the default pool size, we tested:
Before:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.36    yes:  9.90s     0.78s       9.13s     yes  pass: 100%
cuj-100MB       0.39    yes:  9.73s     0.95s       8.79s     yes  pass: 100%
cuj-200MB       0.48    yes: 11.06s     1.63s       9.43s     yes  pass:  80%
cuj-250MB       0.55    yes: 12.57s     3.07s       9.50s     yes  pass:  80%
cuj-275MB       0.47    yes: 15.60s     6.13s       9.47s     yes  pass:  60%
cuj-276MB       0.52    yes: 13.30s     3.69s       9.61s     yes  pass:  80%
cuj-278MB       0.93    yes: 16.03s     6.25s       9.79s     yes  fail:  14%
cuj-280MB       0.72    yes: 16.22s     6.58s       9.63s     yes  fail:  14%
cuj-287MB       0.71    yes: 19.69s     9.26s      10.43s     yes  fail:   0%
cuj-300MB       0.63    yes: 16.85s     7.14s       9.71s     yes  fail:  14%
-----------------------------------------------------------------------------

After:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.37    yes: 10.44s     0.73s       9.72s     yes  pass: 100%
cuj-100MB       0.36    yes: 10.12s     0.74s       9.38s     yes  pass: 100%
cuj-200MB       0.42    yes: 10.60s     1.29s       9.30s     yes  pass: 100%
cuj-250MB       0.47    yes: 12.99s     2.21s      10.78s     yes  pass: 100%
cuj-275MB       0.49    yes: 13.32s     3.37s       9.95s     yes  pass:  80%
cuj-287MB       0.53    yes: 13.10s     3.62s       9.48s     yes  pass:  60%
cuj-289MB       0.53    yes: 13.62s     3.97s       9.65s     yes  pass:  80%
cuj-291MB       0.52    yes: 14.48s     4.72s       9.77s     yes  pass:  50%
cuj-293MB       0.53    yes: 16.11s     5.98s      10.13s     yes  fail:  33%
cuj-300MB       0.54    yes: 16.18s     6.02s      10.16s     yes  fail:  14%
-----------------------------------------------------------------------------

Verify:
Locally

Change-Id: I84ffb4dbbada3db142dee02f5dc2fa952bd1f3b3
Signed-off-by: shuide chen <shuide.chen@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
3686620294 amfc: compress kernel by zstd [1/1]
PD#SWPL-181954

Change-Id: Iaec2a486f4dfb7788238775c4a92d2727b00d45b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
42267d17a4 arm64: support Image.zstd target [1/1]
PD#SWPL-163856

Problem:
not support Image.zstd build target

Solution:
add it

Change-Id: I95a4214fd19a3d6206f972ddc3f318de5b58cc4c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
b7d364ea0e crypto: add parameters to control zstd compress level [1/1]
PD#SWPL-57667

Problem:
ZSTD compress level is fixed

Solution:
add module parameters to control it. By default, set
compress level to 1

Verify:
t5d am311

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I4c80eb8cd591c8a2197c7781e8afe589f121ffd7
2025-01-17 15:07:00 +09:00
Jianxiong Pan
2b75b11030 mm: fix 32bit kasan can't boot on T5W [1/1]
PD#SWPL-80202

Problem:
If enabled 32bit kasan on T5W with VMAP, kernel can't boot.
This case can't happen on T5D.

Solution:
Rootcause is bss cleared but real data keeps in cache, not flushed
into DDR, and physical kasan shadow page soon be mapped to shadow
memory while in shadow virtual address we see random data, which
caused kasan check failed in vmap fixup function and crashed. So
just add a dcache flush function call after bss cleared.

Verify:
T5W

Change-Id: Id72d26046a2155ee8fea35c3bf8c7aa4fe52e7a4
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
Hao Shi
7d18a616b5 zapper: close videobuf2 in zapper [1/3]
PD#SWPL-147419

Problem:
Zapper optimization v4l2.

Solution:
close related VIDEOBUF2.

Verify:
BG201

Change-Id: I525eb07d67b8d2c740a2786138764309101f46fa
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2025-01-17 15:07:00 +09:00
Tao Zeng
89d4f9fe50 trace: add white list for trace event [1/1]
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: I290020fc93e6114650313328ec8757720bfc8b1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-17 15:07:00 +09:00
Hanjie Lin
090dc09a9f system_heap: optimize allocate orders [1/1]
PD#SWPL-139378

Problem:
MID_ORDER_GFP may cost a lot of CPU time in memor 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: I54799ad624fa2db3d63311209371654e35b2f5c3
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
aa797165b4 ARM: stacktrace: filter irq stacks. [1/1]
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: Ib99f366955a051cb439ee9f86dfe2c667288d2d0
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
19bad2f213 ARM: stacktrace: don't save non kernel and module calls [2/2]
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: Ie029f6082aa1be33924018ec655267b426054aae
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
qinglin.li
ff7f9cb5b5 dmc_monitor: arm need check memory map [1/1]
PD#SWPL-132402

Problem:
read no map memory failed when arm build

Solution:
check memory map when arm build

Verify:
local

Change-Id: Ie9a0359168e3ed620a8bb2a5b7a3ef3e85d983bc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
f1d84fcb1f mm: add memory optimization. [1/1]
PD#SWPL-128561

Problem:
add memory optimization.

Solution:
add memory optimization.

Verify:
local.

Change-Id: I28b07555f88ce0c395edd384d7664217f6ddc329
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
ef7821ce7c zapper: disable unnecessary configs of zapper. [1/2]
PD#SWPL-116862

Problem:
memory optimization.

Solution:
disable unnecessary configs.

Verify:
t215.

Change-Id: Ia2f39b1c9d55986522c763c2a40960ad3a6cc09f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
song.han
fea0de9e4e kasan: enable kasan on arm32 [1/2]
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: Ia909a2f3522f5d994a6b74f2e853f10d0a7ac6ca
Signed-off-by: song.han <song.han@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
f36dd9bc49 mm: port lowmemorykiller for 5.15+P. [1/2]
PD#SWPL-124928

Problem:
Android P no LMKD.

Solution:
add statistics for free file cma and more.

Verify:
local.

Change-Id: If31f74666d97b9e42627e7d7fff693b52e0fbc2e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:07:00 +09:00
qiankun.wang
e21b03cf8b config: Add CONFIG_AMLOGIC_LINUX_S_OPTIMIZE for kernel size optimize. [1/1]
PD#SWPL-114632

Problem:
Kernel size is too big

Solution:
Remove some CONFIGs

Verify:
c3 pass

Change-Id: I259aa858e541cd18400c94abea5b2bb447720fbf
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:07:00 +09:00
Jianxiong Pan
7818f06509 mm: reset the dma ops for pcie device. [1/1]
PD#SWPL-103303

Problem:
meet the pcie whitelist.

Solution:
reset the dma ops for pcie device.

Verify:
build pass.

Change-Id: I70d53aa94d827c0571555778248a17bd82d0b4d9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
07622f00e6 mm: pin locked file after fault. [1/2]
PD#SWPL-95400

Problem:
If we pin a file in android, the whole data of this file
will be loaded to DDR, but most of these data may not be
used, this caused memory waste.

Solution:
delay mark mlocked flags for unevictable pages until
it has been faulted.
You can use following command to disable this function:
echo 0 > /proc/sys/vm/shrink_unevictable

Verify:
sc2_ah212

Change-Id: I05bb7654cc228604fe692429efbe40af713ca5c3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
0f59e46198 mm: disable FAULT_FLAG_SPECULATIVE. [1/2]
PD#SWPL-94445

Problem:
play video system crash.

Solution:
disable FAULT_FLAG_SPECULATIVE.

Verify:
sc2_ah212.

Change-Id: Ib056ffe1f48e68ae8e7b848c23db8218710fbbb7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
473137409a mm: fix crash in auto-reboot after open vmap stack [1/1]
PD#SWPL-92714

Problem:
llmv can't guarantee frame pointer register is saved in leaf function
calls. But x29 is dedicated used by vmap stack function. This caused
stack mistake and system hung.

Solution:
Add -mno-omit-leaf-frame-pointer to force x29 used as dedicated frame
pointer

Verify:
t5d am301

Change-Id: I688d61894bdbaaf8f968d1b7689f533d3d62cb88
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
f8646e1431 mm: save wasted memory by slab [1/2]
PD#SWPL-73422

Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller do not free it.

Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB during
runtime.
mm: reset page order to slab size. [1/1]
gki: modify the slabtrace to meet gki request. [1/2]
mm: fix slab info stat error. [2/2]

Verify:
local.

Change-Id: If0b5aa61f123c657ddd6f49b42b0a60220a25910
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
53b256f1e3 mm: add user fault debug support. [1/2]
PD#SWPL-73676

Problem:
need user fault debug support.

Solution:
add user fault debug support.

Verify:
local.

Change-Id: I6f48a5ec1cb75b276a15f6791ec09f2a2ed5d159
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
710268fbca mm: add memory extend support. [2/2]
PD#SWPL-73189

problem:
add memory extend support.

Solution:
mm: reduce dcache and inode hash size. [1/1]
dma-buf: dma-buf system heap report warning. [1/1]
gki: delete vendor modifications to meet gki requirements. [1/1]
mm: add AMLOGIC_MEMORY_STAT config. [1/2]
mm: print more information for slabinfo. [1/1]
mm: add code to count free pages on migrate list [1/1]
mm: fixed tvp alloc failed. [1/1]
reserved_memory: change print of all reserved memory. [1/1]
dma-buf: dma-buf system heap report error [1/1]
mm: reduce cache line size to 64 bytes to save memory [1/1]
mm: forward memory reclaim process [2/2]

Verify:
local.

Change-Id: I5a67b958824bc85c75fba2c9a5e726ffe4555343
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-17 15:06:59 +09:00
Jianxiong Pan
9ea1da1c23 mm: add mem debug support. [2/2]
PD#SWPL-72254

Problem:
No mem debug.

Solution:
porting it from 5.4.

Verify:
local.

Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Change-Id: Ibdae855520510910e8f9a9dba9a469e0b46cc512
2025-01-17 15:06:59 +09:00
Tao Zeng
54f845e63c mm: porting CMA optimization from 5.4 [1/2]
PD#SWPL-70022
PD#SWPL-131211

Problem:
No cma optimization on 5.15

Solution:
1, kernel only allow zram/anon pages use cma, new solution all
   all movable pages can use cma;
2, add __GFP_NO_CMAto tell buddy system which cases can't use
   cma;
3, keep high reference/active file cache pages when cma allocating;
4, hook real cma allocate/release interface to aml_cma.c, which can
   use boost mode when allocate large amount of cma;
5, count cma isolated pages to avoid deadloop congestion wait in kswapd
   or compaction case;
6, keep cma-unsuitable pages not compacte to cma area;
7, fix SWPL-131211

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: Ib82b898a596eba62e1aa1cb13719eab41f03ae58
2025-01-17 15:06:59 +09:00
Tao Zeng
34a0f09b76 mm: add slab trace support [1/2]
PD#SWPL-70022

Problem:
No slab trace on 5.15

Solution:
Porting it from 5.4

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I8604e6d144ba212e33db9d2a842b128c791fc2bd
2025-01-17 15:06:59 +09:00
Tao Zeng
a1db7dca6c mm: add pagetrace support [1/2]
PD#SWPL-70022

Problem:
No pagetrace function on 5.15 kernel

Solution:
porting it from 5.4

Verify:
local

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I69cc8b4f4fa4c323204f86e5c76613cd3d6087df
2025-01-17 15:06:59 +09:00
Hanjie Lin
99e9f7177e arm: disable OPTPROBES and noinline handle_pte_fault [1/1]
PD#SWPL-121806

Problem:
arm OPTPROBES will cause kprobe handler unexpected behavior
memory atrace need kprobe at handle_pte_fault()

Solution:
disable HAVE_OPTPROBES and noinline handle_pte_fault

Verify:
sc2

Change-Id: I4efbec5aeeb7b6fe56f6fbd0d413bae123549c5a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
220a32f34b sched: vts: vts_kernel_proc_file_api_test [2/2]
PD#SWPL-124519

Problem:
vts_kernel_proc_file_api_test module 3 fail

Solution:
add 3 proc file interfaces 'sched_latency_ns',
'sched_wakeup_granularity_ns',
'sched_tunable_scaling'

Verify:
SC2

Change-Id: I514cea758d73825252a14cb7c39e1f233d075f2e
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
c8bfffefff debug: misc modifications [1/1]
PD#SWPL-114632

Problem:
gki optimize

Solution:
code optimize

Verify:
s4

Change-Id: I4561d2c235baacaf73fd82e5b850dda74148724e
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
c7d56b663b iotrace: support iotrace driver [1/1]
PD#SWPL-114632

Problem:
support iotrace driver

Solution:
support iotrace

Verify:
on s4d_ap222 and c2_af400

Change-Id: Id4dc4f64d886dc551f32d776ebaa2c9c2d5650b0
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00