diff mbox series

ARM: Enable ARCH_HAS_DEBUG_VM_PGTABLE

Message ID 20230609092834.111118-1-linus.walleij@linaro.org (mailing list archive)
State New, archived
Headers show
Series ARM: Enable ARCH_HAS_DEBUG_VM_PGTABLE | expand

Commit Message

Linus Walleij June 9, 2023, 9:28 a.m. UTC
Using the generic page table tests is nice for conformance
testing. After enabling this on Versatile Express with LPAE
and debug prints all tests pass on the classic MMU.

However with LPAE enabled we get this:
BUG: non-zero pgtables_bytes on freeing mm: -4096

This message comes from kernel/fork.c and not the test per
se.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0fb4b218f665..5af3ed89a2fe 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -7,6 +7,7 @@  config ARM
 	select ARCH_HAS_BINFMT_FLAT
 	select ARCH_HAS_CURRENT_STACK_POINTER
 	select ARCH_HAS_DEBUG_VIRTUAL if MMU
+	select ARCH_HAS_DEBUG_VM_PGTABLE if MMU
 	select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE
 	select ARCH_HAS_ELF_RANDOMIZE
 	select ARCH_HAS_FORTIFY_SOURCE