Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v3 0/2] powerpc: add little-endian support
@ 2016-02-29 17:49 Laurent Vivier
  2016-02-29 17:49 ` [kvm-unit-tests PATCH v3 1/2] powerpc: add asm/ppc_asm.h Laurent Vivier
  2016-02-29 17:49 ` [kvm-unit-tests PATCH v3 2/2] powerpc: select endianness Laurent Vivier
  0 siblings, 2 replies; 9+ messages in thread
From: Laurent Vivier @ 2016-02-29 17:49 UTC (permalink / raw)
  To: kvm, kvm-ppc; +Cc: drjones, thuth, dgibson, agraf, pbonzini, Laurent Vivier

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-01  8:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 17:49 [kvm-unit-tests PATCH v3 0/2] powerpc: add little-endian support Laurent Vivier
2016-02-29 17:49 ` [kvm-unit-tests PATCH v3 1/2] powerpc: add asm/ppc_asm.h Laurent Vivier
2016-02-29 18:56   ` Andrew Jones
2016-03-01  8:30   ` Thomas Huth
2016-02-29 17:49 ` [kvm-unit-tests PATCH v3 2/2] powerpc: select endianness Laurent Vivier
2016-02-29 19:44   ` Andrew Jones
2016-03-01  8:12     ` Laurent Vivier
2016-03-01  8:40   ` Thomas Huth
2016-03-01  8:54     ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox