Gentoo Archives: gentoo-user

From: "Taiidan@×××.com" <Taiidan@×××.com>
To: gentoo-user@l.g.o
Cc: corbinbird@×××××××.net
Subject: Re: [gentoo-user] Re: Issues with AMD_IOMMU
Date: Tue, 16 May 2017 17:49:48
Message-Id: bedd154f-f1f3-a813-435b-2ae491d3a109@gmx.com
In Reply to: [gentoo-user] Re: Issues with AMD_IOMMU by Ian Zimmerman
1 FYI:
2 IOMMU=pt means pass-through, as in no DMA protection.
3
4 AMD_IOMMU is for the bulldozer and piledriver based systems, v2 is for
5 the newer excavator and beyond stuff that has vAPIC
6
7
8
9 On 05/16/2017 10:33 AM, Corbin Bird wrote:
10 > On 05/15/2017 09:59 PM, Taiidan@×××.com wrote:
11 >> On 05/15/2017 12:58 AM, Ian Zimmerman wrote:
12 >>
13 >>>> The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU
14 >>>> in it. The CPU contains the original K8 IOMMU ( v1 ) engineered /
15 >>>> converted from a GART.
16 >>>>
17 >> The 8 and 9 series (not 7) does have an IOMMU, AMD-Vi v1.26.
18 >>
19 >> I have two 890 series (but the server flavor - SR5690 chipset) boards
20 >> with an IOMMU and it works great, I play games in a VM with an attached
21 >> graphics card on my libre firmware KGPE-D16 and devices are DMA restricted.
22 >>
23 >> Most consumer boards don't properly implement this feature, in fact I
24 >> have never seen one that did which is why I bought my coreboot (libre
25 >> init variant) D16.
26 >> It wouldn't be that difficult to port coreboot to your board if you want
27 >> this to work FYI.
28 >>
29 > Thank you for that info.
30 >
31 > Corrections based on fact are appreciated.
32 http://support.amd.com/TechDocs/43869.pdf
33 Hell yeah dude, this documentation backs up the fact that the IOMMU is
34 on the northbridge - not the CPU.
35 >
36 > ---
37 >
38 > How does one 'port' coreboot?
39 >
40 > Last time I went to the coreboot site, I didn't see anything really
41 > helpful to me.
42 The documentation really sucks, its DIY or die - but I have never
43 programmed anything before in my life and I figured out how to port boards.
44 > Doesn't the 'CPU voltage table firmware blob' require signing NDA's?
45 Naah you don't need that on most *good* systems, and
46 bulldozer/piledriver era AMD was cool with releasing documentation.
47 >
48 >
49 > Corbin
50 https://www.coreboot.org/Developer_Manual
51 https://www.coreboot.org/Motherboard_Porting_Guide
52 You would start with the KCMA-D8, as it is the closest board - then
53 change the superio, irq mappings, acpi etc. It takes some figuring out
54 for yourself as there isn't really a detailed guide for it.