PD#SWPL-225609
Problem:
If enabled 32bit kasan on T5W with VMAP, kernel can not boot.
This case can not 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: I864e4d29e75ef3b55fd39b3d76734ff0fbced908
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-148278
Problem:
CONFIG_AMLOGIC_ZSTD is to upgrade the zstd version in old kernel5.15.
Now we will not maintain the zstd function in this kernel version.
Solution:
set CONFIG_AMLOGIC_ZSTD to n
Verify:
local
Change-Id: I49fe3baa5e1b13d42a06949cb8711fde9ebcdd04
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-163329
Problem:
building will fail because last build remain the staging dir
Solution:
remove staging dir in last build
Verify:
local
Change-Id: I5ca2751b70240afac2faff3fea1420f3fda3ad98
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-222131
Problem:
crtc is null and osd2 blank fail when bootanimation exit,
it leads that OSD display is abnormal
Solution:
1.change plane crct to crtc of modeset
2.drm_atomic_helper_disable_plane use not use global ctx
Verify:
S7
Test:
DRM-OSD-69
Change-Id: Id74c1a791d59bc5b4acf8735193dc88a00caad4d
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-226417
Problem:
if there is three blocks in edid raw data, but the extension
of block0 is 1, the correct edid will not be transfer to user
by drm_connector_update_edid_property
Solution:
drm_connector_update_edid_property will handle HDMI Forum EDID
Extension Override Data Block
Verify:
s7d
Test:
DRM-OSD-103
Change-Id: I6b525f705532bc1893e538ac9762ee2ca7e78218
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-226607
Problem:
some project remove reserved partition
Solution:
save pattern in last gap
Verify:
s7
Change-Id: I084be4129f079711d0738e99face5fac395e9357
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
PD#SWPL-184201
Problem:
mod_delayed_work in adc_keypad needs to be canceled
during suspend, otherwise the saradc mutex may be held
by adc_keypad for a long time (up to 100 milliseconds)
when saradc resumes.
Solution:
Cancel mod_delayed_work when suspending.
Verify:
S6/BL201
Change-Id: If4404bc8a952eb552dc2a7492f2bebf3da1fc007
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit b0d3ac80a735f2291d51b6efa00aa3df20060960)
PD#SWPL-160436
Problem:
Adjust according to the adjustment of adc interface.
Solution:
Voltage units adjusted to millivolts.
Verify:
SC2/AH212 SM1/AC200
Change-Id: I35d1cb4578dac5df65ac0048e903d3dc7e1988e8
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-226863
Problem:
882e detect start/recv bit error
Solution:
set signal free time to 7bit period
Verify:
t7c
Change-Id: I54fe3697ea2e446f5556c60a1b07437d72b2bdfd
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
PD#SWPL-223331
Problem:
support lcevc for kernel 6.12
Solution:
support lcevc for kernel 6.12
Verify:
S7D
Change-Id: I1f21c95916472b6e19c96d60d4b4c4cceec721be
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-226877
Problem:
In k6.12, the phy & power and driver model parts of
the crg drd controller driver is refactored. However
they have some disagreements either with k5.15 driver
or (driver model) k6.12 kernel.
The remove()/shutdown() sequence is wrong.
Solution:
Updates crg drd controller driver to keep sync with
procedures with k5.15 version and k6.12 kernel.
Adjust remove()/shutdown() sequence
Verify:
t6d.
Change-Id: I616700e48e717eb78915c623c754e02f829332e5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-218663
Problem:
Wrong Headphone connection state reported during start up;
Solution:
1. decrease the delay time of hp detection after reboot.
Verify:
t5w
Change-Id: I64a90b2934d09045eb9bb2963e2e8bd99368a0e4
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
(cherry picked from commit dac684b9cbe23e46b5209e48e29fece50a16e022)
(cherry picked from commit fb5dfd6ab9)
PD#SWPL-227069
Problem:
video will balck when width scaler down to 1 pixel
Solution:
setting 1 pixel can display
Verify:
t7c
Change-Id: Idfb75c1c96d8d69070b80d3bee6113199e11ada7
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-189327
Problem:
need key flag info
Solution:
add key flag command
Verify:
s6
Change-Id: If77ae46dfba7c696c1e6093b977d694f7fb2cd97
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit aee0ed53b6)
PD#SWPL-161936
Problem:
The 'kt_ret' bits in 'KT_REE_CFG' must not be checked
because the 'kt_ret' bits have an invalid value
without performing the keytable configuration.
Solution:
remove the routine checking kt_ret in aml_kt_get_status.
Verify:
SC2
Change-Id: Ifa3b82c3fa620e1cdc8da6c62da075305045acad
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit dabf12f7b3)
PD#SWPL-149012
Problem:
KL driver should be able to check
if KL's fuse is okay without M2M or descrambler in REE.
Solution:
add etsi challenge-response function
Verify:
T5D
Change-Id: I8492896086ba3e6e4701ee4511794e803ed6d900
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit d7d4979d9d)
PD#SWPL-148195
Problem:
In the case of IV, aml_kt_invalidate does not have a return value,
resulting in an error return value.
Solution:
In the case of IV, aml_kt_invalidate is not performed,
so the return value is always successful.
Verify:
S4D metacas
Change-Id: I4fe59ce4f1d94486dbf3a00e72f611db3bc7b4f4
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit 9aa414bc72)
PD#SWPL-196630
Problem:
Need to simulate SARADC pin as GPIO.
Solution:
Voltage units adjusted to millivolts.
Verify:
T6D/BR301
Change-Id: I43ff3fd0c97e5d6381e42aee7d02f6b7bf5d7ea5
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-167411
Problem:
Optimize code to reduce invalid calls to mbox.
Solution:
Only the old version of bl30 (arm core) needs to configure mbox.
Verify:
SC2/AH212
Change-Id: Ib8781930453fe8fadffd39b73c477750857dd86a
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-226593
Problem:
amvecm and dv need get osd status
Solution:
add get osd status callback
Verify:
s7/s7d/s6/t6d
Test:
DRM-OSD-84
Change-Id: If34418241f821bf34c7d999c33a31df28eb6d911
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-222902
Problem:
dsp need to reset when dsp hang
Solution:
add reset function when dsp panic
Verify:
a5
Change-Id: I3203af2530026098d929c32558abafcf328a17d5
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-217775
Problem:
Potentially overflowing expression around operator [ * ],
which is evaluated using 4 byte arithmetic, and then used
in a context that expects an expression of 8 bytes type.
Solution:
Change long to int.
Verify:
SC2/AH212
Change-Id: I7a1118d21a0e14379a66c4970f2f93ae2740e649
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit 7598a49c8381144da11c07bf1ee3cbbb03ae943b)
PD#SWPL-225609
Problem:
sync memory related patches from 5.15.
Solution:
sync memory related patches from 5.15.
Verify:
local;
Change-Id: I010fa5dc436d486bc46b7d49f8e0b32057c05ac7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-225609
Problem:
system crash when suspend in hibernate.
Solution:
setup vmap stack for hibernate.
Verify:
s7.
Change-Id: I971c9a3dec8092a49e9531367e99f53775785a3e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-178337
Problem:
In commit I11c0a1588c9a8d7db3987ef7b6444d836fe35cb3,
the max burst of bulk ep of all uvc devices are set
to 0.
Solution:
Do this only for crg host.
Verify:
s905x5m.
Change-Id: I1f716d5b42e88ee5f6be1fc24473bc7dd89f0fe7
Signed-off-by: dian.shao <dian.shao@amlogic.com>