ANDROID: Remove support for ZONE_DMA and ZONE_DMA32

Microdroid doesn't interact with peripherals, and therefore doesn't
have requirements for DMA'able memory. Therefore, place all memory
in ZONE_NORMAL. This avoids scenarios where memory is allocated
specifically for allocations that must be satisfied from ZONE_DMA,
such as in the coherent atomic DMA pooling code.

Bug: 432329937
Change-Id: Id29dec450edbb45d539bab2cc8e77defd8ba9ca9
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
This commit is contained in:
Isaac J. Manjarres
2025-07-19 01:04:05 +00:00
committed by Treehugger Robot
parent 43e9f43a25
commit fbececc25c

View File

@@ -54,6 +54,8 @@ CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_ZONE_DMA is not set
# CONFIG_ZONE_DMA32 is not set
CONFIG_ANON_VMA_NAME=y
CONFIG_USERFAULTFD=y
CONFIG_LRU_GEN=y