]> Git Repo - qemu.git/commitdiff
pc: acpi: drop manual hole punching for PCI hotplug resources
authorIgor Mammedov <[email protected]>
Fri, 20 Feb 2015 18:22:06 +0000 (18:22 +0000)
committerMichael S. Tsirkin <[email protected]>
Sun, 1 Mar 2015 11:33:21 +0000 (12:33 +0100)
Drops manual hole punching in PCI0._CRS for PIIX4 machine type.
Resources will be consumed by Device(PHPR) that cwis attached
to PCI bus. The same way how it currently works for mem hotlpug.

Manual hole in PIIX4 _CRS wasn't correct anyway since it was
legacy size 0xF while current PCIHP MMIO region is of size 0x14.

Signed-off-by: Igor Mammedov <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/i386/acpi-build.c

index 355f9b7f214f956939599b5d86f7306d8d9bcc31..02e2597cd6fac4a56dc0f0bddc299bb5d809dad9 100644 (file)
@@ -885,11 +885,7 @@ build_ssdt(GArray *table_data, GArray *linker,
         aml_append(crs,
             aml_word_io(aml_min_fixed, aml_max_fixed,
                         aml_pos_decode, aml_entire_range,
-                        0x0000, 0x0D00, 0xADFF, 0x0000, 0xA100));
-        aml_append(crs,
-            aml_word_io(aml_min_fixed, aml_max_fixed,
-                        aml_pos_decode, aml_entire_range,
-                        0x0000, 0xAE0F, 0xAEFF, 0x0000, 0x00F1));
+                        0x0000, 0x0D00, 0xAEFF, 0x0000, 0xA200));
         aml_append(crs,
             aml_word_io(aml_min_fixed, aml_max_fixed,
                         aml_pos_decode, aml_entire_range,
This page took 0.029635 seconds and 4 git commands to generate.