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>
PD#SWPL-151245
Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.
Solution:
revert compatibility code for kernel 6.6.
Verify:
local
Test:
local
Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-151470
Problem:
many of module parameters are no longer in use, but have not been deleted,
which affects memory and performance. all module parameters are now
disabled and can only be used after the application is approved.
Solution:
disabled all module parameters
Verify:
a4 a5
Test:
none
Change-Id: I27ee98a0437542d7b8a3da437c1525e0afded6b1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-141257
Problem:
This is a problem with the judgment of the return valule
in the store interface of Suspend_reason
Solution:
Fix incorrect code logic
Verify:
SC2 pass
Change-Id: I2c618a240202c369852cb5ee4bccdf5a0f21c8ec
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
PD#SWPL-143117
Problem:
too much pm related print in suspend/resume
Solution:
add initcall_debug judgment before suspend/resume printing
Verify:
sc2
Change-Id: Ifbca9604ae008b188da408cd8c3cc353f0d3051f
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-123365
Problem:
pm driver build error without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled
Solution:
change pm driver to make it build success
without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled
Verify:
Local Build Success
Change-Id: Iba223696c420e27fd6510a747a71c3d24a50e7ba
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-100550
Problem:
Need to extend reboot reason index to 128 for
some chip like SC2/S4/T3/T7, etc.
Solution:
Add another 4 bits of sticky register for reboot
reason index storage, this will extend reboot
reason to 128 (0 ~ 127)
Verify:
SC2-AH212
Change-Id: Ia756d7640dc7caf0132c66b55deb0c263e198f3d
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-102505
Problem:
The wakeup reason can stores 16 types of reasons
(0 ~ 15), now need to extend wakeup reason index
to 128 (0 ~ 127)
Solution:
Add another 4 bits of sticky register for wakeup
reason index storage, this will extend wakeup
reason index to 128 (0 ~ 127)
Verify:
S4-S905Y4
Change-Id: I642851bbbb7490ebb2ea6cda93d710ab98d8c664
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2