pseries: Add H_SET_MODE to change exception endianness
On little endian builds call H_SET_MODE so exceptions have the correct endianness. We need to reset the endian during kexec so do that in the MMU hashtable clear callback. Signed-off-by:Anton Blanchard <anton@samba.org> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/hvcall.h 2 additions, 0 deletionsarch/powerpc/include/asm/hvcall.h
- arch/powerpc/include/asm/plpar_wrappers.h 26 additions, 0 deletionsarch/powerpc/include/asm/plpar_wrappers.h
- arch/powerpc/platforms/pseries/lpar.c 17 additions, 0 deletionsarch/powerpc/platforms/pseries/lpar.c
- arch/powerpc/platforms/pseries/setup.c 42 additions, 0 deletionsarch/powerpc/platforms/pseries/setup.c
Loading
Please register or sign in to comment