coreboot/src
Felix Held 0df754bdb0 soc/amd/common/data_fabric/domain: skip reserved resources for ACPI
The non-PCI resources added to the domain device are resource consumers,
so they mustn't be reported as resource producers. To make sure that
this is the case, skip all resources that have the IORESOURCE_RESERVE
flag set in amd_pci_domain_fill_ssdt.

Commit 7a5dd781d1 ("soc/amd/common/data_fabric/domain: provide
amd_pci_domain_fill_ssdt") that introduced amd_pci_domain_fill_ssdt
already contained the bug, but since no MMIO range consumers were added
back then, the bug only became visible when commit 32169720bb
("soc/amd/common/data_fabric/domain: report non-PCI MMIO resources")
added the reserved non-PCI MMIO resources to the domain device's
resources resulting in MMIO producer objects being generated for MMIO
consumers. Those producers that should have been consumers then
overlapped with the actual MMIO resource producers which caused Windows
to BSOD with an ACPI_BIOS_ERROR.

TEST=The non-PCI MMIO resources are no longer added as resource
producers and Windows boots again on google/frostflow.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: Matt DeVillier <matt.devillier@gmail.com>
Change-Id: Ib099675bc5bea93bf7c2a80f741bef067fd37a58
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76818
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
2023-07-30 17:23:38 +00:00
..
acpi acpi.c: Add functions to create GTDT 2023-07-23 18:26:13 +00:00
arch acpi/acpi.c: Split of ACPI table generation into separate files 2023-07-21 07:33:37 +00:00
commonlib include/commonlib/bsd/mem_chip_info.h: Use C99 flexible arrays 2023-07-30 09:59:21 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu cpu/amd/mtrr: Use newer function for resource declaration 2023-07-12 10:51:49 +00:00
device allocator_v4: Disable top-down allocation for EDK2 2023-07-08 20:03:07 +00:00
drivers drivers/intel/gma/intel_bios.h: Use C99 flexible arrays 2023-07-30 10:00:38 +00:00
ec {ec,mb}/system76: Replace color keyboard logic 2023-07-18 15:03:16 +00:00
include include/imd_private.h: Use C99 flexible arrays 2023-07-30 09:58:12 +00:00
lib lib/cbmem_console.c: Use C99 flexible arrays 2023-07-30 09:59:46 +00:00
mainboard mb/google/nissa/var/gothrax: Tune SX9324 P-sensor configuration 2023-07-28 14:22:55 +00:00
northbridge acpi: Move ECAM resource below PNP0C02 device in a common place 2023-07-20 10:38:42 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: Respect CBMEM TPM log size 2023-07-18 14:58:34 +00:00
soc soc/amd/common/data_fabric/domain: skip reserved resources for ACPI 2023-07-30 17:23:38 +00:00
southbridge sb/intel/lynxpoint/me: Use C99 flexible arrays 2023-07-30 09:59:33 +00:00
superio superio/common: Support more than one SuperIO in ACPI 2023-05-26 19:21:12 +00:00
vendorcode vendorcode/amd/fsp/common: Refactor dmi_info.h 2023-07-21 07:30:08 +00:00
Kconfig lib/smbios: Add a config string for BIOS Vendor in SMBIOS Type 0 2023-06-26 03:07:38 +00:00