linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: PPC: Book3S HV: Fix stack frame regs marker
@ 2022-10-06 14:33 Nicholas Piggin
  2022-10-09  9:58 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Piggin @ 2022-10-06 14:33 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Joel Stanley, Nicholas Piggin

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 <joel@jms.id.au>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
index c984021e62c8..37f50861dd98 100644
--- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
@@ -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)
 
 	/*
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: PPC: Book3S HV: Fix stack frame regs marker
  2022-10-06 14:33 [PATCH] KVM: PPC: Book3S HV: Fix stack frame regs marker Nicholas Piggin
@ 2022-10-09  9:58 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-10-09  9:58 UTC (permalink / raw)
  To: Nicholas Piggin, linuxppc-dev; +Cc: Joel Stanley

On Fri, 7 Oct 2022 00:33:45 +1000, Nicholas Piggin wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-09 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 14:33 [PATCH] KVM: PPC: Book3S HV: Fix stack frame regs marker Nicholas Piggin
2022-10-09  9:58 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).