Commit Graph

163 Commits

Author SHA1 Message Date
shinys000114 26f3d9df87 ODROID-C5: gki: disable AMLOGIC_GKI_TOOL and fix compile error
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I1ef1bd80d9aefc4ae7387f9dedb7db91057c406b
2026-04-29 12:11:20 +09:00
biao.sun 3c9b4e18dd mm: reduce stack size of iotm. [1/1]
PD#SWPL-256959

Problem:
function stack size is large.

Solution:
use kmalloc instead of array

Verify:
local.

Change-Id: I58ee1997053a63f838f83c33f1812f35469aa8d2
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2026-03-03 01:21:38 -08:00
gerrit autosubmit 99e3454224 Merge "DEBUG: add arm alive check driver [5/5]" into amlogic-6.12-dev 2026-01-26 20:32:10 -08:00
bangzheng.liu dab347d8cc DEBUG: add arm alive check driver [5/5]
PD#SWPL-243334

Problem:
N/A

Solution:
add arm alive check driver

Verify:
on T6x

Change-Id: If8587ebceffe3aae30bb1cd4b98a1621c2975ca3
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2026-01-20 19:28:42 -08:00
Lei Zhang 42caebdb57 IOTM: optimize driver and fix error on V2 [3/3]
PD#SWPL-234364

Problem:
iotm not stop when reboot, cause other DMA matser error on next boot

Solution:
1 change back to DDR mode
2 stop iotm when panic
3 correct mid output for V2
4 optimize time accuracy for V2
5 add serror hook to dump register and trace, for the bus error
  reported by the module itself

Verify:
on T6x

Change-Id: I8ebb7d5c3dc18b6b3c77ce393e20eb4aa916cf6a
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2026-01-12 08:33:44 -08:00
biao.sun b63798e5e7 print: optimize print info [1/1]
PD#SWPL-241730

Problem:
too much print info

Solution:
remove unnecessary print info

Verify:
sc2

Change-Id: I1ecb473c3095a1be608336a9047e7beca31121d8
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2026-01-07 01:50:36 -08:00
biao.sun 5301c5b85a debug: ignore hardlockup check in s2idle mode [1/1]
PD#SWPL-248497

Problem:
hardlockup detected in sc2idle mode

Solution:
ignore hardlockup check in s2idle mode

Verify:
t6x

Change-Id: I436e7806444b58337f4875682cb3ec4769044684
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2026-01-06 17:32:33 -08:00
Yan Wang 6c7ee27779 irq_latch: Update the method for obtaining hwirq. [1/1]
PD#SWPL-240248

Problem:
update getting hwirq.

Solution:
update getting hwirq for GPIO irq.

Verify:
BL201

Change-Id: If16c92284b88b1f3de05ed41bdcbad8a5eed4e0f
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2026-01-06 05:44:18 -08:00
Lei Zhang aff1aaf0bc iotrace: dump stack when access special register [1/1]
PD#SWPL-245175

Problem:
N/A

Solution:
add feature to dump stack when access special register

Verify:
on T6x

Change-Id: Ia83efa28f20c4e634f1d610c99fa254457744ac9
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2025-12-25 04:23:27 -08:00
benlong.zhou 2d120bb920 kernel: read boot log same as kernel5.15 [1/1]
PD#SWPL-237927

Problem:
kernel can't get boot log

Solution:
kernel get boot log that they are blx's log
same as below CL
https://scgit.amlogic.com/#/c/527327/
https://scgit.amlogic.com/#/c/568160/
https://scgit.amlogic.com/#/c/580089/

Verify:
s7d_bm201

Change-Id: I786569565b2b5effde66d620e3b9b014ec6f8a2c
Signed-off-by: benlong.zhou <benlong.zhou@amlogic.com>
2025-12-03 21:58:50 -08:00
Jian Hu 118117c0f8 debug: fix compiling error for mk_zapper32.sh [1/1]
PD#SWPL-224781

Problem:
1./common/common_drivers/scripts/amlogic/mk_zapper32.sh
2.ftrace_ramoops.c:377:3: error: implicit declaration of
function ‘stack_trace_save’

Solution:
compiling it when CONFIG_STACKTRACE=y

Verify:
t6x

Change-Id: I8ce6ef4e81c5c6214e698e92c99457ff5fd55a36
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2025-11-26 23:49:42 -08:00
biao.sun e63fcef83f mm: txhd2 memory opt [1/1]
PD#SWPL-232127

Problem:
memory optimization.

Solution:
memory opt

Verify:
txhd2.

Change-Id: I59213f0fbaecb792a1073b7f9c9e1facf7328edd
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-10-12 23:20:09 -07:00
yao zhang1 88ea1e31f2 license: Fix amlogic drivers license. [1/1]
PD#SWPL-217731

Problem:
Fix amlogic license.

Solution:
Fix amlogic license.

Verify:
all chip

Change-Id: I36cc711e44a201ec944c6b0b54c0d21ab671b068
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-09-25 03:48:58 -07:00
qinglin.li f5416d7fb1 audio_utils: kasan mmap out-of-bounds [1/1]
PD#TV-176728

Problem:
kasan mmap out-of-bounds

Solution:
kasan mmap out-of-bounds

Verify:
local

Change-Id: I2a36d66b8384a80dd5e750224ac8d794cafe41ef
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-09-18 20:28:59 -07:00
Qiankun Wang ac5dfe15e4 IOTM: use readl instead of memcpy_fromio [1/1]
PD#SWPL-231235

Problem:
Reading the register through the function memcpy_fromio
will cause an external abort.

Solution:
Reading the register through the function readl.

Verify:
T6X

Change-Id: Ic3371e92d0bfdd83de8b7fae431609e4259cd005
Signed-off-by: Qiankun Wang <qiankun.wang@amlogic.com>
2025-09-17 23:30:55 -07:00
Jian Hu 3cdcb0139b Kconfig: t6d: fix the Kconfig dependency [1/1]
PD#SWPL-191471

Problem:
there is compiling error when kernel size optimize

Solution:
fix the Kconfig dependency

Verify:
t6d

Test:
Boot

Change-Id: Ic6c694e4beec32b674294d116ab1de85198830ab
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2025-09-17 18:46:45 -07:00
Qiankun Wang 557705706e debug: optimize usb/tty/DMC irqratio warning [1/1]
PD#SWPL-230786

Problem:
The detection mechanism of irqratio is too strict for
USB/tty/DMC.

Solution:
Add whitelist to filter USB/tty/DMC.

Verify:
T6D

Change-Id: I3dfaa0f71a1421381aac5486e9724776e0dd294d
Signed-off-by: Qiankun Wang <qiankun.wang@amlogic.com>
2025-09-16 22:40:28 -07:00
qinglin.li 524e70f877 audio_utils: read overflow write size [1/1]
PD#TV-176728

Problem:
read overflow write size

Solution:
ignore read overflow write size

Verify:
local

Change-Id: I23dd3328ccd82da942366e951d4482065799f83a
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-09-12 12:03:44 -07:00
qinglin.li a893071450 audio_utils: /dev/audio_utils read panic [1/1]
PD#TV-176728

Problem:
/dev/audio_utils read panic

Solution:
return if list is empty

Verify:
local

Change-Id: I0e92708fcb95fdba02ff6a9399c146ea3def215b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-09-12 12:03:38 -07:00
Hanjie Lin db3d2bc28d iotrace: fix iotrace record_print_buf crash issue [1/1]
PD#SWPL-190078

Problem:
after reboot latest iotrace record may not completely clean

Solution:
add more exception check

Verify:
t5m

Change-Id: Iae157d6a8d195024bfa6ce5f6cd5e9fbfd6e5363
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
(cherry picked from commit 388c4abdaa)
2025-08-26 23:12:02 -07:00
Qiankun Wang d1abb2d264 IOTM: sync kernel5.15 code again [1/1]
PD#SWPL-228466

Problem:
sync kernel5.15 code again.

Solution:
sync kernel5.15 code again.

Verify:
T6W

Change-Id: I3f6642539270665ddebdd7da45e880e03a69421d
Signed-off-by: Qiankun Wang <qiankun.wang@amlogic.com>
2025-08-25 19:56:10 -07:00
qinglin.li 5724876ed7 debugfs: add class debug replace debugfs [1/1]
PD#SWPL-227680

Problem:
add class debug replace debugfs

Solution:
limit aml_reg and aml_ddr, set cmdline 'debug_class=2'
/sys/class/debug/atrace_tag --> /sys/class/debug/atrace/atrace_tag
/sys/kernel/debug/aml_debug --> /sys/class/debug/aml_debug
/sys/kernel/debug/aml_reg --> /sys/class/debug/aml_reg
/sys/kernel/debug/aml_ddr --> /sys/class/debug/aml_ddr
/sys/kernel/debug/watchdog --> /sys/class/debug/watchdog

Verify:
Detail info

