Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86601?usp=email )
Change subject: mb/emulation/qemu-q35: Disable SB SSDT ......................................................................
mb/emulation/qemu-q35: Disable SB SSDT
On QEMU the DSDT contains the _PRT, thus disable the southbridge SSDT generator to prevent an ACPI naming conflict.
Change-Id: I894980dc7094f6047a088c39e10cac7381b74f86 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/mainboard/emulation/qemu-i440fx/mainboard.c M src/mainboard/emulation/qemu-q35/mainboard.c 2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/86601/1
diff --git a/src/mainboard/emulation/qemu-i440fx/mainboard.c b/src/mainboard/emulation/qemu-i440fx/mainboard.c index 7debf8c..0b2e2bb 100644 --- a/src/mainboard/emulation/qemu-i440fx/mainboard.c +++ b/src/mainboard/emulation/qemu-i440fx/mainboard.c @@ -29,6 +29,11 @@ if (d) pci_assign_irqs(d, qemu_i440fx_irqs + (i % 4)); } + + /* Disable ACPI SSDT on LPC, it's already part of DSDT (by QEMU) */ + struct device *lpc = pcidev_on_root(0x1f, 0); + if (lpc && lpc->ops) + lpc->ops->acpi_fill_ssdt = NULL; }
static void qemu_nb_read_resources(struct device *dev) diff --git a/src/mainboard/emulation/qemu-q35/mainboard.c b/src/mainboard/emulation/qemu-q35/mainboard.c index 1ff4c04..23ccb7c 100644 --- a/src/mainboard/emulation/qemu-q35/mainboard.c +++ b/src/mainboard/emulation/qemu-q35/mainboard.c @@ -42,6 +42,11 @@ if (d) pci_assign_irqs(d, qemu_q35_irqs); } + + /* Disable ACPI SSDT on LPC, it's already part of DSDT (by QEMU) */ + struct device *lpc = pcidev_on_root(0x1f, 0); + if (lpc && lpc->ops) + lpc->ops->acpi_fill_ssdt = NULL; }
static void qemu_nb_read_resources(struct device *dev)