Skip to content

system/memory: Clarify unaligned load/store API

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- No "memory_" since it's for host pointers and not guest memory addresses (Paolo)
- Fix regexps

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4docs/devel/loads-stores: Clarify regexp are POSIX basic onesdocs/devel/loads-stores.rst+14 -141 reply
2/4docs/devel/loads-stores: Fix ld/stn_*_p() regexpdocs/devel/loads-stores.rst+4 -41 reply
3/4system/memory: Extract 'qemu/ldst_unaligned.h' headerMAINTAINERS accel/tcg/translator.c hw/display/ati_2d.c +8 more+77 -633 replies
4/4system/memory: Rename unaligned load/store APIaccel/tcg/ldst_atomicity.c.inc accel/tcg/translator.c docs/devel/loads-stores.rst +11 more+70 -684 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniRichard HendersonBALATON ZoltanPeter Maydell
1/4R-b
2/4R-b
3/4R-b A-b
4/4Inspired-by R-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 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] system/memory: Clarify unaligned load/store API

I have been confused by the load/store 'host endian' API for years: this is just about unaligned loads/stores. Rename to clarify.

v2:
- No "memory_" since it's for host pointers and not guest memory addresses (Paolo)
- Fix regexps

Philippe Mathieu-Daudé (4):
docs/devel/loads-stores: Clarify regexp are POSIX basic ones docs/devel/loads-stores: Fix ld/stn_*_p() regexp system/memory: Extract 'qemu/ldst_unaligned.h' header system/memory: Rename unaligned load/store API

 MAINTAINERS                    |  1 +
 docs/devel/loads-stores.rst    | 47 ++++++++---------
 include/qemu/bswap.h           | 96 +++++++---------------------------
 include/qemu/ldst_unaligned.h  | 67 ++++++++++++++++++++++++
 accel/tcg/translator.c         |  7 +--
 hw/display/ati_2d.c            |  3 +-
 hw/display/sm501.c             | 21 ++++----
 hw/remote/vfio-user-obj.c      |  5 +-
 hw/vmapple/virtio-blk.c        |  3 +-
 net/checksum.c                 |  7 +--
 system/memory.c                |  4 +-
 system/physmem.c               |  8 +--
 ui/vnc-enc-tight.c             |  3 +-
 util/bufferiszero.c            |  8 +--
 accel/tcg/ldst_atomicity.c.inc | 10 ++--
 15 files changed, 153 insertions(+), 137 deletions(-)
 create mode 100644 include/qemu/ldst_unaligned.h
Signature · 1 line
2.52.0