[Skiboot] [PATCH 0/6] various endian sanitisation

Nicholas Piggin npiggin at gmail.com
Wed Sep 25 11:19:15 AEST 2019


These get little endian skiboot to boot in mambo, and on real OP
hardware boot until xive initialisation.

Nicholas Piggin (6):
  cpu: use dt accessor device tree access
  opal-api: add more endian conversions to API implementations
  spira: fix endian conversions in spira data structures
  fixup_spira remove incorrect endian conversion
  io: endian conversions for io accessors
  hw/phb4: fix lane_eq_default for little endian

 core/console.c       | 19 +++++++----
 core/cpu.c           |  2 +-
 core/interrupts.c    |  8 +++--
 core/pci-opal.c      | 80 +++++++++++++++++++++++++++++++++++---------
 core/powercap.c      | 12 +++++--
 core/psr.c           | 12 +++++--
 hdata/spira.c        | 55 +++++++++++++++++++-----------
 hw/fsp/fsp-console.c | 26 ++++++++------
 hw/lpc-uart.c        | 16 ++++-----
 hw/npu2-opencapi.c   | 10 ++++--
 hw/phb4.c            | 12 +++----
 hw/xscom.c           | 19 +++++++++--
 include/console.h    |  6 ++--
 include/io.h         | 36 +++++++++++++-------
 14 files changed, 217 insertions(+), 96 deletions(-)

-- 
2.23.0



More information about the Skiboot mailing list