Commit Graph

1075725 Commits

Author SHA1 Message Date
wenlong.zhu
146c08e2ed UAC: uac related files update to kernel 5.15 [1/1]
PD#SWPL-114902

Problem:
1. AudioBridge module needs to be added to kernel 5.15.

Solution:
1. Adjust the uac related files that AudioBridge depends on.

Verify:
A113L AD403 Board

Change-Id: Ibd32c020c4feea085c65fb6c781467ff87c83b67
Signed-off-by: wenlong.zhu <wenlong.zhu@amlogic.com>
2025-01-17 15:07:02 +09:00
Feng Chen
b8b551b8eb mtdblock: modify for squashfs mount [1/2]
PD#SWPL-116004
PD#SWPL-157951
PD#SWPL-168212
PD#SWPL-169271

Problem:
1.squashfs don't handle bad block
2.partition size returned from mtdblock
is incorrect
3.mtdblock io performance
4.mtdblock report partition size wrong when meet bad block
5.wrong poniter reference is used in container_of()

Solution:
1.mtdblock handle bad block
2.fix mtdblock size
3.mtd disk block size set to mtd writesize
4.correct the decrease size when meet bad block
5.fix the wrong poniter reference

Verify:
s4_aq2432
AT301_962D4-K35(1.5G) #256
C3_C308L_AW419_SOCKET_V01_R05
s1a_bg201

Change-Id: Icbaec2b6679727ebe0d12fd92bf4d21cc4d5f3fe
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
jing.li1
1d37bfb90f Demux: Add api for multi2 [1/2]
PD#SWPL-181881

Problem:
S6 need to support multi2

Solution:
Add api for multi2

Verify:
Verified on bl201

Change-Id: I132e295efd808eed0c360ae2362dfddcdd70f56a
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2025-01-17 15:07:02 +09:00
jing.li1
d435157c99 Demux: Demux support dma buffer [1/2]
PD#SWPL-177903

Problem:
Demux driver needs to manage secure es data with dma buffer

Solution:
Update demux driver to support dma buffer

Verify:
Verified on bl201

Change-Id: I9e721bb33fc4ea08598e62fe124e8af4ca2074f0
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2025-01-17 15:07:02 +09:00
nengwen.chen
1c06345d4a dvb: add FEC_1_4 and FEC_1_3 define [1/1]
PD#SWPL-176015

Problem:
add FEC_1_4 and FEC_1_3 define.

Solution:
add FEC_1_4 and FEC_1_3 define.

Verify:
T5M/S4D.

Change-Id: I0da28d3ff7f670427c0d864da0c59578eb2d7056
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2025-01-17 15:07:02 +09:00
Yahui Han
5284cad8d7 demux: extend demux header file. [1/1]
PD#SWPL-160394

Problem:
t5d needs sw demux.

Solution:
add support.

Verify:
T5D.

Change-Id: Ifc0e261dbe9475bf95bbbafddc3b8ee64c629125
Signed-off-by: Yahui Han <yahui.han@amlogic.com>
2025-01-17 15:07:02 +09:00
nengwen.chen
5106d43373 dvb-core: add support SYS_DVBC_ANNEX_B and C in dvbv3 [1/1]
PD#SWPL-156400
PD#TV-109289

Problem:
SET_FRONTEND fail when use SYS_DVBC_ANNEX_B.

Solution:
add support SYS_DVBC_ANNEX_B and C in dvbv3.

Verify:
T5D.

Change-Id: I48f5901d37c05b1cc9eaa43e63af7e49361e93b5
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2025-01-17 15:07:02 +09:00
chuangcheng.peng
ccbf59edb9 demux: provide ioctl to clear dmx cache [2/2]
PD#SWPL-169716

Problem:
provide ioctl to clear dmx cache

Solution:
provide ioctl to clear dmx cache

Verify:
verified at T5W

Change-Id: I3968204db100248664c2944ed893c959bef4618a
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2025-01-17 15:07:02 +09:00
min.yang
6436439723 dvb-core: fix blind scan fail [1/2]
PD#SWPL-111880

Problem:
do blind scan,unable to search channel

Solution:
sync code from 5.4

Verify:
S905C3

Change-Id: Ida030f278d19b7169dca337d80e56d18e88bcebf
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
chuangcheng peng
4b12e54604 dmx: notify scb/pscp status to high level [1/2]
PD#SWPL-110726

Problem:
high level need know es status

Solution:
notify the info to high level

Verify:
not verified

Change-Id: I60c9873d75fd2c8dc6399fdc79dcbcc073f7c63f
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2025-01-17 15:07:02 +09:00
min.yang
1395cc30a9 dvb: fix Blind search DUT fail [1/1]
PD#SWPL-106229

Problem:
When do Blind search DUT cannot
search channel

Solution:
fix blindscan updateprocess value.

Verify:
verified by T + S905X4.

