Commit Graph

173 Commits

Author SHA1 Message Date
dongqing.li 4f5ec8d880 ramdump: Use RAMDUMP_TEXTOFFSET to integrate text modifications [1/1]
PD#SWPL-182182
PD#SWPL-190334

Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.

Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.

Verify:
T5D

Change-Id: Ifcbf7883969161ff2872d3300ee9b756dc949917
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-11-07 23:12:35 -08:00
jing.li1 1658ca3bc3 demux: add dmabuf manager on kernel 6.12 [1/1]
PD#SWPL-191023

Problem:
there are compile errors on kernel 6.12 because of missing dmabuf manager

Solution:
add dmabuf manager on kernel 6.12

Verify:
sc2

Change-Id: I7685afac9665cdd0ab53bf93b53be96bb6defc7c
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-10-29 01:47:20 -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 de9f1d185d dmc_monitor: arm need check memory map [1/1]
PD#SWPL-188508

Problem:
read no map memory failed when arm build

Solution:
check memory map when arm build

Verify:
local

Change-Id: Ic9b3d81f21c287ddab4b7c908bbd94c56139d8b4
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-24 22:31:56 -07:00
qinglin.li 42415ed2e8 script: change warning to error [1/1]
PD#SWPL-183190

Problem:
After adding -Werror, warning should
be converted to error

Solution:
Add the compilation parameters for
KBUILD_AFLAGS and UAPI_CFLAGS

Verify:
build

Change-Id: If344319cb15d1012151c3fb7f76435b9a972d286
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-10-24 04:27:13 -07:00
Jianxiong Pan cbb8f21b3e mm: add memory related autopatch. [1/1]
PD#SWPL-185599

Problem:
update memory related autopatch.

Solution:
update memory related autopatch.

Verify:
local.

Change-Id: Iabeadec397c000b1ebb61039c58f989e049d278b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-22 23:00:21 -07:00
Xindong Xu b5af8fbb45 common: change auto patch path [1/1]
PD#SWPL-189352

Problem:
auto patch error when lunch android

Solution:
change auto patch path

Verify:
local

Change-Id: Id7364d2bea63ae5850bce44311817d4a1716c807
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-10-22 00:15:36 -07:00
Dezhen Wang 5c4980155c scripts: 6.12 mv common_drivers to up dir [1/1]
PD#SWPL-188894

Problem:
common_drivers dir is not normal position. move it out of common dir.

Solution:
move it out of common dir

Verify:
local

Change-Id: I949688e2e86d687ef205030a646975065860950a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-17 00:11:25 -07:00
Lei Zhang bf8345f547 bringup: sync from kernel-6.6 trunk [4/4]
PD#SWPL-185970

Problem:
N/A

Solution:
sync from kernel-6.6 trunk

Verify:
on SC2

Change-Id: Ica22e7507b29f5aa3513defbdcee41b090b1d698
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-10-15 04:30:38 -07:00
Lei Zhang 5dda8f03e5 HOOK: add necessary vendor hooks and export set_next_entity [1/4]
PD#SWPL-185970

Problem:
N/A

Solution:
1, add necessary vendor hooks
2, export set_next_entity

Verify:
on SC2

Change-Id: Ic90a86cddeb127740797545a3ea8712519340473
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-10-15 04:29:06 -07:00
Dezhen Wang 51790a2f04 bringup: arm32bit on kernel6.12 [1/1]
PD#SWPL-188330

Problem:
arm32bit on kernel6.12

Solution:
1. modify build script
2. save defconfig for a32_base_defconfig
3. sync amlogic_gki.fragment to amlogic_a32.fragment
4. disable below configs:
CONFIG_AMLOGIC_FILE_CACHE
CONFIG_AMLOGIC_WIRELESS
CONFIG_AMLOGIC_MEMORY_EXTEND
CONFIG_AMLOGIC_PAGE_TRACE
CONFIG_AMLOGIC_SLAB_TRACE
CONFIG_AMLOGIC_CMA
CONFIG_AMLOGIC_VMAP

Verify:
local

Change-Id: I59089de925535a9999e808d0c98f7b49d9f86b82
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-10 21:22:47 -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 5b4ccd2e6a bringup: porting media dvb and audio modules [1/1]
PD#SWPL-183292

Problem:
porting media dvb and audio modules

Solution:
1. porting dvb auto patches
2. modify strlcpy() to strscpy()
3. remove the flag DRM_UNLOCKED, need owner to check
4. modify the code due to the change of
the remove function in struct platform_driver
5. add the header file of linux/vmalloc.h for vmalloc() and vfree()
6. modify files_lookup_fd_rcu() to task_lookup_next_fdget_rcu()
7. use shrinker_alloc() to alloc memory and initialize
8. modify __assign_str(dst, src) to __assign_str(dst)
9. modify asoc_rtd_to_cpu() to snd_soc_rtd_to_cpu()
10. modify pwm_apply_state() to pwm_apply_might_sleep()

Verify:
local

Test:
probe success

Change-Id: I6105f65f79ee4a2c197fd6305f59fa064b583d6b
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-26 19:20:48 +08: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
Wanwei Jiang 621ac2f55c bringup: porting usb and wireless modules [1/1]
PD#SWPL-183292

Problem:
porting usb and wireless modules

Solution:
1. porting usb and wireless modules
2. setting the default value of CONFIG_AMLOGIC_KERNEL_VERSION as 16612
3. modify the reset Makefile

Verify:
local

Change-Id: Ie3c99a75a1f3f439ebaa8d5cc852a654465fb379
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-14 19:27:18 -07:00
Wanwei Jiang 73604c9f07 bringup: porting basic modules [1/1]
PD#SWPL-183292

Problem:
porting basic modules

Solution:
1. porting basic modules(build pass)
2. porting common patches

Verify:
local

Change-Id: I2941231c1c3a4225adea7133d9a7d0eb8f438a73
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-11 15:17:02 +08:00
Wanwei Jiang 19a065f4cf bringup: setup development environment for the common15-6.12 kernel [1/1]
PD#SWPL-183292

Problem:
setup development environment for the common15-6.12 kernel

Solution:
1. porting 01_env patches
2. modify build script
3. porting tools patches
4. porting serial driver
5. enter console

Verify:
sc2

Change-Id: Id90b05130f2d3d200cfd788de348259249e76379
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-09 19:31:31 +08:00
Dezhen Wang 7a9fa96c73 Scripts: remove all autopatch of 14-5.15 [1/1]
PD#SWPL-179918

Problem:
remove all autopatch of 14-5.15

Solution:
remove all autopatch of 14-5.15

Verify:
local

Change-Id: If5981db6562291030908947f74cadc3f75baec7f
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-08-01 06:26:18 -07:00
Dezhen Wang 09d3052c6f bazel: fix date format due to build failed [1/1]
PD#SWPL-179932

Problem:
date format due to build failed

Solution:
fix date format due to build failed

Verify:
local

Change-Id: Iefaa34dd787232301a7fb7f83648c63188aa0563
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-08-01 06:42:17 +00:00
Dezhen Wang dd2cf7d134 upgrade: android15-6.6 in 2024/07 patch2 [2/2]
PD#SWPL-177341

Problem:
record merge upstream information

Solution:
AML_KERNEL_VERSION      6
UPSTREAM_VERSION        "a8759911ea10"
AML_PATCH_VERSION       "a8759911ea10"
MERGE_DATE              "2024-07-30"

Verify:
a4/a5

Change-Id: Ifbb69d84f51205d91e195f438e7d447207d3bd85
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-07-31 05:57:19 +00:00
Dezhen Wang 490f387893 upgrade: android15-6.6 in 2024/03 [2/2]
PD#SWPL-177341

Problem:
record merge upstream information

