[coreboot-gerrit] Change in coreboot[master]: pcengines/apu2: enable IOMMU for all apu2 variants

Piotr Król (Code Review) gerrit at coreboot.org
Sat May 5 23:17:07 CEST 2018


Piotr Król has uploaded this change for review. ( https://review.coreboot.org/26116


Change subject: pcengines/apu2: enable IOMMU for all apu2 variants
......................................................................

pcengines/apu2: enable IOMMU for all apu2 variants

IOMMU was tested on Xen 4.8 and Linux kernel 4.14.33. Following feature
set is enabled:
(XEN) AMD-Vi: Disabled HAP memory map sharing with IOMMU
(XEN) AMD-Vi: IOMMU Extended Features:
(XEN)  - Peripheral Page Service Request
(XEN)  - Guest Translation
(XEN)  - Invalidate All Command
(XEN)  - Guest APIC supported
(XEN)  - Performance Counters
(XEN) AMD-Vi: IOMMU 0 Enabled.

Change-Id: I6dbfae78849248f3532caa78974c8f2ce61a530d
Signed-off-by: Piotr Król <piotr.krol at 3mdeb.com>
---
M src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb
4 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/26116/1

diff --git a/src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb b/src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb
index 4f32064..2905e2c 100644
--- a/src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb
+++ b/src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb
@@ -25,7 +25,7 @@
 
 			chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
-				device pci 0.2 off end # IOMMU
+				device pci 0.2 on end # IOMMU
 				device pci 1.0 off  end # Internal Graphics P2P bridge 0x9804
 				device pci 1.1 off  end # Internal Multimedia
 				device pci 2.0 on  end # PCIe Host Bridge
diff --git a/src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb b/src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb
index c431291..4da123e 100644
--- a/src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb
+++ b/src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb
@@ -25,7 +25,7 @@
 
 			chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
-				device pci 0.2 off end # IOMMU
+				device pci 0.2 on end # IOMMU
 				device pci 1.0 off  end # Internal Graphics P2P bridge 0x9804
 				device pci 1.1 off  end # Internal Multimedia
 				device pci 2.0 on  end # PCIe Host Bridge
diff --git a/src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb b/src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb
index 9859255..b95afab 100644
--- a/src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb
+++ b/src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb
@@ -25,7 +25,7 @@
 
 			chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
-				device pci 0.2 off end # IOMMU
+				device pci 0.2 on end # IOMMU
 				device pci 1.0 off  end # Internal Graphics P2P bridge 0x9804
 				device pci 1.1 off  end # Internal Multimedia
 				device pci 2.0 on  end # PCIe Host Bridge
diff --git a/src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb b/src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb
index 4bdaaaf..b5700f8 100644
--- a/src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb
+++ b/src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb
@@ -25,7 +25,7 @@
 
 			chip northbridge/amd/pi/00730F01 # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
-				device pci 0.2 off end # IOMMU
+				device pci 0.2 on end # IOMMU
 				device pci 1.0 off  end # Internal Graphics P2P bridge 0x9804
 				device pci 1.1 off  end # Internal Multimedia
 				device pci 2.0 on  end # PCIe Host Bridge

-- 
To view, visit https://review.coreboot.org/26116
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6dbfae78849248f3532caa78974c8f2ce61a530d
Gerrit-Change-Number: 26116
Gerrit-PatchSet: 1
Gerrit-Owner: Piotr Król <piotr.krol at 3mdeb.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180505/e436d90f/attachment.html>


More information about the coreboot-gerrit mailing list