]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/8xx: Copy kernel PGD entries into all PGDIRs
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 20 Aug 2024 17:23:47 +0000 (19:23 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2024 11:29:52 +0000 (21:29 +1000)
commit985db026c34dfc45213649023d5505822a5dcd78
treeb07d217310c85342a53ce3fa592b5175f0bcc053
parent65a82e117ffeeab0baf6f871a1cab11a28ace183
powerpc/8xx: Copy kernel PGD entries into all PGDIRs

In order to avoid having to select PGDIR at each TLB miss based on
fault address, copy kernel PGD entries into all PGDIRs in pgd_alloc().

At first it will be used for ITLB misses for kernel TEXT, then for
execmem then for kernel DATA.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/c6d2bf5af2ea909071a85bdca8b1f5dc2df134a8.1724173828.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/pgalloc.h