[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/9] hw/sysbus/platform-bus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE
- To: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
- From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
- Date: Tue, 28 Jan 2025 11:41:19 +0100
- Cc: qemu-devel@xxxxxxxxxx, Yi Liu <yi.l.liu@xxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>, Eduardo Habkost <eduardo@xxxxxxxxxxx>, Anthony PERARD <anthony@xxxxxxxxxxxxxx>, Gustavo Romero <gustavo.romero@xxxxxxxxxx>, Jason Wang <jasowang@xxxxxxxxxx>, qemu-ppc@xxxxxxxxxx, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Alexander Graf <graf@xxxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>, Bernhard Beschow <shentey@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Daniel P. Berrangé <berrange@xxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Marcel Apfelbaum <marcel.apfelbaum@xxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Clément Mathieu--Drif <clement.mathieu--drif@xxxxxxxxxx>, Cédric Le Goater <clg@xxxxxxxxxx>
- Delivery-date: Tue, 28 Jan 2025 10:41:52 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Sat, Jan 25, 2025 at 07:13:34PM +0100, Philippe Mathieu-Daudé wrote:
> Some SysBus devices can optionally be dynamically plugged onto
> the sysbus-platform-bus (then virtual guests are aware of
> mmio mapping and IRQs via device tree / ACPI rules).
Do we have some sane way to have user-pluggable sysbus devices on arm?
I've played around with that a bit, with the uefi variable service I'm
working on. Specifically I'd prefer to *not* have a patch wiring things
up in machine type code like this ...
https://lore.kernel.org/qemu-devel/20250107153353.1144978-20-kraxel@xxxxxxxxxx/
... and just use 'qemu -device uefi-vars-sysbus' instead.
Something like AcpiDevAmlIfClass but for device tree seems to not exist
though. Also apparently AcpiDevAmlIfClass is not used.
take care,
Gerd
|