[PATCH] powerpc/64s: Fix hash fault to use TRAP accessor

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 31 12:09:38 AEDT 2021


On Tue, 16 Mar 2021 20:52:05 +1000, Nicholas Piggin wrote:
> Hash faults use the trap vector to decide whether this is an
> instruction or data fault. This should use the TRAP accessor
> rather than open access regs->trap.
> 
> This won't cause a problem at the moment because 64s only uses
> trap flags for system call interrupts (the norestart flag), but
> that could change if any other trap flags get used in future.

Applied to powerpc/next.

[1/1] powerpc/64s: Fix hash fault to use TRAP accessor
      https://git.kernel.org/powerpc/c/1479e3d3b7559133b0a107772b5841e9c2cad450

cheers


More information about the Linuxppc-dev mailing list