[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 6/7] hw/acpi/ich9: Set ACPI PCI hot-plug as default
From: |
Julia Suvorova |
Subject: |
Re: [RFC PATCH v3 6/7] hw/acpi/ich9: Set ACPI PCI hot-plug as default |
Date: |
Thu, 24 Sep 2020 16:24:02 +0200 |
On Thu, Sep 24, 2020 at 12:36 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Thu, Sep 24, 2020 at 09:00:12AM +0200, Julia Suvorova wrote:
>
> There needs to be a commit message to explain / justify why this change
> is a benefit. You have a nice list of pros/cons in the cover letter
> which could serve as a good commit message here.
>
> The cover letter gets discarded, only the commit message is in git
> history, so its beneficial to capture that info here.
Sure, I'll add it.
> > Signed-off-by: Julia Suvorova <jusual@redhat.com>
> > ---
> > hw/acpi/ich9.c | 2 +-
> > hw/i386/pc.c | 1 +
> > 2 files changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
> > index 987f23e388..c67c20de4e 100644
> > --- a/hw/acpi/ich9.c
> > +++ b/hw/acpi/ich9.c
> > @@ -425,7 +425,7 @@ void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs
> > *pm)
> > pm->disable_s3 = 0;
> > pm->disable_s4 = 0;
> > pm->s4_val = 2;
> > - pm->use_acpi_hotplug_bridge = false;
> > + pm->use_acpi_hotplug_bridge = true;
> >
> > object_property_add_uint32_ptr(obj, ACPI_PM_PROP_PM_IO_BASE,
> > &pm->pm_io_base, OBJ_PROP_FLAG_READ);
> > diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> > index b55369357e..5de4475570 100644
> > --- a/hw/i386/pc.c
> > +++ b/hw/i386/pc.c
> > @@ -101,6 +101,7 @@ GlobalProperty pc_compat_5_1[] = {};
> > const size_t pc_compat_5_1_len = G_N_ELEMENTS(pc_compat_5_1);
> >
> > GlobalProperty pc_compat_5_0[] = {
> > + { "ICH9-LPC", "acpi-pci-hotplug-with-bridge-support", "off" },
> > };
> > const size_t pc_compat_5_0_len = G_N_ELEMENTS(pc_compat_5_0);
> >
> > --
> > 2.25.4
> >
> >
>
> Regards,
> Daniel
> --
> |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org -o- https://fstop138.berrange.com :|
> |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
>
- Re: [RFC PATCH v3 3/7] hw/pci/pcie: Do not initialize slot capability if acpihp is used, (continued)
- [RFC PATCH v3 4/7] hw/acpi/ich9: Enable ACPI PCI hot-plug, Julia Suvorova, 2020/09/24
- [RFC PATCH v3 6/7] hw/acpi/ich9: Set ACPI PCI hot-plug as default, Julia Suvorova, 2020/09/24
- [RFC PATCH v3 5/7] bios-tables-test: Allow changes in DSDT ACPI tables, Julia Suvorova, 2020/09/24
- [RFC PATCH v3 7/7] bios-tables-test: Update golden binaries, Julia Suvorova, 2020/09/24
- Re: [RFC PATCH v3 0/7] Use ACPI PCI hot-plug for Q35, no-reply, 2020/09/24
- Re: [RFC PATCH v3 0/7] Use ACPI PCI hot-plug for Q35, no-reply, 2020/09/24
- Re: [RFC PATCH v3 0/7] Use ACPI PCI hot-plug for Q35, Michael S. Tsirkin, 2020/09/24
- Re: [RFC PATCH v3 0/7] Use ACPI PCI hot-plug for Q35, Igor Mammedov, 2020/09/24