Files
linux-stable-mirror/arch/powerpc/kernel
Christophe LeroyandGreg Kroah-Hartman d8a3693c58 powerpc/32: Fix unpaired stwcx. on interrupt exit
[ Upstream commit 10e1c77c36 ]

Commit b96bae3ae2 ("powerpc/32: Replace ASM exception exit by C
exception exit from ppc64") erroneouly copied to powerpc/32 the logic
from powerpc/64 based on feature CPU_FTR_STCX_CHECKS_ADDRESS which is
always 0 on powerpc/32.

Re-instate the logic implemented by commit b64f87c16f ("[POWERPC]
Avoid unpaired stwcx. on some processors") which is based on
CPU_FTR_NEED_PAIRED_STWCX feature.

Fixes: b96bae3ae2 ("powerpc/32: Replace ASM exception exit by C exception exit from ppc64")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/6040b5dbcf5cdaa1cd919fcf0790f12974ea6e5a.1757666244.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 13:54:56 +01:00
..
2024-05-08 00:21:30 +10:00
2023-10-01 23:09:02 +11:00
2024-09-05 22:25:36 +10:00
2025-08-15 12:14:03 +02:00
2024-06-28 22:28:47 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2024-05-08 00:21:30 +10:00
2023-10-10 13:35:55 -06:00
2024-03-03 22:20:29 +11:00
2024-09-08 16:01:10 +02:00
2024-05-08 00:21:30 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2024-09-01 20:26:13 -07:00