]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s: Add an HV variant of FIXUP_ENDIAN that is recoverable
authorNicholas Piggin <npiggin@gmail.com>
Mon, 23 Oct 2017 07:08:14 +0000 (17:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Nov 2017 05:48:08 +0000 (16:48 +1100)
commit8ca9c08d0c8f6d68db9b592dc149cb8284173ca8
tree0a9a21b682edebd0ae5f4b71b01a953513b9cf6e
parentf848ea7f5960ec2684c3bd1c0692e6f5ad47a27d
powerpc/book3s: Add an HV variant of FIXUP_ENDIAN that is recoverable

Add an HV variant of FIXUP_ENDIAN which uses HSRR[01] and does not
clear MSR[RI], which improves recoverability.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h