Re: [PATCH v2 00/12] hw: Strengthen SysBus & QBus API

2023-10-19 Thread Philippe Mathieu-Daudé
On 19/10/23 09:15, Philippe Mathieu-Daudé wrote: Philippe Mathieu-Daudé (12): hw/i386/amd_iommu: Do not use SysBus API to map local MMIO region hw/i386/intel_iommu: Do not use SysBus API to map local MMIO region hw/misc/allwinner-dramc: Move sysbus_mmio_map call from init ->

Re: [PATCH v2 00/12] hw: Strengthen SysBus & QBus API

2023-10-19 Thread Philippe Mathieu-Daudé
On 19/10/23 09:32, Thomas Huth wrote: On 19/10/2023 09.15, Philippe Mathieu-Daudé wrote: Hi, This series ensure: - qbus_new() and sysbus_init_mmio() are called *before*    a device is realized, - sysbus_mmio_map() is called *after* it is realized. Just an additional idea that came up while

Re: [PATCH v2 00/12] hw: Strengthen SysBus & QBus API

2023-10-19 Thread Thomas Huth
On 19/10/2023 09.15, Philippe Mathieu-Daudé wrote: Hi, This series ensure: - qbus_new() and sysbus_init_mmio() are called *before* a device is realized, - sysbus_mmio_map() is called *after* it is realized. Just an additional idea that came up while reading your series: I think we should

[PATCH v2 00/12] hw: Strengthen SysBus & QBus API

2023-10-19 Thread Philippe Mathieu-Daudé
Hi, This series ensure: - qbus_new() and sysbus_init_mmio() are called *before* a device is realized, - sysbus_mmio_map() is called *after* it is realized. First we fix some abuse, then we enforce in qdev/sysbus core code. There is still a failure in PXA2xx: qemu-system-aarch64: