Skip to contentSkip to conversation

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

PATCH Applied Aneesh Kumar K.V 3 participants 4 messages Mar 18, 2021 – Apr 10, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 by the series
https://lore.kernel.org/linux-mm/[email protected]

Hence enable it back

---
 Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +-
 arch/powerpc/Kconfig                                           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/features/debug/debug-vm-pgtable/arch-support.txt +1 -1
index 7aff505af706..fa83403b4aec 100644
@@ -21,7 +21,7 @@
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
-    |     powerpc: | TODO |
+    |     powerpc: |  ok  |
     |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: | TODO |
arch/powerpc/Kconfig +1 -0
index 386ae12d8523..982c87d5c051 100644
@@ -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
Signature · 1 line
2.30.2
#1 lore raw
Quoted 4 lines · Aneesh Kumar K.V

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

All the related issues are fixed by the series
https://lore.kernel.org/linux-mm/[email protected]

Was that series merged?

If so this seems like this could be tagged as a Fix for the last commit in that series.

cheers

Quoted 35 lines

Hence enable it back

---
 Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +-
 arch/powerpc/Kconfig                                           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/features/debug/debug-vm-pgtable/arch-support.txt +1 -1
index 7aff505af706..fa83403b4aec 100644
@@ -21,7 +21,7 @@
     |       nios2: | TODO |
     |    openrisc: | TODO |
     |      parisc: | TODO |
-    |     powerpc: | TODO |
+    |     powerpc: |  ok  |
     |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: | TODO |
arch/powerpc/Kconfig +1 -0
index 386ae12d8523..982c87d5c051 100644
@@ -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
Signature · 1 line
2.30.2
#2 lore raw
Quoted 10 lines · Michael Ellerman
Quoted 4 lines · Aneesh Kumar K.V

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

All the related issues are fixed by the series
https://lore.kernel.org/linux-mm/[email protected]

Was that series merged?

If so this seems like this could be tagged as a Fix for the last commit in that series.

commit f14312e1ed1e ("mm/debug_vm_pgtable: avoid doing memory allocation with pgtable_t mapped.")

Quoted 38 lines

cheers

Quoted 35 lines

Hence enable it back

---
  Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +-
  arch/powerpc/Kconfig                                           | 1 +
  2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/features/debug/debug-vm-pgtable/arch-support.txt +1 -1
index 7aff505af706..fa83403b4aec 100644
@@ -21,7 +21,7 @@
      |       nios2: | TODO |
      |    openrisc: | TODO |
      |      parisc: | TODO |
-    |     powerpc: | TODO |
+    |     powerpc: |  ok  |
      |       riscv: |  ok  |
      |        s390: |  ok  |
      |          sh: | TODO |
arch/powerpc/Kconfig +1 -0
index 386ae12d8523..982c87d5c051 100644
@@ -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
Signature · 1 line
2.30.2
#3 lore raw
In reply to Aneesh Kumar K.V
Quoted 6 lines · Aneesh Kumar K.V

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

All the related issues are fixed by the series
https://lore.kernel.org/linux-mm/[email protected]

Hence enable it back

Applied to powerpc/next.

[1/1] powerpc/mm: Revert "powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc"

      https://git.kernel.org/powerpc/c/937c49d10b4dc8e81ed1a24ffab8d70bba138af1

cheers