Skip to content

hw/ppc: Remove tswap() calls

Philippe Mathieu-Daudé qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 5 repliesIn review
  2. v37 patches 15 repliesSuperseded
  3. v1 RFC1 patch 2 repliesSuperseded

Changes in v4 from the cover letter

- Addressed Nick & Harsh review comments

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hw/ppc/spapr: Convert HPTE() macro as hpte_get_ptr() methodhw/ppc/spapr.c+22 -160 replies
2/6hw/ppc/spapr: Convert HPTE_VALID() macro as hpte_is_valid() methodhw/ppc/spapr.c+9 -50 replies
3/6hw/ppc/spapr: Convert HPTE_DIRTY() macro as hpte_is_dirty() methodhw/ppc/spapr.c+8 -40 replies
4/6hw/ppc/spapr: Convert CLEAN_HPTE() macro as hpte_set_clean() methodhw/ppc/spapr.c+10 -50 replies
5/6hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() methodhw/ppc/spapr.c+6 -20 replies
6/6hw/ppc/epapr: Do not swap ePAPR magic valuehw/ppc/sam460ex.c hw/ppc/virtex_ml507.c+2 -21 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNicholas PigginBALATON ZoltanHarsh Prateek Bora
SeriesR-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

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

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(-)
Signature · 1 line
2.47.1