mbox series

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

Message ID 20231123143813.42632-1-philmd@linaro.org
Headers show
Series hw: Simplify accesses to CPUState::'start-powered-off' property | expand

Message

Philippe Mathieu-Daudé Nov. 23, 2023, 2:38 p.m. UTC
Extracted from a bigger series, after Markus' review.

Supersedes: <20231122183633.17676-1-philmd@linaro.org>
Supersedes: <20231122183048.17150-8-philmd@linaro.org>

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(-)