powerpc/mm: Revert "powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc"
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 18 Mar 2021 03:48:55 +0000 (09:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Mar 2021 05:46:55 +0000 (16:46 +1100)
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
Documentation/features/debug/debug-vm-pgtable/arch-support.txt
arch/powerpc/Kconfig

index 7aff505af706d7b844307d418b5082bd23544542..fa83403b4aec091dd862571dcf382cce0140afe2 100644 (file)
@@ -21,7 +21,7 @@
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
-    |     powerpc: | TODO |
+    |     powerpc: |  ok  |
     |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: | TODO |
index c1344c05226c0fa6835dcfe15f3f768550003ba3..6c400f877d8942dda442975bdd32b1e7935fe1e7 100644 (file)
@@ -119,6 +119,7 @@ config PPC
        #
        select ARCH_32BIT_OFF_T if PPC32
        select ARCH_HAS_DEBUG_VIRTUAL
+       select ARCH_HAS_DEBUG_VM_PGTABLE
        select ARCH_HAS_DEVMEM_IS_ALLOWED
        select ARCH_HAS_ELF_RANDOMIZE
        select ARCH_HAS_FORTIFY_SOURCE