summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRohan McLure <rmclure@linux.ibm.com>2022-12-01 18:10:16 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2022-12-02 20:46:01 +1100
commit2487fd2e6d61b5293eed8ecd25add3cc78593d38 (patch)
tree3ca10a866717b367b2ffa9f0f6da580d86e3b52a /tools
parent75c5d6b1e194c341371639469fcb8691afa0e254 (diff)
downloadlinux-stable-2487fd2e6d61b5293eed8ecd25add3cc78593d38.tar.gz
linux-stable-2487fd2e6d61b5293eed8ecd25add3cc78593d38.tar.bz2
linux-stable-2487fd2e6d61b5293eed8ecd25add3cc78593d38.zip
powerpc/64s: IOption for MSR stored in r12
Interrupt handlers in asm/exceptions-64s.S contain a great deal of common code produced by the GEN_COMMON macros. Currently, at the exit point of the macro, r12 will contain the contents of the MSR. A future patch will cause these macros to zeroise architected registers to avoid potential speculation influence of user data. Provide an IOption that signals that r12 must be retained, as the interrupt handler assumes it to hold the contents of the MSR. Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20221201071019.1953023-4-rmclure@linux.ibm.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions