]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/603: Really copy kernel PGD entries into all PGDIRs
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 21 Aug 2025 06:30:18 +0000 (08:30 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Mon, 15 Sep 2025 08:19:22 +0000 (13:49 +0530)
commitf2863371f017eb03c230addc253783fa4c7e90f5
treeaca580d40bcc79e599533c4cadbdbf0ddb1d28dd
parentd9e46de4bf5c5f987075afd5f240bb2a8a5d71ed
powerpc/603: Really copy kernel PGD entries into all PGDIRs

Commit 82ef440f9a38 ("powerpc/603: Copy kernel PGD entries into all
PGDIRs and preallocate execmem page tables") was supposed to extend
to powerpc 603 the copy of kernel PGD entries into all PGDIRs
implemented in a previous patch on the 8xx. But 603 is book3s/32 and
uses a duplicate of pgd_alloc() defined in another header.

So really do the copy at the correct place for the 603.

Fixes: 82ef440f9a38 ("powerpc/603: Copy kernel PGD entries into all PGDIRs and preallocate execmem page tables")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/752ab7514cae089a2dd7cc0f3d5e35849f76adb9.1755757797.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/book3s/32/pgalloc.h
arch/powerpc/include/asm/nohash/pgalloc.h