Change-Id: I90d6944729b699b7c4b0c3cceb56eff9956edd57
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-25 19:54:30 -07:00
Yan Wang a6e92ee2df IRQ Latch: add irq latch clear for GICv3. [1/1]
PD#SWPL-224482

Problem:
add irq latch clear for GICv3;

Solution:
add irq latch clear for GICv3;

Verify:
BL201

Change-Id: I917a025bf8bcbf05ef5b3740a16216ccc1b71954
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2025-08-14 18:27:50 -07:00
qiankun.wang e081e66c5c tty: add initargs to reduce useless count [2/2]
PD#SWPL-202314

Problem:
reduce useless check when count is too big

Solution:
reduce useless check when count is too big

Verify:
sc2

Change-Id: I933237758b6b4647bfcee74a1027e2ce4dc39fc4
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-08-14 06:38:44 -07:00
Hanjie Lin 00d98ee0a4 debug: add schedule info in task_struct [1/1]
PD#SWPL-224595

Problem:
GKI remove android_vendor_data function

Solution:
for GKI mode use stack save debug schedule info
for noGKI mode add schedule info in task_struct

Verify:
s6

Change-Id: I7a4415130f106b8f58b03730b33597ded21ecc9a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-07-29 07:09:25 -07:00
qiankun.wang c6c1a57139 IOTM: sync kernel5.15 code [1/1]
PD#SWPL-203987

Problem:
sync kernel5.15 code.

Solution:
IOTM: Fix coverity issue [1/1]
IOTM: enlarge iotm record size [1/1]
iotm: Fix coverity issue [1/1]
IOTM: stop iotm when irq has abnormal [1/1]
IOTM: data is out of bounds [1/1]
IOTM: enable iotm on t6w [1/2]

Verify:
T6D

Change-Id: I87712d26d9e6d2f062a08dd0e4bc3e8586b34a03
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-07-27 22:09:09 -07:00
qiankun.wang cce33b0dd4 debug: CF1 Optimization stack [1/1]
PD#SWPL-199175

Problem:
High-occupancy stack cleanup.

Solution:
Function stack size optimization.

Verify:
t6d

Change-Id: I87dcd26b8f14874a5c19a2a00c038fd188e6cc86
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
(cherry picked from commit 77f88ad65425f62280575ae207a576966c17eb78)
2025-07-15 05:11:55 -07:00
Jian Hu 439ae138ce vendor_hook: correct macro for CONFIG_ANDROID_VENDOR_HOOKS [1/1]
PD#SWPL-209777

Problem:
config ANDROID_VENDOR_HOOKS
bool "Android Vendor Hooks"
depends on TRACEPOINTS

Solution:
remove CONFIG_TRACEPOINTS for vendor hooks

Verify:
t6d

Change-Id: I756a2e6e592b50699cfe8ec84d420e080565dbe0
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2025-07-03 09:22:51 -07:00
lele xiang 802e492674 common: CF1 Add dedicated trace recording method. [1/1]
PD#SWPL-219578

Problem:
Provide a unified trace capture method.

Solution:
Add dedicated trace recording method.

Verify:
T6d/ohm

Change-Id: Iac70be86e65f1a91b93f6892eb64ee211f4fda21
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-06-24 05:17:13 -07:00
biao.sun 5c9aa79499 iotrace: Fix ramoops_io_en cmdline parsing issue [1/1]
PD#SWPL-216174

Problem:
ramoops_io_en cmdline will omissions
When iotrace and gki_module are both builtin

Solution:
return 0

Verify:
T3

Change-Id: Ibb3aa6fc76e38018e1298af6c477981e96151d2e
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-06-03 04:14:52 -07:00
Hanjie Lin 54ac1d96b7 tty: reduce useless count [1/1]
PD#SWPL-202314

Problem:
reduce useless check when count is too big

Solution:
reduce useless check when count is too big

Verify:
sc2

Change-Id: I41022ce294ee4e3efebd9594188891a1b69a72d5
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2025-05-21 22:30:10 -07:00
Wanwei Jiang 0ebbe91209 build: supports direct compilation using tools/bazel [1/4]
PD#SWPL-211590

Problem:
supports direct compilation using tools/bazel

