On 01/03/2016 10:35, Laurent Vivier wrote: > It allows to build and use little-endian kvm-unit-tests on > big and little endian hosts. > > The series is also available from: > > https://github.com/vivier/kvm-unit-tests/commits/ppc64/endianness-v4 > > v4: remove duplicate exit in configure > add RTAS_MSR_MASK in asm/rtas.h and use it in cstart64.S > > v3: rebase on master > rename RETURN_FROM_BE to FIXUP_ENDIAN > remove B_BE > restore Makefie.$(ARCH) > compile boot_rom.elf only with "-mbig-endian" C flag > force to use "--endian" with ppc64 > add a patch to create ppc_asm.h (and move some code) > > v2: replace FIXUP_ENDIAN from linux by a home made version > (B_BE and RETURN_FROM_BE) > > Laurent Vivier (2): > powerpc: add asm/ppc_asm.h > powerpc: select endianness > > configure | 10 ++++++++++ > lib/powerpc/asm/ppc_asm.h | 33 +++++++++++++++++++++++++++++++++ > lib/powerpc/asm/rtas.h | 6 ++++++ > lib/ppc64/asm/io.h | 8 ++++++++ > lib/ppc64/asm/ppc_asm.h | 1 + > powerpc/Makefile.common | 3 ++- > powerpc/Makefile.ppc64 | 9 +++++++-- > powerpc/cstart64.S | 31 +++++++++++++++++-------------- > 8 files changed, 84 insertions(+), 17 deletions(-) > create mode 100644 lib/powerpc/asm/ppc_asm.h > create mode 100644 lib/ppc64/asm/ppc_asm.h > Looks good, will push tomorrow. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html