Re: [PATCH 0/4] ICH9 root PCI hotplug

2023-11-29 Thread Thierry Escande
On 24/11/2023 15:54, Michael S. Tsirkin wrote: On Fri, Nov 24, 2023 at 03:01:35PM +0100, Igor Mammedov wrote: On Wed, 15 Nov 2023 17:18:53 + Thierry Escande wrote: Hi, This series fixes acpi_hotplug_bridge accessor names, adds new accessors for acpi-root-pci-hotplug property, and

[PATCH 0/4] ICH9 root PCI hotplug

2023-11-15 Thread Thierry Escande
Hi, This series fixes acpi_hotplug_bridge accessor names, adds new accessors for acpi-root-pci-hotplug property, and enables root PCI hotplug by default for Q35 machine. Thierry Escande (4): ich9: Remove unused hotplug field from ICH9LPCPMRegs struct ich9: Renamed use_acpi_hotplug_bridge

[PATCH 1/4] ich9: Remove unused hotplug field from ICH9LPCPMRegs struct

2023-11-15 Thread Thierry Escande
. Signed-off-by: Thierry Escande --- include/hw/acpi/ich9.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h index 2faf7f0cae..4bc9aa1d11 100644 --- a/include/hw/acpi/ich9.h +++ b/include/hw/acpi/ich9.h @@ -57,7 +57,6 @@ typedef struct ICH9LPCPMRegs

[PATCH 3/4] ich9: Add accessors for acpi-root-pci-hotplug

2023-11-15 Thread Thierry Escande
This patch adds accessors for acpi-root-pci-hotplug property. PCI hotplug can be enabled/disabled with: -global ICH9-LPC.acpi-root-pci-hotplug=on|off Signed-off-by: Thierry Escande --- hw/acpi/ich9.c | 17 + 1 file changed, 17 insertions(+) diff --git a/hw/acpi/ich9.c b/hw

[PATCH 4/4] ich9: Enable root PCI hotplug by default

2023-11-15 Thread Thierry Escande
This patch initializes use_acpi_root_pci_hotplug to true and enables device PCI hotplug on q35 machine by default. Signed-off-by: Thierry Escande --- hw/acpi/ich9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index e38c9bb998..ad2c8ad8ed 100644 --- a/hw

[PATCH 2/4] ich9: Renamed use_acpi_hotplug_bridge accessors

2023-11-15 Thread Thierry Escande
The accessors were named as ich9_pm_get/set_acpi_pci_hotplug(). This patch renames them as ich9_pm_get/set_acpi_hotplug_bridge(). Signed-off-by: Thierry Escande --- hw/acpi/ich9.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index