Skip to content

non maskable interrupt reentrancy fixes for OPAL

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/64s: Fix FIXUP_ENDIAN non-maskable interrupt reentrancyarch/powerpc/boot/ppc_asm.h arch/powerpc/include/asm/ppc_asm.h+14 -91 reply
2/2powerpc/64s: Fix OPAL_CALL non-maskable interrupt reentrancyarch/powerpc/platforms/powernv/opal-wrappers.S+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] non maskable interrupt reentrancy fixes for OPAL

Hi,

These fixes are more minimal, and split up properly since last post. Also accounted for Ben's comment of using HSRRs rather than disabling RI for OPAL_CALL.

This will still increase cost of opal calls a bit due to new mtmsr in FIXUP_ENDIAN return.

I have a few more patches that reduce overhead quite a bit, but they won't be suitable for 4.12, so I'll send those out after merge window.

Thanks,
Nick

Nicholas Piggin (2):
powerpc/64s: Fix FIXUP_ENDIAN non-maskable interrupt reentrancy powerpc/64s: Fix OPAL_CALL non-maskable interrupt reentrancy

 arch/powerpc/boot/ppc_asm.h                    | 12 +++++++-----
 arch/powerpc/include/asm/ppc_asm.h             | 11 +++++++----
 arch/powerpc/platforms/powernv/opal-wrappers.S |  6 +++---
 3 files changed, 17 insertions(+), 12 deletions(-)
Signature · 1 line
2.11.0