[PATCH v3] powerpc: Fixup for v3 "powerpc/nohash: Refactor update of BDI2000 pointers in switch_mmu_context()" in next-test

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1954d

2 messages, 2 authors, 2021-06-07 · open the first message on its own page

[PATCH v3] powerpc: Fixup for v3 "powerpc/nohash: Refactor update of BDI2000 pointers in switch_mmu_context()" in next-test

From: Christophe Leroy <hidden>
Date: 2021-06-07 09:52:43

As mentionned in history, v3 doesn't apply to book3s/32 so the hunk
on head_book3s_32.S has to be dropped from the commit mentionned
in the title.

Signed-off-by: Christophe Leroy <redacted>
---
Michael, tell me if you prefer a v4 of the series.
---
 arch/powerpc/kernel/head_book3s_32.S | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/kernel/head_book3s_32.S b/arch/powerpc/kernel/head_book3s_32.S
index 32c27dac9b80..326262030279 100644
--- a/arch/powerpc/kernel/head_book3s_32.S
+++ b/arch/powerpc/kernel/head_book3s_32.S
@@ -1282,3 +1282,9 @@ EXPORT_SYMBOL(empty_zero_page)
 	.globl	swapper_pg_dir
 swapper_pg_dir:
 	.space	PGD_TABLE_SIZE
+
+/* Room for two PTE pointers, usually the kernel and current user pointers
+ * to their respective root page table.
+ */
+abatron_pteptrs:
+	.space	8
-- 
2.25.0

Re: [PATCH v3] powerpc: Fixup for v3 "powerpc/nohash: Refactor update of BDI2000 pointers in switch_mmu_context()" in next-test

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2021-06-07 11:54:20

Christophe Leroy [off-list ref] writes:
As mentionned in history, v3 doesn't apply to book3s/32 so the hunk
on head_book3s_32.S has to be dropped from the commit mentionned
in the title.

Signed-off-by: Christophe Leroy <redacted>
---
Michael, tell me if you prefer a v4 of the series.
Nah that's OK, I squashed this in.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help