From bc94aeaac81b1c0a697c8a4a81859c96fc68b505 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 26 Sep 2018 09:57:08 -0600 Subject: soc/amd/stoneyridge: Add IOMMU support Enable the IOMMU in AGESA and copy the AGESA generated IVRS ACPI table. BUG=b:116196614 TEST=Check dmesg for AMD-Vi messages. Change-Id: I688d867c7bd4949a57b27c1b6a793c6a6e4a717a Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/28753 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/soc/amd/common/block/pi/agesawrapper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/pi/agesawrapper.c b/src/soc/amd/common/block/pi/agesawrapper.c index 7ef2bdacaf..f2ece80f62 100644 --- a/src/soc/amd/common/block/pi/agesawrapper.c +++ b/src/soc/amd/common/block/pi/agesawrapper.c @@ -324,6 +324,9 @@ AGESA_STATUS agesawrapper_amdinitlate(void) */ AMD_LATE_PARAMS *LateParams = create_struct(&AmdParamStruct); + LateParams->GnbLateConfiguration.GnbIoapicId = CONFIG_MAX_CPUS + 1; + LateParams->GnbLateConfiguration.FchIoapicId = CONFIG_MAX_CPUS; + timestamp_add_now(TS_AGESA_INIT_LATE_START); Status = AmdInitLate(LateParams); timestamp_add_now(TS_AGESA_INIT_LATE_DONE); -- cgit v1.2.3