powerpc/64s/exception: machine check adjust RFI target
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:29 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:34 +0000 (10:32 +1000)
The host kernel delivery case for powernv does RFI_TO_USER_OR_KERNEL,
but should just use RFI_TO_KERNEL which makes it clear this is not a
user case.

This is not a bug because RFI_TO_USER_OR_KERNEL deals with kernel
returns just fine.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-5-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S

index 7c28c22..9a7cc3e 100644 (file)
@@ -1184,7 +1184,7 @@ BEGIN_FTR_SECTION
         */
        bl      machine_check_queue_event
        MACHINE_CHECK_HANDLER_WINDUP
-       RFI_TO_USER_OR_KERNEL
+       RFI_TO_KERNEL
 FTR_SECTION_ELSE
        /*
         * pSeries: Return from MC interrupt. Before that stay on emergency