From e721e9b66028d13c1f23a1d40d8f11725c69ce17 Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Wed, 24 Jun 2020 00:07:49 -0700 Subject: [PATCH] arm64: defconfig: Enable IO_PGTABLE_PAGE_ACCOUNTING for debug configs Enable the IO_PGTABLE_PAGE_ACCOUNTING feature on debug configurations for all targets. This feature allows for tracking the number of pages dedicated towards IOMMU page table memory. Change-Id: I2156e1571e45b7239252e40d4708ae56954b9955 Signed-off-by: Isaac J. Manjarres --- arch/arm64/configs/vendor/holi_debug.config | 1 + arch/arm64/configs/vendor/lahaina_debug.config | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/vendor/holi_debug.config b/arch/arm64/configs/vendor/holi_debug.config index f562e5855227..8e2ced070131 100644 --- a/arch/arm64/configs/vendor/holi_debug.config +++ b/arch/arm64/configs/vendor/holi_debug.config @@ -1,5 +1,6 @@ CONFIG_LOCALVERSION="-qgki-debug" CONFIG_IOMMU_TLBSYNC_DEBUG=y +CONFIG_IO_PGTABLE_PAGE_ACCOUNTING=y CONFIG_CMA_DEBUGFS=y CONFIG_CMA_DEBUG=y CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE=y diff --git a/arch/arm64/configs/vendor/lahaina_debug.config b/arch/arm64/configs/vendor/lahaina_debug.config index a4057b20278b..6cc1486f2970 100644 --- a/arch/arm64/configs/vendor/lahaina_debug.config +++ b/arch/arm64/configs/vendor/lahaina_debug.config @@ -1,5 +1,6 @@ CONFIG_LOCALVERSION="-qgki-debug" CONFIG_SLUB_DEBUG_PANIC_ON=y +CONFIG_IO_PGTABLE_PAGE_ACCOUNTING=y CONFIG_SLUB_DEBUG_ON=y CONFIG_DEBUG_KMEMLEAK=y CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4000