Solution:
1. Default is the trunk's kernel, and can also be configured to
use the project kernel.
2. Default is the trunk's build.config.project, and can also be configured to
use the project's build.config.project.
3. Default is the trunk's Kconfig.ext_modules, and can also be configured to
use the project's Kconfig.ext_modules.
4. Default is the trunk's project.bzl, and can also be configured to
use the project's project.bzl. For other drivers' BUILD.bazel,
currently the corresponding GKI_CONFIG is automatically selected
based on the project. Other members are not distinguished at present.
5. Package all variables in project.bzl into a struct called project_configs,
which facilitates accessing the corresponding variables on a per-project basis.
6. Remove the DDK dependency check mechanism. However,
since it is protected by the configuration of the config, the impact is
not significant.
7. Change kernel_build to kernel_select in ddk_module.
8. support build command:
tools/bazel run --config=adt4 //project/sei/adt4:adt4_dist
./mk.sh --package adt4
9. Optimize the Bazel configure settings.
10. Optimize the copying of ko sources.
11. Optimize the copying of ko sources with debugging symbols.
12. Optimize the paths of some temporary files, so that the files are located
in the out directory instead of the /tmp directory.

Verify:
local

Test:
PB

Change-Id: I38f631215a41156910ae378c34c92de5a255309f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-05-12 18:25:48 -07:00
Lei Zhang 62dc410477 preempt_rt: bringup preempt rt kernel [2/9]
PD#SWPL-201692

Problem:
build break with preempt rt enabled

Solution:
1, init spinlock with spin_lock_init()
2, compile with -Wno-unused-variable
3, fix vendor hook head file missing

Verify:
on A5

Change-Id: Ia5b8e605428168df54272aa5867aed9fc8fb563b
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2025-04-23 01:15:35 -07:00
Lei Zhang 0f8a850c60 preempt_rt: bringup preempt rt kernel [8/9]
PD#SWPL-201692

Problem:
soft mode hrtimer be processed in ksoftirqd, cannot tick watchdog in time

Solution:
change mode from soft to hard that hrtimer be processed in irq context

Verify:
on A5

Change-Id: I5f2ff7d36dead1f141dee6df688775c1559bea00
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2025-04-23 01:14:39 -07:00
qinglin.li 9294f0bbf9 scripts: use kernel build ddk_module_headers [1/1]
PD#SWPL-208157

Problem:
use kernel build ddk_module_headers

Solution:
use kernel build ddk_module_headers

Verify:
local

Test:
local

Change-Id: I68cb33366c826fcd58fdb0a040229011ea669064
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-15 04:35:40 -07:00
qinglin.li b5e626ec63 scripts: remove autopatch when ddk build [1/1]
PD#SWPL-208157

Problem:
remove autopatch when ddk build

Solution:
remove autopatch when ddk build

Verify:
local

Change-Id: Id25d195dd5edbc2fa55e777a765b42036a068072
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-15 04:35:07 -07:00
biao.sun 9460c30e50 smc: can't patch to kernel for google [1/1]
PD#SWPL-208253

Problem:
can't patch to kernel for google

Solution:
modify in common_drivers

Verify:
SC2

Test:
boot and play video

Change-Id: If7adf4b52c10ec259f6ce4549f31b215895c828e
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-04-09 21:18:46 -07:00
Dezhen Wang 054039b58e scripts: add Kconfig and Makefile to common kernel source [1/1]
PD#SWPL-206164

Problem:
ddk_module cannot find Kconfig and Makefile in sub package

Solution:
add Kconfig and Makefile srcs to common kernel srcs

Verify:
local

Test:
local

Change-Id: I3e71b7e1ddea15e9d32efc0e6cb7e8e81b95b793
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-03-26 02:30:24 -08:00
qiankun.wang e327da4c18 IOTM: kernel6.12: all patches up to 2025-02-11 [1/1]
PD#SWPL-205945

Problem:
T6D kernel6.12 bringup on IOTM.

Solution:
https://scgit.amlogic.com/#/q/topic:SWPL-170602_kernel
https://scgit.amlogic.com/#/c/473118/
https://scgit.amlogic.com/490156
https://scgit.amlogic.com/#/q/topic:IOTM

Verify:
t6d

Change-Id: Ibf939699b89719e56b166ea442da84777e1055f6
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-03-19 22:00:31 -08:00
Wanwei Jiang 22a093e819 ddk: optimize ddk build [1/1]
PD#SWPL-195997

Problem:
optimize ddk build

Solution:
optimize ddk build

Verify:
sc2

Test:
PB

Change-Id: I662f1e2a33ae0e5bdae97a70deb624964c5e1c5a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-03-03 22:25:19 -08:00
Wanwei Jiang cadab66c37 build: support ddk [1/1]
PD#SWPL-195997

Problem:
the drivers in the common_drivers directory can be built using DDK
with gki_20 mode, it is also compatible with the original build.

Solution:
add BUILD.bazel and modify build script

Verify:
sc2

Test:
PB

