Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v4 0/2] powerpc: add little-endian support
@ 2016-03-01  9:35 Laurent Vivier
  2016-03-01  9:35 ` [kvm-unit-tests PATCH v4 1/2] powerpc: add asm/ppc_asm.h Laurent Vivier
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laurent Vivier @ 2016-03-01  9:35 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-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

-- 
2.5.0


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01  9:35 [kvm-unit-tests PATCH v4 0/2] powerpc: add little-endian support Laurent Vivier
2016-03-01  9:35 ` [kvm-unit-tests PATCH v4 1/2] powerpc: add asm/ppc_asm.h Laurent Vivier
2016-03-01  9:35 ` [kvm-unit-tests PATCH v4 2/2] powerpc: select endianness Laurent Vivier
2016-03-01 10:55   ` Andrew Jones
2016-03-01 21:08 ` [kvm-unit-tests PATCH v4 0/2] powerpc: add little-endian support Paolo Bonzini

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