Skip to content

Commit 9b3bff1

Browse files
kraxelmstsirkin
authored andcommitted
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: Gerd Hoffmann <[email protected]> Reviewed-by: Igor Mammedow <[email protected]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent d23f783 commit 9b3bff1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

hw/i386/acpi-build.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,21 +1364,6 @@ static void build_q35_isa_bridge(Aml *table)
13641364
aml_append(table, scope);
13651365
}
13661366

1367-
static void build_piix4_pm(Aml *table)
1368-
{
1369-
Aml *dev;
1370-
Aml *scope;
1371-
1372-
scope = aml_scope("_SB.PCI0");
1373-
dev = aml_device("PX13");
1374-
aml_append(dev, aml_name_decl("_ADR", aml_int(0x00010003)));
1375-
1376-
aml_append(dev, aml_operation_region("P13C", AML_PCI_CONFIG,
1377-
aml_int(0x00), 0xff));
1378-
aml_append(scope, dev);
1379-
aml_append(table, scope);
1380-
}
1381-
13821367
static void build_piix4_isa_bridge(Aml *table)
13831368
{
13841369
Aml *dev;
@@ -1530,7 +1515,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker,
15301515
aml_append(dsdt, sb_scope);
15311516

15321517
build_hpet_aml(dsdt);
1533-
build_piix4_pm(dsdt);
15341518
build_piix4_isa_bridge(dsdt);
15351519
build_isa_devices_aml(dsdt);
15361520
build_piix4_pci_hotplug(dsdt);

0 commit comments

Comments
 (0)