Change-Id: Ie138e63f4eec8715d976d421dc8a431bcfadd859
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-02-25 07:17:36 -08:00
biao.sun c5076ee716 meson_atrace: add memory alloc and meminfo event [1/1]
PD#SWPL-196409

Problem:
add memory related trace info

Solution:
1, __alloc_page and __alloc_pages_slowpath: use trace event and vendor hook
2, cma_alloc: use vendor hook in aml_cma.ko
3, handle_pte_fault: use kretprobe
4, trace meminfo period

Verify:
sc2_ah212

Change-Id: I70212798beb3660836201e6ad5f3ebf7e27b66b8
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-01-10 02:56:38 -08:00
Jian Hu 68bc14b23e drivers: correct __setup return value. [1/1]
PD#SWPL-185687

Problem:
there is panic when envp_init stores over 32 members
Kernel panic - not syncing: Too many boot env vars at `reboot_mode=normal'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.180-rksec-1.0 #2
Hardware name: Generic DT based system
[<b020a1b8>] show_stack+0x10/0x14
[<b0cbd7b4>] dump_stack+0x8c/0xa8
[<b0cad7a4>] panic+0x104/0x304
[<b1100b84>] start_kernel+0xa4/0x42c
[<b11004a4>] _sinittext+0x44/0x48

Solution:
set __setup return value as 1 to avoid envp_init full

Verify:
t5w

Test:
t5w

Change-Id: Ie0f5ada11318ab509bf7bd914e2af53213250f00
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-01-07 01:47:53 -08:00
Dezhen Wang 9e4283999e debug: sync debug/audio_utils.c patch from 5.15 [1/1]
PD#SWPL-196412

Problem:
sync common_drivers/drivers/debug/audio_utils.c patches
from amlogic-5.15-dev to amlogic-6.12-dev branch

Solution:
sync patch

Verify:
Local

Change-Id: I802292b9bc2106e7779752d52235e8cacd4f7779
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-12-19 20:57:30 -08:00
qiankun.wang 227287e31c debug: module_params clean. [1/1]
PD#SWPL-195506

Problem:
too many module_params extend boot time.

Solution:
Use key-val to obtain module_params information.

Verify:
sc2

Change-Id: Id04543738a7a6d179b815910a75482cca9b011d7
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-12-16 00:32:23 -08:00
qinglin.li 8837565c66 printk: not support show irq status when printk [1/1]
PD#SWPL-193384

Problem:
not support show irq status when printk

Solution:
display use '-' instead

Verify:
local

Change-Id: I36454bdc6cd2e39ad7057fe3127721407a65cf15
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-11-26 23:59:27 -08:00
Jiucheng Xu f460340bf7 f2fs: revert f2fs preserve direct write semantics [1/1]
PD#SWPL-165832

Problem:
The patch clean file cache and impact direct IO performance

Solution:
revert to improve direct IO performance.

Verify:
T7

Change-Id: I349d40ac2af425bbd969256c27fda6e810f9085d
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2024-11-25 05:59:05 -08:00
qinglin.li 4cf4190da3 kernel6.12: upgrade kernel [1/1]
PD#SWPL-190713

Problem:
upgrade kernel

Solution:
AML_KERNEL_VERSION      4
UPSTREAM_VERSION        "773209423d7b"
AML_PATCH_VERSION       "773209423d7b"
MERGE_DATE              "2024-11-14"

Verify:
local

Change-Id: I78801d5b69c7ddcb6e6f4d5718b9f1f2d44b3ef5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-11-13 19:24:25 -08:00
Hanjie Lin ce6122cee7 sched: optimize sched flag and correct cpu selecting for non-bind tasks [1/1]
PD#SWPL-185970

Problem:
1, need modify sched_domain flags for GKI20
2, 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.

sync form 5.15
318edc835 isolcpus: don't select isolate cpu for non-bind tasks. [1/1]
db7f29820 sched_domain: enable BALANCE_WAKE and disable WAKE_AFFINE [1/1]

Verify:
sc2

Change-Id: I5a9610ad210b58a4cf427956296a062d95458eaa
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-11-13 00:42:18 -08:00
song.han 9114c81635 lockup: fix fiq dump crash [1/1]
PD#SWPL-185970

Problem:
arm64 aml_flush_cache_all will corrupt some regs

Solution:
save and restore corrupted registers in flush cache

Verify:
S7D

Change-Id: I7535974fd10a1fe822e34b6af3b582c47354ccad
Signed-off-by: song.han <song.han@amlogic.com>
2024-11-12 23:59:33 -08:00