From f2812dfe535d6c9d31f14a7092d15274ec960ead Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 12 Oct 2022 23:14:44 +0200 Subject: [PATCH] mb/amd/gardenia,padmelon/devicetree: explicitly enable IOMMU device PCI devices that aren't present in the devicetree will be treated as enabled. Since the chipset devicetree that will be added in a follow-up patch disables this device by default, explicitly enable the IOMMU device on the Stoneyridge mainboards that don't disable it to keep the same behavior. Signed-off-by: Felix Held Change-Id: I4a2cdd00abe8309244829dc633dd8a9ca0038dfa Reviewed-on: https://review.coreboot.org/c/coreboot/+/68313 Reviewed-by: Matt DeVillier Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/mainboard/amd/gardenia/devicetree.cb | 1 + src/mainboard/amd/padmelon/devicetree.cb | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mainboard/amd/gardenia/devicetree.cb b/src/mainboard/amd/gardenia/devicetree.cb index fc7bde527f..bb90ed43e2 100644 --- a/src/mainboard/amd/gardenia/devicetree.cb +++ b/src/mainboard/amd/gardenia/devicetree.cb @@ -13,6 +13,7 @@ chip soc/amd/stoneyridge device domain 0 on subsystemid 0x1022 0x1410 inherit device pci 0.0 on end # Root Complex + device pci 0.2 on end # IOMMU device pci 1.0 on end # Internal Graphics P2P bridge 0x98e4 device pci 1.1 on end # Internal Multimedia device pci 2.0 on end # PCIe Host Bridge diff --git a/src/mainboard/amd/padmelon/devicetree.cb b/src/mainboard/amd/padmelon/devicetree.cb index a80539029e..76e7d08948 100644 --- a/src/mainboard/amd/padmelon/devicetree.cb +++ b/src/mainboard/amd/padmelon/devicetree.cb @@ -10,6 +10,7 @@ chip soc/amd/stoneyridge device domain 0 on subsystemid 0x1022 0x1410 inherit device pci 0.0 on end # Root Complex + device pci 0.2 on end # IOMMU device pci 1.0 on end # Internal Graphics P2P bridge 0x9874 device pci 1.1 on end # Internal Multimedia device pci 2.0 on end # PCIe Host Bridge