[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] ich9: Enable root PCI hotplug by default
From: |
Igor Mammedov |
Subject: |
Re: [PATCH 4/4] ich9: Enable root PCI hotplug by default |
Date: |
Fri, 24 Nov 2023 14:37:40 +0100 |
On Wed, 15 Nov 2023 17:18:54 +0000
Thierry Escande <thierry.escande@vates.tech> wrote:
> 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 <thierry.escande@vates.tech>
> ---
> 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/acpi/ich9.c
> +++ b/hw/acpi/ich9.c
> @@ -450,6 +450,7 @@ void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs
> *pm)
> pm->disable_s4 = 0;
> pm->s4_val = 2;
> pm->acpi_pci_hotplug.use_acpi_hotplug_bridge = true;
> + pm->acpi_pci_hotplug.use_acpi_root_pci_hotplug = true;
> pm->keep_pci_slot_hpc = true;
> pm->enable_tco = true;
>
That probably is not enough,
due to:
if (pm->pcihp_bridge_en) {
build_x86_acpi_pci_hotplug(dsdt, pm->pcihp_io_base);
}
build_q35_pci0_int(dsdt);
- [PATCH 0/4] ICH9 root PCI hotplug, Thierry Escande, 2023/11/15
- [PATCH 1/4] ich9: Remove unused hotplug field from ICH9LPCPMRegs struct, Thierry Escande, 2023/11/15
- [PATCH 4/4] ich9: Enable root PCI hotplug by default, Thierry Escande, 2023/11/15
- [PATCH 3/4] ich9: Add accessors for acpi-root-pci-hotplug, Thierry Escande, 2023/11/15
- [PATCH 2/4] ich9: Renamed use_acpi_hotplug_bridge accessors, Thierry Escande, 2023/11/15
- Re: [PATCH 0/4] ICH9 root PCI hotplug, Igor Mammedov, 2023/11/24