powerpc/epapr: Don't use wrteei on non booke
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 19 Dec 2022 18:46:00 +0000 (19:46 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2023 11:07:04 +0000 (22:07 +1100)
commit3c2ce4912a6f44dfb11bc5d241b13e9f5d79078b
tree0fdc270476b7571e2a50289e6c7ce3adb599d03d
parentbfb03af71a3798b5a88a945a9c19ad67e1c4986d
powerpc/epapr: Don't use wrteei on non booke

wrteei is only for booke. Use the standard mfmsr/ori/mtmsr
when non booke.

Reported-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b29c7f1727433b003eae050e44072741c8ac223b.1671475543.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/epapr_hcalls.S