From 94acc25d0efbecbd3814543332bf0a3be2755305 Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Mon, 26 Apr 2021 09:08:49 -0700 Subject: [PATCH] ANDROID: GKI: Enable CONFIG_PAGE_PINNER Enable CONFIG_PAGE_PINNER to help CMA allocation failure debugging. Bug: 183414571 Signed-off-by: Minchan Kim Change-Id: Icfa8db8be71acfda0268fffa6f4431f8484b6938 --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 2b80053258ca..b3a6b97bec0d 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -637,6 +637,7 @@ CONFIG_UBSAN_TRAP=y CONFIG_UBSAN_LOCAL_BOUNDS=y # CONFIG_UBSAN_MISC is not set CONFIG_PAGE_OWNER=y +CONFIG_PAGE_PINNER=y CONFIG_DEBUG_STACK_USAGE=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_KASAN=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 7a4ba70e0db1..e0617c26c2ad 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -577,6 +577,7 @@ CONFIG_UBSAN_TRAP=y CONFIG_UBSAN_LOCAL_BOUNDS=y # CONFIG_UBSAN_MISC is not set CONFIG_PAGE_OWNER=y +CONFIG_PAGE_PINNER=y CONFIG_DEBUG_STACK_USAGE=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_KFENCE=y