Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

LoongArch: Add ARCH_HAS_DEBUG_VM_PGTABLE support

Add ARCH_HAS_DEBUG_VM_PGTABLE selection in Kconfig, in order to make
corresponding vm debug features usable on LoongArch. Also update the
corresponding arch-support.txt document.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>

+2 -1
+1 -1
Documentation/features/debug/debug-vm-pgtable/arch-support.txt
··· 12 12 | arm64: | ok | 13 13 | csky: | TODO | 14 14 | hexagon: | TODO | 15 - | loongarch: | TODO | 15 + | loongarch: | ok | 16 16 | m68k: | TODO | 17 17 | microblaze: | TODO | 18 18 | mips: | TODO |
+1
arch/loongarch/Kconfig
··· 16 16 select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI 17 17 select ARCH_HAS_CPU_FINALIZE_INIT 18 18 select ARCH_HAS_CURRENT_STACK_POINTER 19 + select ARCH_HAS_DEBUG_VM_PGTABLE 19 20 select ARCH_HAS_FAST_MULTIPLIER 20 21 select ARCH_HAS_FORTIFY_SOURCE 21 22 select ARCH_HAS_KCOV