* [PATCH] powerpc: make facility_unavailable_exception 64s
@ 2022-06-17 4:28 Rashmica Gupta
2022-07-29 13:03 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Rashmica Gupta @ 2022-06-17 4:28 UTC (permalink / raw)
To: linuxppc-dev; +Cc: mikey, npiggin
The facility unavailable exception is only available on ppc book3s
machines so use CONFIG_PPC_BOOK3S_64 rather than CONFIG_PPC64.
tm_unavailable is only called from facility_unavailable_exception so can
also be under this Kconfig symbol.
Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
---
arch/powerpc/kernel/traps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 3aaa50e5c72f..dadfcef5d6db 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -1676,7 +1676,7 @@ DEFINE_INTERRUPT_HANDLER(vsx_unavailable_exception)
die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT);
}
-#ifdef CONFIG_PPC64
+#ifdef CONFIG_PPC_BOOK3S_64
static void tm_unavailable(struct pt_regs *regs)
{
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
--
2.35.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: make facility_unavailable_exception 64s
2022-06-17 4:28 [PATCH] powerpc: make facility_unavailable_exception 64s Rashmica Gupta
@ 2022-07-29 13:03 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-07-29 13:03 UTC (permalink / raw)
To: Rashmica Gupta, linuxppc-dev; +Cc: mikey, npiggin
On Fri, 17 Jun 2022 14:28:05 +1000, Rashmica Gupta wrote:
> The facility unavailable exception is only available on ppc book3s
> machines so use CONFIG_PPC_BOOK3S_64 rather than CONFIG_PPC64.
> tm_unavailable is only called from facility_unavailable_exception so can
> also be under this Kconfig symbol.
>
>
Applied to powerpc/next.
[1/1] powerpc: make facility_unavailable_exception 64s
https://git.kernel.org/powerpc/c/fcdb758ce113c5d1b2b7034a058a9c472e42415e
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-29 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17 4:28 [PATCH] powerpc: make facility_unavailable_exception 64s Rashmica Gupta
2022-07-29 13:03 ` Michael Ellerman
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.