Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-22 Thread Alan Grimes
Here's the grub command line I was using on my Phenom II on a 990FX board, I had only commented it out after upgrading to Ryzen #GRUB_CMDLINE_LINUX="check_enable_amd_mmconf amd_iommu=fullflush iommu=soft" -- Strange Game. The only winning move is not to play. Powers are not rights.

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-22 Thread Corbin Bird
On 05/21/2017 06:12 PM, Adam Carter wrote: > > > > [0.991863] iommu: Adding device :06:00.0 to group 12 > > [0.991982] iommu: Adding device :07:04.0 to group 12 > > [1.063849] AMD-Vi: Found IOMMU at :00:00.2 cap 0x40 > > [1.063962] AMD-Vi: Interrupt

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-22 Thread Adam Carter
On Mon, May 22, 2017 at 7:15 PM, taii...@gmx.com wrote: > Worse, ideally you wouldn't be using SWIOTLB but I don't know how to > disable this without re-compiling the kernel. > Can you point to some definitive documentation on this? When i read

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-22 Thread taii...@gmx.com
Worse, ideally you wouldn't be using SWIOTLB but I don't know how to disable this without re-compiling the kernel. On 05/21/2017 07:12 PM, Adam Carter wrote: [0.991863] iommu: Adding device :06:00.0 to group 12 [0.991982] iommu: Adding device :07:04.0 to group 12 [

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-21 Thread Adam Carter
> > [0.991863] iommu: Adding device :06:00.0 to group 12 > > [0.991982] iommu: Adding device :07:04.0 to group 12 > > [1.063849] AMD-Vi: Found IOMMU at :00:00.2 cap 0x40 > > [1.063962] AMD-Vi: Interrupt remapping enabled > > [1.064145] AMD-Vi: Lazy IO/TLB flushing

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-19 Thread Corbin Bird
On 05/19/2017 01:39 AM, Adam Carter wrote: > On Wed, May 17, 2017 at 12:25 AM, Corbin Bird > wrote: > > On 05/16/2017 01:34 AM, Adam Carter wrote: > > Answer #1 : > > > > > > Asrock, Extreme6, 990FX, UEFI, AMD

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-19 Thread Adam Carter
On Wed, May 17, 2017 at 12:25 AM, Corbin Bird wrote: > On 05/16/2017 01:34 AM, Adam Carter wrote: > > Answer #1 : > > > > > > Asrock, Extreme6, 990FX, UEFI, AMD FX-9590 > > Gigabyte, GA-MA790FX-UD5P, 790FX, BIOS, AMD PhenomII x4 980 > > > > > > Hi Corbin, > > > >

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread taii...@gmx.com
FYI: IOMMU=pt means pass-through, as in no DMA protection. AMD_IOMMU is for the bulldozer and piledriver based systems, v2 is for the newer excavator and beyond stuff that has vAPIC On 05/16/2017 10:33 AM, Corbin Bird wrote: On 05/15/2017 09:59 PM, taii...@gmx.com wrote: On 05/15/2017

[gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Ian Zimmerman
On 2017-05-16 09:11, Corbin Bird wrote: > > http://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html > > That link, read the rest of it. > > It says to leave it alone, let the kernel use it as an IOMMU. > > On AMD, with NO IOMMU kernel parameters, output in '/var/log/dmesg': >

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Corbin Bird
On 05/15/2017 09:59 PM, taii...@gmx.com wrote: > On 05/15/2017 12:58 AM, Ian Zimmerman wrote: > >>> The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU >>> in it. The CPU contains the original K8 IOMMU ( v1 ) engineered / >>> converted from a GART. >>> > The 8 and 9 series

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Corbin Bird
On 05/16/2017 01:34 AM, Adam Carter wrote: > Answer #1 : > > > Asrock, Extreme6, 990FX, UEFI, AMD FX-9590 > Gigabyte, GA-MA790FX-UD5P, 790FX, BIOS, AMD PhenomII x4 980 > > > Hi Corbin, > > I noticed i didnt have x2apic enabled on my 990FX / FX-8350 system, so > i've rebuilt/rebooted

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Corbin Bird
On 05/15/2017 09:33 PM, Ian Zimmerman wrote: > On 2017-05-15 14:33, Corbin Bird wrote: > >> Gigabyte has long been known to ship 'broken for Linux' e820 firmware. >> 'e820' is basically the APG Aperature setup in the firmware. >> Gigabyte kills OR overrides the IOMMU support in the firmware, to

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-16 Thread Adam Carter
Answer #1 : > > Asrock, Extreme6, 990FX, UEFI, AMD FX-9590 > Gigabyte, GA-MA790FX-UD5P, 790FX, BIOS, AMD PhenomII x4 980 > > Hi Corbin, I noticed i didnt have x2apic enabled on my 990FX / FX-8350 system, so i've rebuilt/rebooted etc, but; # zgrep X2APIC /proc/config.gz CONFIG_X86_X2APIC=y #

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-15 Thread taii...@gmx.com
On 05/15/2017 10:59 PM, taii...@gmx.com wrote: On 05/15/2017 12:58 AM, Ian Zimmerman wrote: The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU in it. The CPU contains the original K8 IOMMU ( v1 ) engineered / converted from a GART. The 8 and 9 series (not 7) does have

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-15 Thread taii...@gmx.com
On 05/15/2017 12:58 AM, Ian Zimmerman wrote: The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU in it. The CPU contains the original K8 IOMMU ( v1 ) engineered / converted from a GART. The 8 and 9 series (not 7) does have an IOMMU, AMD-Vi v1.26. I have two 890 series

[gentoo-user] Re: Issues with AMD_IOMMU

2017-05-15 Thread Ian Zimmerman
On 2017-05-15 14:33, Corbin Bird wrote: > Gigabyte has long been known to ship 'broken for Linux' e820 firmware. > 'e820' is basically the APG Aperature setup in the firmware. > Gigabyte kills OR overrides the IOMMU support in the firmware, to setup > the AGP Aperature. > > Closed source /

Re: [gentoo-user] Re: Issues with AMD_IOMMU

2017-05-15 Thread Corbin Bird
On 05/14/2017 11:58 PM, Ian Zimmerman wrote: > On 2017-05-14 20:07, Corbin Bird wrote: > >> Background / System Info : 2 systems. >> Chipset 990FX, FX-9590 ( -march=bdver2 / Fam15h ) >> Chipset 790FX, PhenomII 980 ( -march=amdfam10 / Fam10h ) >> Gentoo x86_64, multilib, Kernel 4.9.x >> IOMMU

[gentoo-user] Re: Issues with AMD_IOMMU

2017-05-14 Thread Ian Zimmerman
On 2017-05-14 20:07, Corbin Bird wrote: > Background / System Info : 2 systems. > Chipset 990FX, FX-9590 ( -march=bdver2 / Fam15h ) > Chipset 790FX, PhenomII 980 ( -march=amdfam10 / Fam10h ) > Gentoo x86_64, multilib, Kernel 4.9.x > IOMMU enabled in UEFI, BIOS. > General Info : ( if you don't