提交 9b3bff1f 编写于 作者: G Gerd Hoffmann 提交者: Michael S. Tsirkin

acpi: drop build_piix4_pm()

The _SB.PCI0.PX13.P13C opregion (holds isa device enable bits)
is not used any more, remove it from DSDT.

piix4 DSDT changes:

     Scope (_SB.PCI0)
     {
-        Device (PX13)
-        {
-            Name (_ADR, 0x00010003)  // _ADR: Address
-            OperationRegion (P13C, PCI_Config, Zero, 0xFF)
-        }
-    }
-
-    Scope (_SB.PCI0)
-    {
         Device (ISA)
         {
             Name (_ADR, 0x00010000)  // _ADR: Address
             OperationRegion (P40C, PCI_Config, 0x60, 0x04)
         }
     }
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: NIgor Mammedow <imammedo@redhat.com>
Message-Id: <20200619091905.21676-11-kraxel@redhat.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 d23f7834
...@@ -1364,21 +1364,6 @@ static void build_q35_isa_bridge(Aml *table) ...@@ -1364,21 +1364,6 @@ static void build_q35_isa_bridge(Aml *table)
aml_append(table, scope); aml_append(table, scope);
} }
static void build_piix4_pm(Aml *table)
{
Aml *dev;
Aml *scope;
scope = aml_scope("_SB.PCI0");
dev = aml_device("PX13");
aml_append(dev, aml_name_decl("_ADR", aml_int(0x00010003)));
aml_append(dev, aml_operation_region("P13C", AML_PCI_CONFIG,
aml_int(0x00), 0xff));
aml_append(scope, dev);
aml_append(table, scope);
}
static void build_piix4_isa_bridge(Aml *table) static void build_piix4_isa_bridge(Aml *table)
{ {
Aml *dev; Aml *dev;
...@@ -1530,7 +1515,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, ...@@ -1530,7 +1515,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker,
aml_append(dsdt, sb_scope); aml_append(dsdt, sb_scope);
build_hpet_aml(dsdt); build_hpet_aml(dsdt);
build_piix4_pm(dsdt);
build_piix4_isa_bridge(dsdt); build_piix4_isa_bridge(dsdt);
build_isa_devices_aml(dsdt); build_isa_devices_aml(dsdt);
build_piix4_pci_hotplug(dsdt); build_piix4_pci_hotplug(dsdt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册