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

powerpc/mm: Revert "powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc"

This reverts commit 675bceb097e6 ("powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc")

All the related issues are fixed as of commit:
f14312e1ed1e ("mm/debug_vm_pgtable: avoid doing memory allocation with pgtable_t mapped.")

Hence re-enable it.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210318034855.74513-1-aneesh.kumar@linux.ibm.com

authored by

Aneesh Kumar K.V and committed by
Michael Ellerman
937c49d1 11d92156

+2 -1
+1 -1
Documentation/features/debug/debug-vm-pgtable/arch-support.txt
··· 21 21 | nios2: | TODO | 22 22 | openrisc: | TODO | 23 23 | parisc: | TODO | 24 - | powerpc: | TODO | 24 + | powerpc: | ok | 25 25 | riscv: | ok | 26 26 | s390: | ok | 27 27 | sh: | TODO |
+1
arch/powerpc/Kconfig
··· 119 119 # 120 120 select ARCH_32BIT_OFF_T if PPC32 121 121 select ARCH_HAS_DEBUG_VIRTUAL 122 + select ARCH_HAS_DEBUG_VM_PGTABLE 122 123 select ARCH_HAS_DEVMEM_IS_ALLOWED 123 124 select ARCH_HAS_ELF_RANDOMIZE 124 125 select ARCH_HAS_FORTIFY_SOURCE