mbox series

[v3,0/7] hw/ppc: Remove tswap() calls

Message ID 20241218182106.78800-1-philmd@linaro.org
Headers show
Series hw/ppc: Remove tswap() calls | expand

Message

Philippe Mathieu-Daudé Dec. 18, 2024, 6:20 p.m. UTC
Remove the tswap() calls on ePAPR, and convert
them to big-endian LD/ST API on sPAPR.

Build-tested only.

Philippe Mathieu-Daudé (7):
  meson: Run some compiler checks using -Wno-unused-value
  hw/ppc/spapr: Convert HPTE() macro as hpte_get() method
  hw/ppc/spapr: Convert HPTE_VALID() macro as hpte_is_valid() method
  hw/ppc/spapr: Convert HPTE_DIRTY() macro as hpte_is_dirty() method
  hw/ppc/spapr: Convert CLEAN_HPTE() macro as hpte_set_clean() method
  hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() method
  hw/ppc/epapr: Do not swap ePAPR magic value

 meson.build           | 11 +++++---
 hw/ppc/sam460ex.c     |  2 +-
 hw/ppc/spapr.c        | 63 +++++++++++++++++++++++++++++--------------
 hw/ppc/virtex_ml507.c |  2 +-
 4 files changed, 52 insertions(+), 26 deletions(-)