All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] hw/acpi: convert object props to class props
@ 2026-06-22 11:22 Mark Cave-Ayland
  2026-06-22 11:22 ` [PATCH 1/7] hw/acpi/ich9.c: move initial property values into ich9_reset_properties() Mark Cave-Ayland
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Mark Cave-Ayland @ 2026-06-22 11:22 UTC (permalink / raw)
  To: mst, imammedo, anisinha, philmd, aurelien, peter.maydell,
	pbonzini, richard.henderson, qemu-devel, qemu-arm

Since the use of object props is effectively deprecated, here is an attempt
to convert all use of object props in hw/acpi to class props. The eventual
aim is to continue working through the codebase, removing all remaining uses
of object props.

The series is lightly tested: it passes "make check", GitLab CI and some
simple local tests. I'm mostly interested for feedback on the conversion
strategy, and to get a feel for the best way to merge this series since once
the basic conversion patterns are in place, the same patterns can be applied
elsewhere and it would be good to minimise the merge window for such changes.

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>


Mark Cave-Ayland (7):
  hw/acpi/ich9.c: move initial property values into
    ich9_reset_properties()
  hw/isa/lpc_ich9.c: convert ich9_lpc_initfn() object props to class
    props
  hw/acpi/ich9.c: don't pass ICH9LPCPMRegs via opaque for
    ACPI_PM_PROP_GPE0_BLK prop
  hw/acpi/ich9.c: convert object props in ICH9_LPC_DEVICE to class props
  hw/acpi/pcihp.c: convert ACPI_PCIHP_IO_BASE_PROP and
    ACPI_PCIHP_IO_BASE_PROP to class props
  hw/acpi/pcihp.c: convert ACPI_PCIHP_PROP_BSEL from object prop to
    class prop
  hw/acpi/piix4.c: convert object props in PIIX4_PM to class props

 include/hw/acpi/ich9.h         |   4 +-
 include/hw/pci/pci_bus.h       |   2 +
 hw/acpi/generic_event_device.c |  30 ++++++
 hw/acpi/ich9.c                 | 192 ++++++++++++++++++++++++++++-----
 hw/acpi/pci-bridge.c           |   9 +-
 hw/acpi/pcihp.c                |  37 +++----
 hw/acpi/piix4.c                |  72 ++++++++++---
 hw/arm/virt-acpi-build.c       |   7 +-
 hw/i386/acpi-build.c           |   7 +-
 hw/isa/lpc_ich9.c              |  68 +++++++++---
 hw/pci/pci.c                   |  32 ++++++
 11 files changed, 376 insertions(+), 84 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-06-25 14:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 11:22 [PATCH 0/7] hw/acpi: convert object props to class props Mark Cave-Ayland
2026-06-22 11:22 ` [PATCH 1/7] hw/acpi/ich9.c: move initial property values into ich9_reset_properties() Mark Cave-Ayland
2026-06-25 13:55   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 2/7] hw/isa/lpc_ich9.c: convert ich9_lpc_initfn() object props to class props Mark Cave-Ayland
2026-06-25 13:56   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 3/7] hw/acpi/ich9.c: don't pass ICH9LPCPMRegs via opaque for ACPI_PM_PROP_GPE0_BLK prop Mark Cave-Ayland
2026-06-25 13:57   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 4/7] hw/acpi/ich9.c: convert object props in ICH9_LPC_DEVICE to class props Mark Cave-Ayland
2026-06-25 13:58   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 5/7] hw/acpi/pcihp.c: convert ACPI_PCIHP_IO_BASE_PROP and ACPI_PCIHP_IO_BASE_PROP " Mark Cave-Ayland
2026-06-25 13:59   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 6/7] hw/acpi/pcihp.c: convert ACPI_PCIHP_PROP_BSEL from object prop to class prop Mark Cave-Ayland
2026-06-25 14:00   ` Daniel P. Berrangé
2026-06-22 11:22 ` [PATCH 7/7] hw/acpi/piix4.c: convert object props in PIIX4_PM to class props Mark Cave-Ayland
2026-06-25 14:01   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.