]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/44x: Activate KUEP at all time
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 Oct 2021 07:29:14 +0000 (09:29 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:41:17 +0000 (22:41 +1100)
commite4756f2a39e5b847079da82ceb830d5a18c21a94
treeced744dfae078e06f100c6f381e4e7989263f6d1
parent591070dd8142a764142a557a55c86d2266cd9507
powerpc/44x: Activate KUEP at all time

On 44x, KUEP is implemented by clearing SX bit during TLB miss
for user pages. The impact is minimal and not worth neither
boot time nor build time selection.

Activate it at all time.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2414d662558e7fb27d1ed41c8e47c591d576acac.1634627931.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/32/mmu-44x.h
arch/powerpc/kernel/head_44x.S
arch/powerpc/mm/nohash/44x.c
arch/powerpc/platforms/Kconfig.cputype