hw: Add ld/st_endian() APIs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 34 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | qemu/bswap: Introduce ld/st_endian_p() APIinclude/ | +19 | 6 replies | |
| 2/13 | hw/virtio/virtio-access: Use the ld/st_endian_p() APIinclude/ | +6 | 1 reply | |
| 3/13 | target/arm/ptw: Use the ld/st_endian_p() APItarget/ | +4 | 1 reply | |
| 4/13 | hw/mips: Pass BlCpuCfg argument to bootloader APIhw/ hw/ hw/ +2 more | +109 | 1 reply | |
| 5/13 | hw/mips: Add cpu_is_bigendian field to BlCpuCfg structurehw/ hw/ hw/ +2 more | +9 | 1 reply | |
| 6/13 | tests/tcg/plugins: Use the ld/st_endian_p() APItests/ | +6 | 2 replies | |
| 7/13 | hw/xtensa/xtfpga: Remove TARGET_BIG_ENDIAN #ifdef'ryhw/ | +7 | 4 replies | |
| 8/13 | hw/xtensa/xtfpga: Replace memcpy()+tswap32() by stl_endian_p()hw/ | +2 | 9 replies | |
| 9/13 | exec/memory_ldst_phys: Introduce ld/st_endian_phys() APIinclude/ | +66 | 3 replies | |
| 10/13 | hw/virtio/virtio-access: Use ld/st_endian_phys() APIinclude/ | +5 | 1 reply | |
| 11/13 | hw/pci/pci_device: Add PCI_DMA_DEFINE_LDST_END() macroinclude/ | +7 | 1 reply | |
| 12/13 | hw/pci/pci_device: Introduce ld/st_endian_pci_dma() APIinclude/ | +23 | 2 replies | |
| 13/13 | hw/net/tulip: Use ld/st_endian_pci_dma() APIhw/ | +10 | 2 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Pierrick Bouvier | Alex Bennée |
|---|---|---|---|
| 1/13 | R-b | ||
| 2/13 | R-b | ||
| 3/13 | R-b | ||
| 4/13 | R-b | ||
| 5/13 | R-b | ||
| 6/13 | R-b | A-b | |
| 7/13 | R-b | R-b | |
| 8/13 | R-b | ||
| 9/13 | R-b | ||
| 10/13 | R-b | ||
| 11/13 | R-b | ||
| 12/13 | R-b | ||
| 13/13 | 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 3 reviewers.
Cover letter [PATCH 00/13] hw: Add ld/st_endian() APIs
In preparation of heterogeneous machines, remove knowledge of the target endianness in generic hw/ code. Move it to the machine level.
Philippe Mathieu-Daudé (13):
qemu/bswap: Introduce ld/st_endian_p() API hw/virtio/virtio-access: Use the ld/st_endian_p() API target/arm/ptw: Use the ld/st_endian_p() API hw/mips: Pass BlCpuCfg argument to bootloader API hw/mips: Add cpu_is_bigendian field to BlCpuCfg structure tests/tcg/plugins: Use the ld/st_endian_p() API hw/xtensa/xtfpga: Remove TARGET_BIG_ENDIAN #ifdef'ry hw/xtensa/xtfpga: Replace memcpy()+tswap32() by stl_endian_p() exec/memory_ldst_phys: Introduce ld/st_endian_phys() API hw/virtio/virtio-access: Use ld/st_endian_phys() API hw/pci/pci_device: Add PCI_DMA_DEFINE_LDST_END() macro hw/pci/pci_device: Introduce ld/st_endian_pci_dma() API hw/net/tulip: Use ld/st_endian_pci_dma() API
include/hw/mips/bootloader.h | 18 +++- include/hw/pci/pci_device.h | 35 +++++-- include/hw/virtio/virtio-access.h | 63 ++---------- include/qemu/bswap.h | 19 ++++ include/exec/memory_ldst_phys.h.inc | 66 ++++++++++++ hw/mips/bootloader.c | 152 +++++++++++++++------------- hw/mips/boston.c | 9 +- hw/mips/fuloong2e.c | 3 +- hw/mips/malta.c | 21 ++-- hw/net/tulip.c | 32 ++---- hw/xtensa/xtfpga.c | 18 ++-- target/arm/ptw.c | 19 +--- tests/tcg/plugins/mem.c | 24 ++--- 13 files changed, 269 insertions(+), 210 deletions(-)
Signature · 1 line
2.45.2