Skip to content

hw/arm: Cleanups around QOM style

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8hw/gpio/max7310: Simplify max7310_realize()hw/gpio/max7310.c+2 -31 reply
2/8hw/char/pl011: Un-inline pl011_create()hw/char/pl011.c include/hw/char/pl011.h+18 -182 replies
3/8hw/char/pl011: Open-code pl011_luminary_create()hw/arm/stellaris.c include/hw/char/pl011.h+8 -202 replies
4/8hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM typehw/char/xilinx_uartlite.c include/hw/char/xilinx_uartlite.h+6 -42 replies
5/8hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create()hw/microblaze/petalogix_s3adsp1800_mmu.c include/hw/char/xilinx_uartlite.h+5 -222 replies
6/8hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()hw/arm/mps2.c include/hw/char/cmsdk-apb-uart.h+27 -482 replies
7/8hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' headerinclude/hw/timer/cmsdk-apb-timer.h+0 -11 reply
8/8hw/intc/armv7m_nvic: Use QOM cast CPU() macrohw/intc/armv7m_nvic.c+3 -31 reply

Reviews trailers per patch

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

PatchAlex BennéeRichard HendersonPeter Maydell
1/8R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b R-b
6/8R-b
7/8R-b
8/8R-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 v1 thread

Cover letter [PATCH 0/8] hw/arm: Cleanups around QOM style

- Reduce "hw/qdev-properties.h" inclusions
- Open-code various QDev helpers used few times
- Use QOM cast macro when relevant

Philippe Mathieu-Daudé (8):
hw/gpio/max7310: Simplify max7310_realize() hw/char/pl011: Un-inline pl011_create()
hw/char/pl011: Open-code pl011_luminary_create() hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create() hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create() hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' header hw/intc/armv7m_nvic: Use QOM cast CPU() macro

 hw/arm/mps2.c                            | 41 ++++++++++++++++--------
 hw/arm/stellaris.c                       | 11 +++++--
 hw/char/pl011.c                          | 17 ++++++++++
 hw/char/xilinx_uartlite.c                |  4 +--
 hw/gpio/max7310.c                        |  5 ++-
 hw/intc/armv7m_nvic.c                    |  6 ++--
 hw/microblaze/petalogix_s3adsp1800_mmu.c |  7 ++--
 include/hw/char/cmsdk-apb-uart.h         | 34 --------------------
 include/hw/char/pl011.h                  | 36 +--------------------
 include/hw/char/xilinx_uartlite.h        | 22 ++-----------
 include/hw/timer/cmsdk-apb-timer.h       |  1 -
 11 files changed, 67 insertions(+), 117 deletions(-)
Signature · 1 line
2.38.1