Commit Graph

124 Commits

Author SHA1 Message Date
yao zhang1 7ccedacd01 license: Fix amlogic license. [1/1]
PD#SWPL-217731

Problem:
Fix amlogic license.

Solution:
Fix amlogic license.

Verify:
all chip

Test:
license check pass

Change-Id: I05c47245ff58bf92abccaa7ca08a85524d73f924
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-06-23 21:15:59 -07:00
Wanwei Jiang 7634db5521 bandwidth: support to debug wbuf_mid_level [1/1]
PD#SWPL-217338

Problem:
support to debug wbuf_mid_level

Solution:
support to debug wbuf_mid_level

Verify:
local

Change-Id: I8ddeb05776982ba6f94d9bf092965e1aff47018b
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-06-23 17:51:26 -07:00
qinglin.li a84a4d585b Converty: fix Converty error [1/1]
PD#SWPL-217794

Problem:
fix Converty error

Solution:
fix Converty error

Verify:
local

Change-Id: I57b83c4fc37db5f95c776b34b4f3cd8edd884ac9
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-06-19 19:56:10 -07:00
qinglin.li 047d8f91af dmc_monitor: default mode exclude NNA [1/1]
PD#SWPL-217581

Problem:
default mode exclude NNA

Solution:
default mode exclude NNA

Verify:
local

Change-Id: I9fc56110e672fbb8916fa12d024f189f3e796926
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-06-13 01:21:51 -07:00
dongqing.li 89d3368483 radump: kernel save dump file to android data [1/1]
PD#SWPL-209926

Problem:
ramdump can not save to android data.

Solution:
1. add dts node ramdump_data for kernel 32bit.
2. add debug log for ramdump_bin_read.

Verify:
S7D/T6D

Change-Id: Ib2e113fa0c34afa7059da026ea842ebb344c2573
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-05-17 15:11:03 -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
qinglin.li 42787d5085 ddr_tool: fix ddr_tool error [1/1]
PD#SWPL-210775

Problem:
filter is null when none before set default
MTE default mode not set
fix bandwidth mode set

Solution:
filter default be set when all mode
MTE default mode not set
fix bandwidth mode set

Verify:
local

Change-Id: Ic993420aa57c727ee10b7ac4b3eb5165ca26b31b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-23 19:39:45 -07:00
Lei Zhang ae8f7a4020 preempt_rt: bringup preempt rt kernel [7/9]
PD#SWPL-201692

Problem:
spinlock is sleeping lock, cause BUG_ON in atomic context

Solution:
change spinlock to raw_spinlock

Verify:
on A5

Change-Id: Iea05aa36c58143d0efe880631d8906d9125fe55e
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2025-04-23 01:14:29 -07:00
qinglin.li db6071cf2a ddr_tool: add dmc secure violation irq handle [2/2]
PD#SWPL-204747

Problem:
limit print number
only handle irq dmc if multiple dmc

Solution:
limit print number
only handle irq dmc if multiple dmc
update dmc version 1.10.1

Verify:
local

Change-Id: I3a7fdc3418978cc35ad568d7cbfc3df7ddfe1645
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-17 01:12:06 -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
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
qinglin.li c7c5aff9b7 ddr_tool: add dmc secure violation irq handle [1/1]
PD#SWPL-204747

Problem:
add dmc secure violation irq handle

Solution:
add dmc secure violation irq handle
update dmc version to 1.10

Verify:
local

Change-Id: Ia7062ff3d5e5d950ca8c7d2517aba804e46ddf57
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-03-28 00:14:13 -08: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
qinglin.li 6efa5b9725 ddr_bandwidth: freq node value does not match actual [1/1]
PD#SWPL-206552

Problem:
freq node value does not match actual

Solution:
register has only the lower 16 bits used ddr freq

Verify:
local

Change-Id: I74e8f59def96916abd44cd39eaa28b615e3d8fdd
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-03-19 14:32:39 -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
Jianxiong Pan 80b1b7a9f0 dmc: filter pages of isolate migrate type. [1/1]
PD#SWPL-197897

Problem:
The cma allocated by the driver is considered normal access.

Solution:
filter pages of isolate migrate type.

Verify:
local.

Change-Id: I9261f5b2de41b5b9896e4628b0c1e06890f4679f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-19 18:14:28 -08:00
dongqing.li bb84725f88 ramdump: memcpy 0-24MB on panic for ker-32bit [2/2]
PD#SWPL-192100

Problem:
The 32-bit kernel cannot use the ramdump function.
Because the .text section is typically at 0x00108000,
which will be overwritten by the BL2E/BL33 after
reboot. And the PC side is unable to parse it.

Solution:
1. After kernel panic, use DMA to copy the 0-24MB
region to the 0x09000000 area.
2. Reboot to bl33z, fill compress_section[1] with
the 0x09000000 region.
3. Analyze it using the same method as before.