Solution:
AML_KERNEL_VERSION      6
UPSTREAM_VERSION        "a8759911ea10"
AML_PATCH_VERSION       "a8759911ea10"
MERGE_DATE              "2024-07-16"

Verify:
a4/a5

Change-Id: Iceb68a4d0088ff692d57aeaac7ceadd571756e6d
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-07-30 12:46:50 +00:00
Jianxiong Pan 9fb32f9bd4 mm: free_large_kmalloc warning. [1/1]
PD#SWPL-175692

Problem:
free_large_kmalloc warning.

Solution:
add switch to call vendor function.

Verify:
local.

Change-Id: Icf5643f88e24caa9074645802815585b6144a92a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-07-30 00:01:07 -07:00
Xindong Xu 8d8fc75d3e auto_patch: add lunch_patches.txt for android [1/1]
PD#SWPL-160440

Problem:
need to add auto patch when lunch android

Solution:
add lunch_patches.txt for android

Verify:
ohm_wv4

Change-Id: I06fa02032b914fe47dcec895b5872d174a565a12
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-06-27 12:14:50 +00:00
qinglin.li 617fe04d9f kernel6.6: build sm1 with gx64 script [1/1]
PD#SWPL-160351

Problem:
build sm1 with gx64 script

Solution:
build sm1 with gx64 script

Verify:
local

Change-Id: I3b72d88a38a1a24636d6a662fc696a90cdc54673
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-06-27 12:14:30 +00:00
qinglin.li 345624d5ac auto_patch: add kernel build tool autopatch [1/1]
PD#SWPL-160422

Problem:
add kernel build tool autopatch

Solution:
add kernel build tool autopatch

Verify:
sc2

Change-Id: Ic968e15dec6c802a5524374083afe9197bad0cb4
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-06-27 12:12:51 +00:00
yali.zhang f6f5683f1a demod: Demod & Tuner bring up [1/1]
PD#SWPL-160536

Problem:
kernel 6.6 Demod & Tuner bringup

Solution:
Demod & Tuner bring up

Verify:
verified at sc2

Change-Id: I496de78e52184a1074a8752d324696171aacfbc1
Signed-off-by: yali.zhang <yali.zhang@amlogic.com>
2024-06-05 02:26:13 -07:00
qinglin.li 6026507a76 mmc: upstream fix kmalloc not init to zero [1/1]
PD#SWPL-168953

Problem:
upstream fix kmalloc not init to zero

Solution:
upstream fix kmalloc not init to zero

Verify:
sc2

Change-Id: I188630ef21ca74dd61e2605151983c90201606fc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-05-16 16:11:58 +08:00
zhikui.cui 3d1633d3ae mtdblock: fix report mtdblock size wrong when meet bad block [1/1]
PD#SWPL-168212

Problem:
mtdblock report partition size wrong when meet bad block.
the problem is bring from commit <13f288bad852>
(mtdblock: improve mtdblock performance)

Solution:
correct the decrease size when meet bad block

Verify:
C3_C308L_AW419_SOCKET_V01_R05

Change-Id: Ib59984781c79a46acf19dd9dd88a64806746b91b
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-05-06 09:11:22 +00:00
Ruixuan.li 9e616bfaea emmc: tee operation rpmb failed [1/1]
PD#SWPL-156093

Problem:
kernel 6 add a flag variation in struct mmc_blk_ioc_data
but set value to flag before use it, so it can be any value

Solution:
memset mmc_blk_ioc_data flag to 0

Verify:
a4

Change-Id: I7efbad65b8023682fe6f6ac159cbb4446a3193b7
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
2024-04-21 22:34:22 -07:00
Jianxiong Pan 362f8d1bd4 mm: fix check_heap_object error. [1/1]
PD#SWPL-156093

Problem:
slab optimite cause the copy_from_user check error.

Solution:
bypass the check for slab large allocation.

Verify:
local

