[kvm-unit-tests PATCH v3 0/2] powerpc: add little-endian support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-v3

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                 | 11 +++++++++++
 lib/powerpc/asm/ppc_asm.h | 33 +++++++++++++++++++++++++++++++++
 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 +++++++++++++++++--------------
 7 files changed, 79 insertions(+), 17 deletions(-)
 create mode 100644 lib/powerpc/asm/ppc_asm.h
 create mode 100644 lib/ppc64/asm/ppc_asm.h

-- 
2.5.0

--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux