Skip to content

improve recoverability of OPAL calls

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/book3s: use label for FIXUP_ENDIAN macro brancharch/powerpc/include/asm/ppc_asm.h+3 -21 reply
2/3powerpc/book3s: Add an HV variant of FIXUP_ENDIAN that is recoverablearch/powerpc/include/asm/ppc_asm.h+22 -00 replies
3/3powerpc/powernv: Use FIXUP_ENDIAN_HV in OPAL returnarch/powerpc/platforms/powernv/opal-wrappers.S+2 -20 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/3] improve recoverability of OPAL calls

Here's a few patches to improve recoverability for FIXUP_ENDIAN on powernv. We should try to minimise SRR[01] (and MSR[RI]=0) usage as much as possible. Whether that's by using HSRR or mtmsrd, it usually results in faster and smaller code too.

There's a few other places we can improve, but I've had these patches around for a while.

Thanks,
Nick

Nicholas Piggin (3):
powerpc/book3s: use label for FIXUP_ENDIAN macro branch powerpc/book3s: Add an HV variant of FIXUP_ENDIAN that is recoverable powerpc/powernv: Use FIXUP_ENDIAN_HV in OPAL return

 arch/powerpc/include/asm/ppc_asm.h             | 27 ++++++++++++++++++++++++--
 arch/powerpc/platforms/powernv/opal-wrappers.S |  4 ++--
 2 files changed, 27 insertions(+), 4 deletions(-)
Signature · 1 line
2.13.3