[PATCH v4 0/6] hw/ppc: Remove tswap() calls

Philippe Mathieu-Daudé posted 6 patches 2 days, 19 hours ago
hw/ppc/sam460ex.c     |  2 +-
hw/ppc/spapr.c        | 63 +++++++++++++++++++++++++++++--------------
hw/ppc/virtex_ml507.c |  2 +-
3 files changed, 45 insertions(+), 22 deletions(-)
[PATCH v4 0/6] hw/ppc: Remove tswap() calls
Posted by Philippe Mathieu-Daudé 2 days, 19 hours ago
Since v3:
- Addressed Nick & Harsh  review comments

Remove the tswap() calls on ePAPR, and convert
them to big-endian LD/ST API on sPAPR.

Build-tested only.

Philippe Mathieu-Daudé (6):
  hw/ppc/spapr: Convert HPTE() macro as hpte_get_ptr() 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

 hw/ppc/sam460ex.c     |  2 +-
 hw/ppc/spapr.c        | 63 +++++++++++++++++++++++++++++--------------
 hw/ppc/virtex_ml507.c |  2 +-
 3 files changed, 45 insertions(+), 22 deletions(-)

-- 
2.47.1