KVM: PPC: Book3S HV: Fix stack frame regs marker
Subsystems (2)
Nicholas Piggin
reviewerPATCH 1/1 KVM: PPC: Book3S HV: Fix stack frame regs marker
The hard-coded marker is out of date now, fix it using the nice define.
Fixes 17773afdcd15 ("powerpc/64: use 32-bit immediate for STACK_FRAME_REGS_MARKER")
Reported-by Joel Stanley <[email protected]>
Signed-off-by Nicholas Piggin <[email protected]>
--- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kvm/book3s_hv_rmhandlers.S +1 -1
@@ -2728,7 +2728,7 @@ kvmppc_bad_host_intr: std r5, _XER(r1) std r6, SOFTE(r1) LOAD_PACA_TOC() - LOAD_REG_IMMEDIATE(3, 0x7265677368657265) + LOAD_REG_IMMEDIATE(3, STACK_FRAME_REGS_MARKER) std r3, STACK_FRAME_OVERHEAD-16(r1) /*
Signature · 1 line
2.37.2
Michael Ellerman
AppliedQuoted 3 lines · Nicholas Piggin
The hard-coded marker is out of date now, fix it using the nice define.
Applied to powerpc/next.
[1/1] KVM: PPC: Book3S HV: Fix stack frame regs marker
https://git.kernel.org/powerpc/c/376b3275c19f83d373e841e9af2d7658693190b9
cheers