Disable zone DMA32 and swiotlb

As HW doesn't have 32-bit address limitation, we would like to disable
zone DMA32 to simplify memory management and improve performance.

Change-Id: I8454282b208b3226c0497f1e5abd02009238c1a6
Signed-off-by: liangjlee <liangjlee@google.com>
This commit is contained in:
liangjlee 2023-11-07 08:44:12 +00:00
parent a9506fbf2a
commit 226460fcdf

View file

@ -38,7 +38,8 @@ BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y
BOARD_KERNEL_CMDLINE += cgroup_disable=memory
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all
BOARD_KERNEL_CMDLINE += swiotlb=1024
BOARD_KERNEL_CMDLINE += swiotlb=noforce
BOARD_KERNEL_CMDLINE += disable_dma32=on
BOARD_KERNEL_CMDLINE += sysctl.kernel.sched_pelt_multiplier=4
BOARD_BOOTCONFIG += androidboot.boot_devices=13200000.ufs