Change-Id: Ia856bf79243e12a570b3854766b0707f7f5f92c1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-04-15 01:45:36 -07:00
qinglin.li c145d36fac upgrade: upgrade kernel [1/1]
PD#SWPL-163225

Problem:
upgrade kernel

Solution:
upgrade kernel

Verify:
sc2

Change-Id: I31a1d23ee1a6ee12344d6fd3302e45a6e88ecbf6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-04-02 04:59:27 -07:00
haotian.qu 0685ce90ac fdtoverlay: fdtoverlay support delete dts node. [1/1]
PD#SWPL-150301

Problem:
Fdtoverlay cann't support remove unnecessary dts node.

Solution:
Add __removenode__ key work to support the function.

Verify:
local

Change-Id: Ia586fdd02b9be1d227ab527c3bbf363ab1ff4604
Signed-off-by: haotian.qu <haotian.qu@amlogic.com>
2024-03-22 00:12:38 -07:00
Wanwei Jiang 05ed255586 upgrade: android15-6.6 in 2024/03 [2/2]
PD#SWPL-160463

Problem:
record merge upstream information

Solution:
AML_KERNEL_VERSION      4
UPSTREAM_VERSION        "23e5041bd90d"
AML_PATCH_VERSION       "23e5041bd90d"
MERGE_DATE              "2024-03-13"

Verify:
a4/a5

Change-Id: I9e5545565e80832b588add194e1b22b1101cbfe4
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-03-14 19:02:50 +08:00
zhikui.cui da5316f69f mtdblock: improve mtdblock performance [1/1]
PD#SWPL-157951

Problem:
mtdblock io performance

Solution:
mtd disk block size set to mtd writesize

Verify:
BA409-A113L2_SOCKET #10

Change-Id: I9a3460552e5a7b53ed813b0c6b0984a81570dc9b
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-02-27 02:55:25 -08:00
qiankun.wang 39148c4643 iotrace: iotrace vendor hooks and optimization [1/1]
PD#SWPL-149337

Problem:
iotrace read/write use vendor hooks.
iotrace optimization

Solution:
iotrace read/write use vendor hooks.
iotrace optimization

Verify:
sc2_ah212

Change-Id: If69ed5dce03ffa53f1c4819659fb80dfcad767c5
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-01-29 04:02:16 -07:00
Wanwei Jiang ba45b5379c kernel: upgrade on 20240122 [1/1]
PD#SWPL-155082

Problem:
upgrade on 20240122

Solution:
upgrade on 20240122

Verify:
a4/a5 sc2

Change-Id: Ic1a3a420615107dec3847c7cc3a84d324c248844
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-22 19:41:35 +08:00
Wanwei Jiang a0db25932d autopatch: support autopatch for linux [1/1]
PD#SWPL-154292

Problem:
support autopatch for linux

Solution:
support autopatch for linux

Verify:
local

Change-Id: Idaae5f82e6e07c89781ab53cf1a436cbdac36fe1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-21 19:28:46 -07:00
Lei Zhang 41cd7520e1 module: bypass when check version fail [1/1]
PD#SWPL-149337

Problem:
n/a

Solution:
bypass when check module version fail

Verify:
on a4

Change-Id: I01b6bcb689862c865db549768bede3123df04c96
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-01-18 02:07:28 -07:00
Hanjie Lin 8e35d620c0 debug: sched: bringup [1/1]
PD#SWPL-150085

Problem:
debug sched compatible

Solution:
debug sched compatible

Verify:
sc2/a5

Change-Id: I4d4d70dd03655a4f8a2beb034aae4826fd82fec8
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2024-01-16 20:29:42 -07:00
Chengbing.wu 43c9f137d7 regulator: common15_k6.6 common driver bringup patches [1/1]
PD#SWPL-135783

Problem:
1. need use regulator to delay dvfs voltage set;
2. for boot to kernel vddcpu/vddee voltage
change to max problem;

