Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75611?usp=email )
Change subject: soc/amd/picasso/root_complex: reserve IOMMU MMIO area ......................................................................
soc/amd/picasso/root_complex: reserve IOMMU MMIO area
This makes sure that the resource allocator won't use this address range for anything else. This should be right below the above 4GB PCI BAR MMIO region, but better reserve it here so nothing else will get allocated there.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I5a8150873cb019ca1d903ed269e18d6f9fabb871 --- M src/soc/amd/picasso/root_complex.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/75611/1
diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c index 7a83197..996cd31 100644 --- a/src/soc/amd/picasso/root_complex.c +++ b/src/soc/amd/picasso/root_complex.c @@ -147,6 +147,9 @@ gnb_apic->size = 0x00001000; gnb_apic->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
+ /* Reserve fixed IOMMU MMIO region */ + mmio_from_to(dev, idx++, 0xfd00000000, 0xfdffffffff); + if (fsp_hob_iterator_init(&hob_iterator) != CB_SUCCESS) { printk(BIOS_ERR, "%s incomplete because no HOB list was found\n", __func__); return;