diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2023-07-11 17:59:21 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-02 22:22:18 +1000 |
commit | 3a24ea0df83e32355d897a18bbd82e05986dcdc3 (patch) | |
tree | 7475f41263f21546c960ad4e10d26d2fa12a5c59 /samples | |
parent | eb52f66f0abd468caf8be4e690d7fdef96250c2f (diff) | |
download | linux-stable-3a24ea0df83e32355d897a18bbd82e05986dcdc3.tar.gz linux-stable-3a24ea0df83e32355d897a18bbd82e05986dcdc3.tar.bz2 linux-stable-3a24ea0df83e32355d897a18bbd82e05986dcdc3.zip |
powerpc/kuap: Use ASM feature fixups instead of static branches
To avoid a useless nop on top of every uaccess enable/disable and
make life easier for objtool, replace static branches by ASM feature
fixups that will nop KUAP enabling instructions out in the unlikely
case KUAP is disabled at boottime.
Leave it as is on book3s/64 for now, it will be handled later when
objtool is activated on PPC64.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/671948788024fd890ec4ed175bc332dab8664ea5.1689091022.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions