Skip to content

hw: Simplify accesses to CPUState::'start-powered-off' property

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest8 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8hw/ppc/spapr_cpu_core: Access QDev properties with proper APIhw/ppc/spapr_cpu_core.c+1 -11 reply
2/8hw/arm/bcm2836: Simplify use of 'reset-cbar' propertyhw/arm/bcm2836.c+2 -41 reply
3/8hw/arm/bcm2836: Use ARM_CPU 'mp-affinity' propertyhw/arm/bcm2836.c+2 -21 reply
4/8hw: Simplify accesses to the CPUState::'start-powered-off' propertyhw/arm/armsse.c hw/arm/armv7m.c hw/arm/bcm2836.c +3 more+11 -221 reply
5/8hw: Prefer qdev_prop_set_bit over object_property_set_bool for QDevhw/acpi/cpu_hotplug.c hw/acpi/ich9.c hw/acpi/piix4.c +25 more+64 -1053 replies
6/8hw: Simplify uses of qdev_prop_set_bit(dev, 'start-powered-off')hw/arm/allwinner-h3.c hw/arm/allwinner-r40.c hw/arm/bcm2836.c +2 more+10 -161 reply
7/8hw/arm/bcm2836: Move code after error checkshw/arm/bcm2836.c+7 -71 reply
8/8hw/arm/bcm2836: Add local variable to remove various DEVICE() castshw/arm/bcm2836.c+10 -91 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchAni SinhaHarsh Prateek BoraPeter Maydell
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b R-b R-b
6/8R-b
7/8
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 v2 thread

Cover letter [PATCH-for-9.0 v2 0/8] hw: Simplify accesses to CPUState::'start-powered-off' property

Extracted from a bigger series, after Markus' review.

Supersedes: <[email protected]>
Supersedes: <[email protected]>

Philippe Mathieu-Daudé (8):
hw/ppc/spapr_cpu_core: Access QDev properties with proper API hw/arm/bcm2836: Simplify use of 'reset-cbar' property hw/arm/bcm2836: Use ARM_CPU 'mp-affinity' property
hw: Simplify accesses to the CPUState::'start-powered-off' property
hw: Prefer qdev_prop_set_bit over object_property_set_bool for QDev
hw: Simplify uses of qdev_prop_set_bit(dev, 'start-powered-off') hw/arm/bcm2836: Move code after error checks hw/arm/bcm2836: Add local variable to remove various DEVICE() casts

 hw/acpi/cpu_hotplug.c               |  7 ++--
 hw/acpi/ich9.c                      |  4 +--
 hw/acpi/piix4.c                     |  4 +--
 hw/arm/allwinner-h3.c               |  3 +-
 hw/arm/allwinner-r40.c              |  3 +-
 hw/arm/armsse.c                     |  5 +--
 hw/arm/armv7m.c                     |  7 +---
 hw/arm/aspeed_ast2400.c             |  3 +-
 hw/arm/aspeed_ast2600.c             |  9 ++---
 hw/arm/bcm2835_peripherals.c        |  3 +-
 hw/arm/bcm2836.c                    | 51 +++++++++++++----------------
 hw/arm/boot.c                       |  4 +--
 hw/arm/fsl-imx25.c                  |  3 +-
 hw/arm/fsl-imx31.c                  |  3 +-
 hw/arm/fsl-imx6.c                   | 14 +++-----
 hw/arm/fsl-imx6ul.c                 |  8 ++---
 hw/arm/fsl-imx7.c                   | 20 +++++------
 hw/arm/npcm7xx.c                    |  9 ++---
 hw/arm/xlnx-versal.c                |  9 ++---
 hw/arm/xlnx-zynqmp.c                |  9 ++---
 hw/core/bus.c                       |  2 +-
 hw/core/qdev.c                      |  2 +-
 hw/i386/pc_piix.c                   | 19 ++++-------
 hw/microblaze/petalogix_ml605_mmu.c |  5 ++-
 hw/microblaze/xlnx-zynqmp-pmu.c     | 18 ++++------
 hw/mips/cps.c                       |  6 ++--
 hw/ppc/e500.c                       |  3 +-
 hw/ppc/spapr_cpu_core.c             |  2 +-
 hw/ppc/spapr_pci.c                  |  3 +-
 hw/rx/rx-gdbsim.c                   |  4 +--
 hw/sparc/sun4m.c                    |  3 +-
 31 files changed, 93 insertions(+), 152 deletions(-)
Signature · 1 line
2.41.0