Verify:
sc2

Change-Id: I3e22beb06321289c6643d3f05ec2d910d5ce0beb
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-01-16 00:17:41 -08:00
qinglin.li 8029b8c182 dmc_monitor: fix default mode debug is zero when not reserved [1/1]
PD#SWPL-197897

Problem:
default mode debug is zero when not reserved

Solution:
get original early

Verify:
local

Change-Id: I954d4afea75cfed0bf63c34ea451a2c833fd6745
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-09 03:05:29 -08:00
dongqing.li 7ad47f227a ramdump: add a global string aml_ramdump [1/1]
PD#SWPL-195943

Problem:
When analyzing a crash, parameters such as --kaslr
and --kimage_voffset are required, but obtaining
these parameters is challenging.

Solution:
1.Add global string that contains parameter infor
such as kaslr, kimage_voffset, and others.
2.Get parameter: strings DUMP | grep aml_ramdump

Verify:
sc2_ah212

Change-Id: I5847dab4f4f2b09b9fb922ca2f456fee1e59147c
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-01-08 17:39:14 -08:00
qinglin.li fd58510d1a dmc_monitor: sample set dmc with bootargs [1/1]
PD#SWPL-197897

Problem:
dmc default config cmd set is too long
dmc read protect mem crash

Solution:
1.add default mode set by bootargs
2.auto set range when set default mode
example cmd as
uboot
setenv initargs $initargs dmc_monitor=default;saveenv;reset
kernel
echo default > /sys/class/dmc_monitor/device
3.use !<DEVICE> to delete device
example cmd as
echo !USB > /sys/class/dmc_monitor/device
4.dmc_filter default set
use !<DEVICE/FUNCTION> to delete device or function
example cmd as
uboot
setenv initargs $initargs dmc_filter=!USB,!alloc_from_cma;saveenv;reset
kernel
echo !USB > /sys/class/dmc_monitor/filter
echo !alloc_from_cma > /sys/class/dmc_monitor/filter
5.default not read violation value
if want to read, echo value 1 > /sys/class/dmc_monitor/debug

Verify:
local

Change-Id: I243fbc0fb289f534b78a473ef15d8927d747d689
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-01-08 17:32:51 -08:00
qinglin.li c1b59c443a dmc_monitor: filter tvp alloc_from_cma function [1/1]
PD#SWPL-196060

Problem:
tvp use alloc_from_cma alloc protect memory
when dmc access this range, will be creat serror

Solution:
dmc filter tvp alloc_from_cma memory by pagetrace

Verify:
local

Change-Id: I8aff1a76e8f774ae7cc665f62756ef3a510ddd29
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-12-22 17:45:18 -08:00
dongqing.li 732dca472e ramdump: optimise print [1/1]
PD#SWPL-194715

Problem:
optimise print

Solution:
remove some ramdump print info

Verify:
sc2

Change-Id: Ic16cf2c5508724cdf4b22b573389f35f695dde4a
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-12-01 17:48:20 -08:00
qinglin.li 8bb75ecd0d dmc_monitor: filter media use scatter memory [1/1]
PD#SWPL-194719

Problem:
filter media use scatter memory

Solution:
media use alloc_page_boost_work_func alloc scatter memory
filter function alloc_page_boost_work_func

Verify:
local

Change-Id: Iafdbe4fc76b94cd857d232586d0f4b8c00bec2de
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-11-29 16:43:29 +08:00
qinglin.li 0c47a20216 dmc_monitor: optimise print [1/1]
PD#SWPL-194719

Problem:
optimise print

Solution:
use pr_debug print info

Verify:
log

Change-Id: I7b2a60259fef7ab7935d8467eeb796442983a1c7
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-11-27 06:02:49 -08:00
dongqing.li 58f74472f7 ramdump: fix buildin err for parse info. [1/1]
PD#SWPL-191355

Problem:
For the low_mem project, the ramdump driver is
built-in. If many kernel configs are removed
during kernel size trimming, it may lead to build
errors in ramdump parsing info.
The removed configs info can be found in CL 486868.

Solution:
Romove parse info of kimage_voffset when ramdump
drv is built-in.

Verify:
sc2

Change-Id: I36b533bd06e56ca66b87850d01c0b0ad57c3a73c
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-11-20 18:19:03 -08:00
qinglin.li b6bb6672fe ddr_tool: sync patch to 6.12 [1/1]
PD#SWPL-192391

Problem:
sync patch to 6.12

Solution:
sync 14-5.15 commit to 3de6c801e

Verify:
local

Change-Id: Ic45f5a6dec9f66cb1e97c2ce253d35ea87e07734
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-11-17 23:50:01 -08:00
Lei Zhang f592e8febc debug: optimize registers and pfn dump [1/1]
PD#SWPL-185970

Problem:
n/a

Solution:
1 not dump registers and pfn when warning
2 enable user fault dump
3 enable pfn pagetrace dump

Verify:
on SC2

Change-Id: I2d1505bd168fd9dfc634b46101a21172145eab87
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-11-12 23:58:51 -08:00
xing.xu 8b94b653b7 bandwidth: CF1 Single-frame Bandwidth Sampling [1/1]
PD#SWPL-179304

Problem:
Single-frame Bandwidth Sampling

Solution:
Chips before s6 use the DMC method to get the bandwidth
value of a single frame, chips after s6 use the decoder
internal method to get the bandwidth value of a single frame.

Verify:
s6.s7

Change-Id: I135d98a0087733c5df34c7e8f9be39f8f2c96741
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2024-11-04 23:36:13 -07:00
qinglin.li 382ae522a9 ddr_tool: porting to kernel6.12 [1/1]
PD#SWPL-188342

Problem:
porting to kernel6.12

Solution:
1. porting to kernel6.12
2. remove print slab information

Verify:
local

Change-Id: Ia1e46e29146e37bf0040f29a2113949c72ddf2b2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-10-25 07:31:31 -07:00
dongqing.li 71fc39c31f ramdump: support arm32/arm64 for ker6.12 [1/1]
PD#SWPL-188348

Problem:
ker6.12 souce code is old. And ramdump
is not working properly.

Solution:
1. sync ramdump.c from ker5.15.
2. enable CONFIG_AMLOGIC_RAMDUMP
3. modify TEXTOFFSET=0X0200800 for ker 32bit

Verify:
SC2_AH212

Change-Id: Id19ba0ef1302e9cf4cdf379d10c625519a8eef36
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-10-25 02:08:07 -07:00
Jianxiong Pan 450465a0a7 mm: aml_smmu: move aml_smmu ko to memory_ext directory. [1/1]
PD#SWPL-188508

Problem:
optee depends to aml_smmu ko.

Solution:
make aml_smmu independent.

Verify:
sc2.

Change-Id: Ief77a87d7862ebfacacaaa92e971b19b0e5e9ba0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-24 00:27:10 -07:00
Jianxiong Pan 37543cc405 mm: aml_smmu: can not find the symbol. [1/1]
PD#SWPL-188508

Problem:
aml_smmu can not find the symbol.

Solution:
update the symbol

Verify:
sc2.

Change-Id: Ia4f3a29e0275ac0a053d8ee5f42e86f3396796c9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-23 23:50:53 -07:00
Jianxiong Pan c4058b76a5 mm: 32bit: add filecache function. [1/1]
PD#SWPL-188508

Problem:
print filechche info.

Solution:
add filecache debug tool.

Verify:
sc2.

Change-Id: I0008db0adc16bab64d72e5154fac46f749e66630
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-23 23:37:22 -07:00
Wanwei Jiang a73692ccfe bringup: upgrade kernel from 6.11 to 6.12 [1/1]
PD#SWPL-188184

Problem:
upgrade kernel from 6.11 to 6.12

Solution:
AML_KERNEL_VERSION	3
UPSTREAM_VERSION	"5a81cc3248a2"
AML_PATCH_VERSION	"5a81cc3248a2"
MERGE_DATE		"2024-10-09"
1. modify build script
2. port auto patch and move common-mainline to common16-6.12
3. modify the code due to the change of
the remove output_poll_changed in struct drm_mode_config_funcs
4. modify the code due to the change of the remove GPIOF_DIR_OUT
5. modify the code due to the change of the remove no_llseek
6. modify the code due to the change of the struct fd
7. modify the code due to the change of the struct mem_cgroup_reclaim_iter
8. modify the code due to the change of the file unaligned.h

Verify:
local

Test:
bootup to console in fatload mode

Change-Id: I98629ea9e68fca121176682d31dc73b8a8c936f8
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-10-09 18:51:40 -07:00
Wanwei Jiang 911eeadc02 bringup: upgrade kernel from 6.6.10 to 6.6.11 [1/1]
PD#SWPL-183292

Problem:
upgrade kernel from 6.6.10 to 6.6.11

Solution:
1. modify auto patches
2. modify the code due to the change of
the remove function in struct platform_driver
3. modify the code due to the change of
the match function in struct bus_type
4. modify some page function to folio function
5. modify spi module due to some functions changed

Verify:
local

Change-Id: I92c266b6a1bbae363abd0ff50d7f3037e90bc624
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-26 15:05:50 +08:00
Jianxiong Pan e7f50e0dae mm: add aml memory debug tools. [1/1]
PD#SWPL-185599

Problem:
add aml memory debug tools

Solution:
enable aml smmu for pcie white list.
enable filecache, watchpoint, userfault, mem_debug, reg_access.