Solution:
1. (add dvfs delay time at a4/a5 k6.6) at 374414;
2. add init voltage at txhd2 trunk;
(add patch for a4 a5 k6.6 usb suspend issue, 384999)

Verify:
build pass

Change-Id: I8d5a2750d3ab5df2d949be710db5f1adf3659cb7
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2024-01-14 19:38:34 -07:00
Wanwei Jiang 9e97825b1e kernel: upgrade on 20240112 [1/2]
PD#SWPL-153832

Problem:
upgrade on 20240112

Solution:
upgrade on 20240112

Verify:
a4/a5 sc2

Change-Id: Ia5fafbfd5e2e31f06ebf6f5a1cc973b40ab922f1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-12 11:52:01 +08:00
Jianxiong Pan 18f46326f0 mm: autopatch: add more to white trace list. [1/1]
PD#SWPL-150034

Problem:
trace cannot be used.

Solution:
add more to white trace list.

Verify:
local.

Change-Id: Ie6a6cf45ceaf682bd3451917dd574a647712d2dc
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-02 19:48:15 -07:00
Dezhen Wang de15ed0e95 bring up: rename autopatch about vendor hook android_rvh_place_entity [1/1]
PD#SWPL-151469

Problem:
the autopatch cannot patch to common with old name

Solution:
rename autopatch about vendor hook place_entity in commit cf74d1cb69

Verify:
local

Change-Id: Ifb08df2ee26ac814d250bebaa055c289615e6fa0
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-02 10:37:49 +00:00
Dezhen Wang cf74d1cb69 bring up: add vendor hook android_rvh_place_entity for kernel6.6 [1/1]
PD#SWPL-151469

Problem:
vendor hook android_rvh_place_entity do not exist in kernel6.6. Add it
in autopatch temporarily.

Solution:
add vendor hook android_rvh_place_entity for scheduler optimize
when debug

Verify:
local

Change-Id: I1c58b88090fd1e4ab8aff907532f417bc84971f8
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-01 23:23:28 -07:00
Jianxiong Pan 926173f38f mm: autopatch: add aml fake smmu for pcie. [1/2]
PD#SWPL-150034

Problem:
support pcie whitelist.

Solution:
add aml fake smmu for pcie.

Verify:
local.

Change-Id: Ifff12d10d2fd7d234f3ab9330136cbc1a8b50827
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-28 21:53:55 -07:00
xiangyang.yan 6d80d282af eth: transfer stmmac driver source files [1/1]
PD#SWPL-149500

Problem:
transfer stmmac driver source files

Solution:
transfer stmmac driver source files
from common/drivers/net/ethernet/stmicro/stmmac
to common/common_drivers/drivers/net/ethernet/stmicro/stmmac

Verify:
A113L2-BA400-DEV#033

Change-Id: Ib17eb1b526ae4163f9fc608b12ea3b318704e5c5
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2023-12-28 19:11:05 -07:00
Jianxiong Pan 70a8609d84 mm: autopatch: add slab trace support. [1/2]
PD#SWPL-150034

Problem:
no slab trace.

Solution:
add slab trace support.

Verify:
local.

Change-Id: I1b7ecf46acdc5b0e9a3df6101c1954762392e03b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-28 19:47:47 +08:00
Jianxiong Pan ebd5482181 mm: autopatch: add white list for trace events. [1/1]
PD#SWPL-150034

Problem:
There are too many trace event inodes

Solution:
Add white list for trace event, this can save about 10MB memory

Verify:
local.

Change-Id: I339ed6a95313335a1d94ce4aab479c2422c3d334
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-28 19:47:36 +08:00
Jianxiong Pan b5003de0bf mm: autopatch: add CONFIG_AMLOGIC_LINUX_S_OPTIMIZE for optimize. [1/1]
PD#SWPL-150034

Problem:
kernel size if too big.

Solution:
remove some configs.

Verify:
local.

Change-Id: I51b5cf892969bdc78b3ecaa2ca25665f6656e75a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-28 19:47:17 +08:00