1 |
On 05/14/2017 12:31 AM, Adam Carter wrote: |
2 |
> Tried kernels 4.10.13 and 4.11, with |
3 |
> CONFIG_GART_IOMMU=y |
4 |
> CONFIG_IOMMU_HELPER=y |
5 |
> CONFIG_IOMMU_API=y |
6 |
> CONFIG_IOMMU_SUPPORT=y |
7 |
> CONFIG_IOMMU_IOVA=y |
8 |
> CONFIG_AMD_IOMMU=y |
9 |
> CONFIG_AMD_IOMMU_V2=m |
10 |
> Chipset is 990FX, and AFAICT the V2 is for the APU (bdver3 and 4 vintage). |
11 |
> |
12 |
> When I enable the IOMMU in the BIOS I get stack traces. Is anyone using |
13 |
> AMD_IOMMU successfully? If so, any tips? |
14 |
|
15 |
----- |
16 |
|
17 |
Background / System Info : 2 systems. |
18 |
Chipset 990FX, FX-9590 ( -march=bdver2 / Fam15h ) |
19 |
Chipset 790FX, PhenomII 980 ( -march=amdfam10 / Fam10h ) |
20 |
Gentoo x86_64, multilib, Kernel 4.9.x |
21 |
IOMMU enabled in UEFI, BIOS. |
22 |
|
23 |
----- |
24 |
|
25 |
|
26 |
General Info : ( if you don't know already ... ) |
27 |
|
28 |
The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU |
29 |
in it. |
30 |
The CPU contains the original K8 IOMMU ( v1 ) engineered / converted |
31 |
from a GART. |
32 |
|
33 |
Standard output in '/var/log/dmesg'. |
34 |
|
35 |
> [ 0.000000] AGP: No AGP bridge found |
36 |
|
37 |
> [ 0.926911] PCI-DMA: Disabling AGP. |
38 |
> [ 0.927142] PCI-DMA: aperture base @ b4000000 size 65536 KB |
39 |
> [ 0.927263] PCI-DMA: using GART IOMMU. |
40 |
> [ 0.927376] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture |
41 |
|
42 |
----- |
43 |
|
44 |
Suggestion : |
45 |
|
46 |
read the Kernel Parameter docs. The automatic setup may need tweaking. |
47 |
|
48 |
You have to do a manual setup if you want, both, a working IOMMU and an |
49 |
AGP Aperature. Firmware can throw a major monkey wrench into that type |
50 |
of setup however. |
51 |
|
52 |
> /usr/src/linux/Documentation/kernel-parameters.txt |
53 |
|
54 |
This doc has the x86_64 IOMMU options listed ... |
55 |
> /usr/src/linux/Documentation/x86/x86_64/boot-options.txt |
56 |
|
57 |
|
58 |
Question : |
59 |
|
60 |
APU? |
61 |
I was under the impression that those CPU's used a different chipset, |
62 |
not the 990FX. |
63 |
|
64 |
|
65 |
Corbin |