All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] powerpc: lib: sstep: fix 'sthcx' instruction
@ 2022-02-23 13:58 ` Anders Roxell
  0 siblings, 0 replies; 48+ messages in thread
From: Anders Roxell @ 2022-02-23 13:58 UTC (permalink / raw)
  To: mpe; +Cc: linuxppc-dev, linux-kernel, Anders Roxell, stable, Arnd Bergmann

Looks like there been a copy paste mistake when added the instruction
'stbcx' twice and one was probably meant to be 'sthcx'.
Changing to 'sthcx' from 'stbcx'.

Cc: <stable@vger.kernel.org> # v4.13+
Fixes: 350779a29f11 ("powerpc: Handle most loads and stores in instruction emulation code")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 arch/powerpc/lib/sstep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
index bd3734d5be89..d2d29243fa6d 100644
--- a/arch/powerpc/lib/sstep.c
+++ b/arch/powerpc/lib/sstep.c
@@ -3389,7 +3389,7 @@ int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op)
 			__put_user_asmx(op->val, ea, err, "stbcx.", cr);
 			break;
 		case 2:
-			__put_user_asmx(op->val, ea, err, "stbcx.", cr);
+			__put_user_asmx(op->val, ea, err, "sthcx.", cr);
 			break;
 #endif
 		case 4:
-- 
2.34.1


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

end of thread, other threads:[~2022-02-26  0:08 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 13:58 [PATCH 1/3] powerpc: lib: sstep: fix 'sthcx' instruction Anders Roxell
2022-02-23 13:58 ` Anders Roxell
2022-02-23 13:58 ` [PATCH 2/3] powerpc: fix build errors Anders Roxell
2022-02-23 13:58   ` Anders Roxell
2022-02-23 15:21   ` Segher Boessenkool
2022-02-23 15:21     ` Segher Boessenkool
2022-02-24  2:54   ` Nicholas Piggin
2022-02-24  2:54     ` Nicholas Piggin
2022-02-24  5:05     ` Nicholas Piggin
2022-02-24  5:05       ` Nicholas Piggin
2022-02-24  8:55       ` Arnd Bergmann
2022-02-24  8:55         ` Arnd Bergmann
2022-02-24 10:11         ` Nicholas Piggin
2022-02-24 10:11           ` Nicholas Piggin
2022-02-24 10:20           ` Arnd Bergmann
2022-02-24 10:20             ` Arnd Bergmann
2022-02-24 11:13             ` Nicholas Piggin
2022-02-24 11:13               ` Nicholas Piggin
2022-02-24 17:29               ` Segher Boessenkool
2022-02-24 17:29                 ` Segher Boessenkool
2022-02-25  0:23                 ` Nicholas Piggin
2022-02-25  0:23                   ` Nicholas Piggin
2022-02-25 22:28                   ` Segher Boessenkool
2022-02-25 22:28                     ` Segher Boessenkool
2022-02-26  0:07                     ` Nicholas Piggin
2022-02-26  0:07                       ` Nicholas Piggin
2022-02-24 17:12       ` Segher Boessenkool
2022-02-24 17:12         ` Segher Boessenkool
2022-02-25  0:32         ` Nicholas Piggin
2022-02-25  0:32           ` Nicholas Piggin
2022-02-25  8:33           ` Arnd Bergmann
2022-02-25  8:33             ` Arnd Bergmann
2022-02-25 10:51             ` Nicholas Piggin
2022-02-25 10:51               ` Nicholas Piggin
2022-02-25 22:33           ` Segher Boessenkool
2022-02-25 22:33             ` Segher Boessenkool
2022-02-24 12:39   ` Michael Ellerman
2022-02-24 12:39     ` Michael Ellerman
2022-02-24 16:12     ` Anders Roxell
2022-02-24 16:12       ` Anders Roxell
2022-02-24 17:37     ` Segher Boessenkool
2022-02-24 17:37       ` Segher Boessenkool
2022-02-23 13:58 ` [PATCH 3/3] powerpc: lib: sstep: " Anders Roxell
2022-02-23 13:58   ` Anders Roxell
2022-02-23 15:27   ` Segher Boessenkool
2022-02-23 15:27     ` Segher Boessenkool
2022-02-24  2:40 ` [PATCH 1/3] powerpc: lib: sstep: fix 'sthcx' instruction Nicholas Piggin
2022-02-24  2:40   ` Nicholas Piggin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.