Change-Id: I06d3d9ef2c3c76180419861ca0df73db00a0d2f6
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
hongyu.chen
4790b14b99 demux: uapi header file rectification. [1/4]
PD#SWPL-103754

Problem:
uapi header file rectification.

Solution:
uapi header file rectification.

Verify:
AH212/S905X4

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: I9856b1424b9ebd25f9fdb6bf478d6304cbaf8ab5
2025-01-17 15:07:02 +09:00
min.yang
9c64ddd8e3 dvb-core: remove amlogic define in header file [1/4]
PD#SWPL-102958

Problem:
should remove amlogic define in
linux/dvb/frontend.h

Solution:
remove amlogic define

Verify:
verified by T + ohm

Change-Id: I1c8a2d4445ed3c772aaf3172c51b5c20290b3bd0
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
min.yang
7e7c516740 demod: sync header file from 5.4 to 5.15 [1/2]
PD#SWPL-102661

Problem:
sync ref code

Solution:
sync ref code

Verify:
verified by T + ohm

Change-Id: Ifd1f2fa5a4b29142242684beba4bd71a881f486b
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
min.yang
40cddef24b dvb-core: add common dvb adapter [1/2]
PD#SWPL-100942

Problem:
should separate adapter from dvb-extern

Solution:
add adapter in dvb-core module

Verify:
verified by T + ohm

Change-Id: I305329f8d97d1a6429f2bb6600b2129ac149d90d
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-01-17 15:07:02 +09:00
hongyu.chen
c4ec13c1f4 demux: remove the modification to the uapi/linux/dvb header file. [1/3]
PD#SWPL-98901

Problem:
cant not modify uapi/linux/dvb header file.

Solution:
move the modification of uapi/linux/dvb to the new header file.

Verify:
no verify.

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: I392437e009fa19e6faff0eb389bf0c3c127fbc69
2025-01-17 15:07:02 +09:00
chuangcheng peng
7a5056cec5 demux: sync kernel 5.4 to 5.15 [2/2]
PD#SWPL-100311

Problem:
sync kernel 5.4 to 5.15

Solution:
sync kernel 5.4 to 5.15

Verify:
not verified

Change-Id: I1280a98dc9b5d51c71a40214b4da9c863eec95c4
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2025-01-17 15:07:02 +09:00
qinglin.li
d5ad7d290b sc2: gcc compile [1/2]
PD#SWPL-97112

Problem:
gcc code style check error

Solution:
fix code style when gcc compile

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I52ee0569086b696f1af51f0f667d0b51605a3e4e
2025-01-17 15:07:02 +09:00
chuangcheng peng
62fb9f9947 dvb-core: use origion dvb-core in kernel [1/2]
PD#SWPL-89132

Problem:
use dvb-core to ko

Solution:
put aml modification to dvb-core

Verify:
not verified, compile pass

Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
Change-Id: I8e63da3d2b7a89538aef180b6e20f40c898445c6
2025-01-17 15:07:02 +09:00
Zhuo Wang
ec8dbdd473 S5 PB test
Change-Id: I3710ccacde1373c0c457150e04827ec6529f451b
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:02 +09:00
xiangyang.yan
c47a592fd6 eth: optimize the fix of IP address loss after resume [1/1]
PD#SWPL-141158

Problem:
network IP address loss after resume

Solution:
optimize eth suspend/resume process to resolve network IP address loss
after resume

Verify:
T963D4-AY301-K8E#097

Change-Id: I919e845bba29885b62bbae40db2a662861ab85ab
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2025-01-17 15:07:01 +09:00
xiangyang.yan
8ee30fe2fc eth: fix network IP address loss after resume [1/1]
PD#SWPL-141159

Problem:
network IP address loss after resume

Solution:
add delay and re-enable MAC RX/TX after PHY restart auto-negotiation

Verify:
T950S-BE311-X5-X8-REF#020

Change-Id: I93328d774fb51379070e8a826ad530d537b0221c
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
2847df4124 eth: fix NETLINK [1/1]
PD#SWPL-139055

Problem:
device_init_wakeup will cause NETLINK

Solution:
not switch wol status anymore

Verify:
QA_verify with T7C

Change-Id: Ic873b4846c8fe9558b38a14b5a954f1591fa7f78
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
cd0b0bebf3 eth: remove network restart [1/1]
PD#SWPL-138314

Problem:
restart network will involve too much
problem, remove this flow, left only for txhd2

Solution:
remove network restart when resume
only txhd2 will use this function

Verify:
BE311

Change-Id: Ib8773adf20f0176b053fc22802426725d83d2ccc
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
Zhuo Wang
43ac816fa7 eth: txhd2 add new flow for suspend [1/2]
PD#SWPL-138487

Problem:
add new flow for txhd2

Solution:
add new flow for txhd2

Verify:
BE311

Change-Id: Id8a839b8fdb53b58d2cbcb7651b58156ecb14d92
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2025-01-17 15:07:01 +09:00
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