Message ID | 1464716918-29689-2-git-send-email-marcel@redhat.com |
---|---|
State | New |
Headers | show |
On Tue, 31 May 2016 20:48:32 +0300 Marcel Apfelbaum <marcel@redhat.com> wrote: > PCST and PCSB operation regions are not used by the Q35 machine. > > Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> > --- > hw/i386/acpi-build.c | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c > index 279f0d7..9aef25d 100644 > --- a/hw/i386/acpi-build.c > +++ b/hw/i386/acpi-build.c > @@ -2016,16 +2016,6 @@ build_dsdt(GArray *table_data, GArray *linker, > build_piix4_pci0_int(dsdt); > } else { > sb_scope = aml_scope("_SB"); > - aml_append(sb_scope, > - aml_operation_region("PCST", AML_SYSTEM_IO, aml_int(0xae00), 0x0c)); > - aml_append(sb_scope, > - aml_operation_region("PCSB", AML_SYSTEM_IO, aml_int(0xae0c), 0x01)); > - field = aml_field("PCSB", AML_ANY_ACC, AML_NOLOCK, AML_WRITE_AS_ZEROS); > - aml_append(field, aml_named_field("PCIB", 8)); > - aml_append(sb_scope, field); > - aml_append(dsdt, sb_scope); > - > - sb_scope = aml_scope("_SB"); > dev = aml_device("PCI0"); > aml_append(dev, aml_name_decl("_HID", aml_eisaid("PNP0A08"))); > aml_append(dev, aml_name_decl("_CID", aml_eisaid("PNP0A03")));
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 279f0d7..9aef25d 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2016,16 +2016,6 @@ build_dsdt(GArray *table_data, GArray *linker, build_piix4_pci0_int(dsdt); } else { sb_scope = aml_scope("_SB"); - aml_append(sb_scope, - aml_operation_region("PCST", AML_SYSTEM_IO, aml_int(0xae00), 0x0c)); - aml_append(sb_scope, - aml_operation_region("PCSB", AML_SYSTEM_IO, aml_int(0xae0c), 0x01)); - field = aml_field("PCSB", AML_ANY_ACC, AML_NOLOCK, AML_WRITE_AS_ZEROS); - aml_append(field, aml_named_field("PCIB", 8)); - aml_append(sb_scope, field); - aml_append(dsdt, sb_scope); - - sb_scope = aml_scope("_SB"); dev = aml_device("PCI0"); aml_append(dev, aml_name_decl("_HID", aml_eisaid("PNP0A08"))); aml_append(dev, aml_name_decl("_CID", aml_eisaid("PNP0A03")));
PCST and PCSB operation regions are not used by the Q35 machine. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> --- hw/i386/acpi-build.c | 10 ---------- 1 file changed, 10 deletions(-)