Commit Graph

1075687 Commits

Author SHA1 Message Date
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
qiankun.wang
ed6c0c92dd debug_lockup:add lockup support [1/1]
PD#SWPL-114632

Problem:
add lockup support

Solution:
add lockup support

Verify:
s4

Change-Id: I05a407250655338b7bd128ca918275331c040e52
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
03074c9003 printk: use vendor_hook print cpu and irq info [1/1]
PD#SWPL-114632

Problem:
use vendor_hook print cpu and irq info

Solution:
use vendor_hook print cpu and irq info

Verify:
sc2

Change-Id: I337e61de17494367063f0a14d59ce4cde6d07679
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
qiankun.wang
8b88bf9a31 unwind: fix too mush unwind warning on arm32 [1/1]
PD#SWPL-114632

Problem:
too much unwind warning when pt_regs pc register is invalid

Solution:
use pt_regs lr register to unwind, replace pc register

Verify:
C3

Change-Id: I53bc7739e2909818c04d6e50b2172a06984bd883
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:59 +09:00
Yan Wang
76880201e8 dotprod: aarch32 run dotprod code and generate undefined error. [1/1]
PD#SWPL-195843

Problem:
cts fail when aarch32 run dotprod code;
Generate undefined error.

Solution:
add dotprod instructions support in aarch32.

Verify:
sc2 ah212

Change-Id: I0b527b670af8bdcbfe55fca7a8755b3acc1d44a8
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
dongqing.li
3dfa498525 ramdump: set TEXT_OFFSET=0x02008000 for ker5.15-u32 [1/1]
PD#SWPL-182182

Problem:
The .text addr of Kernel 32bit is 0. When enabling the
ramdump, it needs to be offset to 24MB+.

Solution:
1. modify textofs-y := 0x02008000, LOADADDR=0x02008000
2. enable for .ko link error: CONFIG_ARM_MODULE_PLTS
3. disable AUTO_ZRELADDR (less than 128MB, not necessary)
4. enable for gdb debug: CONFIG_AMLOGIC_RAMDUMP, CONFIG_KALLSYMS,
CONFIG_KALLSYMS_ALL, CONFIG_DEBUG_INFO, CONFIG_FRAME_POINTER,
CONFIG_DEBUG_KERNEL
5. add trace_android_vh_ipi_stop() for ker 32bit IPI_STOP.

Verify:
sc2, T5D, T5W, TXHD2, S4D

Change-Id: I771e8d82c0ec4c51f85a3b71aba6cc3540fac98c
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-01-17 15:06:58 +09:00
qinglin.li
cea3bb76e7 arm: set TEXT_OFF default with 0x208000 [1/1]
PD#SWPL-144091

Problem:
swapper_pg_dir is the virtual address of the initial page table.
It will use this value as the starting address for the reserved memory.
the value depend on TEXT_OFF in arm, and default is 0x8000.
In 5.4, CONFIG_ARCH_MESON be set, it be set 0x208000, but
in 5.15, CONFIG_ARCH_MESON not set, so the start addr conflict with dmc.

Solution:
set TEXT_OFF default with 0x208000

Verify:
planck

Change-Id: Iea66ca0edcd360f9f54e8df3574553170403d571
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-17 15:06:58 +09:00
Jianxin Pan
d636108e25 vfp: disable access to FPINST/FPINST2 for aarch32 [1/1]
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: I930193d2a28b80c875d250b7dbc0287c47d84c84
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
(cherry picked from commit f430dfd5d417fa5ccf739502bb3be89d48232a24)
2025-01-17 15:06:58 +09:00
qiankun.wang
0460eae431 cpu: fix core0 cannot be offline in 32BIT kernel [1/1]
PD#SWPL-114632

Problem:
fix core0 cannot be offline in 32BIT kernel

Solution:
fix core0 cannot be offline in 32BIT kernel

Verify:
on s4_aq222

Change-Id: I0c1bf91e013f133851494622bd59da33ac038a51
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
Lei Zhang
512585a440 riscv: dump register and pfn [2/3]
PD#SWPL-94239

Problem:
dump register and pfn

Solution:
dump register and pfn

Verify:
on PXP

Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I9acbabb63e4647b8619c29f822d54ade9abcb1ba
2025-01-17 15:06:58 +09:00
Dezhen Wang
fd04310eaf scripts: 5.15 accommodate common drivers dir moved out from 6.6 [1/1]
PD#SWPL-178341

Problem:
5.15 accommodate common drivers dir moved out from 6.6
make config setting for extra drivers

Solution:
add config setting

Verify:
local

Change-Id: I64e3bfa9100d642e10472f4159c2a0556efad9af
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
db29afc2d5 Merge branch 'android14-5.15' into amlogic-5.15-dev [1/1]
PD#SWPL-87897

Problem:
record merge upstream information

Solution:
AML_KERNEL_VERSION      12
UPSTREAM_VERSION        "2447b4c0a5ca8"
AML_PATCH_VERSION       "2447b4c0a5ca8"
MERGE_DATE              "2024-08-02"

Verify:
sc2

Change-Id: I69f8a7d5d122dec79a63283b9def5eea59a50559
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
d7f442ce10 bazel: support use bazel tool to build [1/1]
PD#SWPL-112151

Problem:
support use bazel tool to build

Solution:
support use bazel tool to build

Verify:
sc2

Change-Id: I96e80b97ed481f32239955748ffa52e7d40a85aa
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00
Wanwei Jiang
3bdc802dbf init: initialize the building framework of androidu-5.15 for amlogic [1/1]
PD#SWPL-109858

Problem:
Initialize the building framework of androidu-5.15 for amlogic

Solution:
Initialize the building framework of androidu-5.15 for amlogic

Verify:
sc2

Change-Id: Icfbc29709af1545b802ed7794808a2ab560ed08a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-01-17 15:06:58 +09:00