PD#SWPL-243386
Problem:
sec vio check print subid when sub not parse
Solution:
print subid when sub not parse
Verify:
local
Change-Id: I9292400fb5af535cd0c8210ff921b1fc32925958
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-238820
Problem:
old recheck not check page status
emmc continuous access not ignore
Solution:
recheck add page status check
if recheck access and page status not free ignore it
Verify:
local
Change-Id: I71498711263269c049b73d421e1e672a42348e93
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-237512
Problem:
t6x vpu sud id update
Solution:
t6x vpu sud id update
Verify:
local
Change-Id: I81acc8a88f622daada899580d98973b89177ca14
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-231748
Problem:
use dmc prot buf recheck
Solution:
when device access continuous
recheck can verify invalid when pagetrace is free
the function will be add 5-10us once irq
and check 2-3 continuous access
Verify:
local
Change-Id: I8073b9da2fa881f18540c15f83e72224cb7ffd0f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-231117
Problem:
common_drivers/drivers/media/common/vpu/vpu_sideband.o: in function `set_vpu_sideband_enable':
(.text+0x82): undefined reference to `disable_side_band'
common_drivers/drivers/media/common/vpu/vpu_sideband.o: in function `dmc_reg_setting':
(.text+0x5d4): undefined reference to `enable_side_band'
Solution:
add depends on for ddr_tool
Verify:
t6x
Change-Id: Ifa6c5e759259018072ba1ba203e7822d879d70b6
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-229258
Problem:
some scenarios hope to dynamically modify the cma task priority.
Solution:
provide interface to set cma task priority.
Verify:
local.
Change-Id: Ic0ce3ef8d58923e8506789864553bde36afba4fe
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-228047
Problem:
bandwidth overflow max due to crash
Solution:
multiple dmc need calculate after irq finish
reg data only be clear after irq finish
Verify:
local
Change-Id: I94d02d3ed8f01f62cdcda04482b20b150f8c957b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-228573
Problem:
bus width auto recognition
Solution:
bus width auto recognition
Verify:
t6d t6x
Change-Id: I5f9fc3684839129882e0ff2dc6c6c0e5fbfbe95f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-222462
Problem:
CCI will be trigger when alloc before pagetrace set
Solution:
t7 default exclude CCI and filter MALI1
fix cmdline show
Verify:
local
Change-Id: If9d8378c386132407932d11d72c64ab19f6dc823
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-223295
Problem:
dmc not print the function name.
Solution:
update the dmc_unpack_ip code.
Verify:
sc2.
Change-Id: If28612fa05c36f9fde2d79a91b8b5a6e385c39b2
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-225004
Problem:
fix large ddr range arm32 build error
Solution:
default addr than 32bit is 0 when arm32 build
Verify:
local
Change-Id: I4716c6d695506918fcb890ae171f26bf1cdabcb3
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-224014
Problem:
virt_addr_valid only return true line addr
Solution:
save name and id point
Verify:
local
Change-Id: I256f8b9ec9c91a052b792bea6e9de9575ad1826a
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-218353
Problem:
other modules are unable to determine how many VPU buses this chip has
Solution:
add get_vpu_bus_num() for sideband
Verify:
local
Change-Id: Iccd1e2dc157fae98efa57df0b3543e06f779ead4
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-218353
Problem:
1. extract repeated code into a separate function.
2. change the parameter type from unsigned long to unsigned int
since the register is 32 bits
Solution:
modify reg filed access interface
Verify:
t5m
Change-Id: Ie9db201eb84c3bf59299a6b5e382e988b6d8110c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-218353
Problem:
support side band function
Solution:
1. add debugfs file interface;
2. add side band function interface for other modules
Verify:
local
Change-Id: Iddcd236dbeaf443e97d7784bec3828a121ec5809
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-191305
Problem:
the frequency and bandwidth of LPDDR5 are inaccurate
Solution:
the frequency calculation methods for LPDDR5 and DDR3/2 are different
Verify:
local
Change-Id: Idb7bc333383f094c5071c0ac71276672f92dd06f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>