Verify:
sc2.

Change-Id: I2549778560672bc66dcdfe767b5f81f8585293d5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-09-13 14:39:16 +08:00
dongqing.li 0839fd8d02 ramdump: support for ker6.6 sc2/sm1. [1/1]
PD#SWPL-160377

Problem:
need to support ramdump of sc2/sm1

Solution:
porting from ker5.15.

Verify:
ah212

Change-Id: I118c9409eb3d4b2dd87d859760b5bb4138091ee6
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-06-27 12:08:04 +00:00
Jianxiong Pan 2696df5867 mm: fix the aml_smmu not working problem. [1/1]
PD#SWPL-165128

Problem:
pcie unable to recognize the nvme device.

Solution:
update the aml_smmu code.

Verify:
sc2.

Change-Id: I3950d9b97f6d094c64ac1b2908db13156d5de451
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-04-12 00:15:38 -07:00
qinglin.li 1d6e8fabfb dmc_monitor: fix dmc error due to crash [1/1]
PD#SWPL-160944

Problem:
fix c2 reg error
fix port name is null due to strstr crash

Solution:
fix c2 reg error
fix port name is null due to strstr crash
update to dmc version to 1.5

Verify:
c2

Change-Id: I02f6528d0d61a3dff42852f8e479439993fadaa5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:49 -08:00
qinglin.li 9c31897d06 ddr_bandwidth: irq request flag mismatch [1/1]
PD#SWPL-160944

Problem:
genirq: Flags mismatch irq 38.
00002084 (dmc_monitor) vs. 00000084 (ddr_bandwidth)

Solution:
fix irq use same irq flag

Verify:
local

Change-Id: I98e45e57ae4e1d1c57553b64ace0795f0f7f4eaa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:45 -08:00
qinglin.li e9e86bec65 dmc_monitor: disabled dmc monitor alone with ddr_tool [1/1]
PD#SWPL-160189

Problem:
disabled dmc monitor alone with ddr_tool
modify dmc monitor depend on page trace
update dmc version to 1.4

Solution:
disabled dmc monitor with ddr_tool
modify dmc monitor depend on page trace

Verify:
local

Change-Id: Ib9d0463ee0734c3b8ae1dc27b1e0cacf69a605fa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:37 -08:00
qinglin.li 5c44e983d1 dmc_monitor: fix io_mem array get error [1/1]
PD#SWPL-147355

Problem:
io_mem array get error

Solution:
fix io_mem array get error
update dmc version to 1.3

Verify:
local

Change-Id: I95b69d5c8a06b984858c73d6e2564c8d17214680
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:33 -08:00
qinglin.li 5992853bcb dmc_monitor: optimize port and subport name save [1/1]
PD#SWPL-147355

Problem:
optimize port and subport name save

Solution:
update dmc version to 1.2
optimize port and subport name save

Verify:
local

Change-Id: I2e293ad8b359cdef93475ee976ddc0562e1593e5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:29 -08:00
qinglin.li e0a5e57585 dmc_monitor: fix irq thread null pointer [1/1]
PD#SWPL-147355

Problem:
old soc may creat a secure but irq thread not be init
when first irq set

Solution:
fix irq thread null pointer
update dmc version to 1.1

Verify:
g12a

Change-Id: I1f0e99db992d52f0acb8e66eb906f0d89bb52b32
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:25 -08:00
qinglin.li 783281ea84 dmc_monitor: use dmc irq thread when irq ratio is too high [1/1]
PD#SWPL-147355

Problem:
due to lockup when dmc irq ratio is too high

Solution:
use dmc irq thread when irq ratio is too high

Verify:
local

Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-03-15 03:30:22 -08:00
Jiucheng Xu 6c243f8c29 ddr_tool: add ddr bandwidth trace for 5.15 [1/1]
PD#SWPL-156027

Problem:
5.15 has no ddr bandwidth trace tool

Solution:
add tools

Verify:
G12A

Change-Id: Ifc4a471809078de7a991ac98e5cd26cb19ec0297
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2024-03-15 03:30:18 -08:00
qinglin.li a0d971d5c6 ddr_tool: add t3 && t3x ddr priority node support [1/1]
PD#SWPL-151626

Problem:
add t3 && t3x ddr priority node support

Solution:
add t3 && t3x ddr priority node support

Verify:
local

Change-Id: I5cb708db11e60774664a22e13865d4f48e558fa6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:15 -08:00
Qinglin Li ff64e0e0d1 ddr_bandwidth: fix irq not disabled when mode close [2/2]
PD#SWPL-141263

Problem:
irq not disabled when mode close

Solution:
fix irq not disabled when mode close

Verify:
local

Change-Id: I632b145626e81cddf9aef3a05f7c1ee644c9c478
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-03-15 03:30:11 -08:00