Skip to content

hw: Preparatory cleanups previous to remove DEVICE_NATIVE_ENDIAN

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 9 repliesIn review
  2. v16 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8hw/arm/Kconfig: Have FSL_IMX6UL SoC select IMX_USBPHYhw/arm/Kconfig hw/usb/Kconfig+1 -11 reply
2/8hw/net/opencores: Clarify MMIO read/write handlers expect 32-bit accesshw/net/opencores_eth.c+9 -60 replies
3/8hw/char/serial: Let compiler pick serial_mm_ops[] array lengthhw/char/serial-mm.c+1 -10 replies
4/8hw/misc/pvpanic: Expose MMIO interface as little-endianhw/misc/pvpanic.c+1 -02 replies
5/8hw/timer/hpet: Mark implementation as being little-endianhw/timer/hpet.c rust/hw/timer/hpet/src/device.rs+2 -21 reply
6/8hw/char/pl011: Mark implementation as being little-endianhw/char/pl011.c rust/hw/char/pl011/src/device.rs+2 -22 replies
7/8rust/system: Stop exposing bogus DEVICE_NATIVE_ENDIAN symbolrust/system/src/memory.rs+0 -62 replies
8/8target/hexagon: Include missing 'cpu.h' header in 'internal.h'target/hexagon/internal.h+1 -10 replies

Reviews trailers per patch

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

PatchRichard HendersonThomas HuthMatheus Tavares BernardinoBrian CainManos PitsidianakisZhao Liu
1/8R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b R-b
6/8R-b R-b R-b
7/8R-b R-b R-b
8/8A-b 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 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] hw: Preparatory cleanups previous to remove DEVICE_NATIVE_ENDIAN

We want to remove the bogus DEVICE_NATIVE_ENDIAN definition, by making it explicit (either big or little).

I'll follow with one series for each architecture. These devices seem used by more than one, so I took them apart.

Also remove from rust API ASAP.

tag: https://gitlab.com/philmd/qemu/-/tags/endian_misc_hw-v2
CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066

Philippe Mathieu-Daudé (8):
hw/arm/Kconfig: Have FSL_IMX6UL SoC select IMX_USBPHY hw/net/opencores: Clarify MMIO read/write handlers expect 32-bit
access
hw/char/serial: Let compiler pick serial_mm_ops[] array length hw/misc/pvpanic: Expose MMIO interface as little-endian hw/timer/hpet: Mark implementation as being little-endian hw/char/pl011: Mark implementation as being little-endian rust/system: Stop exposing bogus DEVICE_NATIVE_ENDIAN symbol target/hexagon: Include missing 'cpu.h' header in 'internal.h'

 target/hexagon/internal.h        |  2 +-
 hw/char/pl011.c                  |  2 +-
 hw/char/serial-mm.c              |  2 +-
 hw/misc/pvpanic.c                |  1 +
 hw/net/opencores_eth.c           | 15 +++++++++------
 hw/timer/hpet.c                  |  2 +-
 hw/arm/Kconfig                   |  1 +
 hw/usb/Kconfig                   |  1 -
 rust/hw/char/pl011/src/device.rs |  2 +-
 rust/hw/timer/hpet/src/device.rs |  2 +-
 rust/system/src/memory.rs        |  6 ------
 11 files changed, 17 insertions(+), 19 deletions(-)
Signature · 1 line
2.52.0