Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/2] powerpc: add little-endian support
@ 2016-02-26 17:08 Laurent Vivier
  2016-02-26 17:08 ` [kvm-unit-tests PATCH v2 1/2] powerpc: allow to build big-endian binaries on little-endian host Laurent Vivier
  2016-02-26 17:08 ` [kvm-unit-tests PATCH v2 2/2] powerpc: select endianness Laurent Vivier
  0 siblings, 2 replies; 17+ messages in thread
From: Laurent Vivier @ 2016-02-26 17:08 UTC (permalink / raw)
  To: kvm, kvm-ppc; +Cc: drjones, thuth, dgibson, agraf, pbonzini, Laurent Vivier

This series must be applied on top of Drew's series (v7):

 ppc64: initial drop

It allows to build and use big-endian kvm-unit-tests on little-
endian host (Patch #1), and to build and use little-endian
kvm-unit-tests (Patch #2) on big and little endian hosts.

The series is also available from:

  https://github.com/vivier/kvm-unit-tests/commits/ppc64/endianness-v2

v2: replace FIXUP_ENDIAN from linux by a home made version
    (B_BE and RETURN_FROM_BE)

Laurent Vivier (2):
  powerpc: allow to build big-endian binaries on little-endian host
  powerpc: select endianness

 Makefile                  | 11 ++++++-----
 configure                 |  8 +++++++-
 lib/powerpc/asm/ppc_asm.h | 36 ++++++++++++++++++++++++++++++++++++
 lib/ppc64/asm/io.h        |  8 ++++++++
 lib/ppc64/asm/ppc_asm.h   |  1 +
 powerpc/Makefile          |  2 +-
 powerpc/Makefile.big      | 21 +++++++++++++++++++++
 powerpc/Makefile.common   | 29 +++++++++++++++--------------
 powerpc/Makefile.little   | 21 +++++++++++++++++++++
 powerpc/Makefile.ppc64    | 19 -------------------
 powerpc/cstart64.S        | 14 ++++++++++----
 11 files changed, 126 insertions(+), 44 deletions(-)
 create mode 100644 lib/powerpc/asm/ppc_asm.h
 create mode 100644 lib/ppc64/asm/ppc_asm.h
 create mode 100644 powerpc/Makefile.big
 create mode 100644 powerpc/Makefile.little
 delete mode 100644 powerpc/Makefile.ppc64

-- 
2.5.0


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

end of thread, other threads:[~2019-05-17 10:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26 17:08 [kvm-unit-tests PATCH v2 0/2] powerpc: add little-endian support Laurent Vivier
2016-02-26 17:08 ` [kvm-unit-tests PATCH v2 1/2] powerpc: allow to build big-endian binaries on little-endian host Laurent Vivier
2016-02-26 17:41   ` Andrew Jones
2016-02-26 17:42   ` Andrew Jones
2019-05-15  0:28   ` [kvm-unit-tests PATCH v2 1/2] powerpc: Allow for a custom decr value to be specified to load on decr Suraj Jitindar Singh
2019-05-15  0:28     ` [kvm-unit-tests PATCH v2 2/2] powerpc: Make h_cede_tm test run by default Suraj Jitindar Singh
2019-05-15 16:25       ` Laurent Vivier
2019-05-17 10:13       ` Thomas Huth
2019-05-15 16:22     ` [kvm-unit-tests PATCH v2 1/2] powerpc: Allow for a custom decr value to be specified to load on Laurent Vivier
2019-05-15 23:27       ` Suraj Jitindar Singh
2019-05-17 10:20         ` Thomas Huth
2016-02-26 17:08 ` [kvm-unit-tests PATCH v2 2/2] powerpc: select endianness Laurent Vivier
2016-02-26 18:45   ` Andrew Jones
2016-02-29 13:24     ` Laurent Vivier
2016-02-29 16:06     ` Paolo Bonzini
2016-02-29 16:44       ` Laurent Vivier
2016-02-29 17:53     ` Laurent Vivier

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