1 |
On Wed, May 17, 2017 at 12:25 AM, Corbin Bird <corbinbird@×××××××.net> |
2 |
wrote: |
3 |
|
4 |
> On 05/16/2017 01:34 AM, Adam Carter wrote: |
5 |
> > Answer #1 : |
6 |
> > |
7 |
> > |
8 |
> > Asrock, Extreme6, 990FX, UEFI, AMD FX-9590 |
9 |
> > Gigabyte, GA-MA790FX-UD5P, 790FX, BIOS, AMD PhenomII x4 980 |
10 |
> > |
11 |
> > |
12 |
> > Hi Corbin, |
13 |
> > |
14 |
> > I noticed i didnt have x2apic enabled on my 990FX / FX-8350 system, so |
15 |
> > i've rebuilt/rebooted etc, but; |
16 |
> > |
17 |
> > # zgrep X2APIC /proc/config.gz |
18 |
> > CONFIG_X86_X2APIC=y |
19 |
> > # dmesg | grep -i x2apic |
20 |
> > # |
21 |
> > |
22 |
> > On my skylake box |
23 |
> > # dmesg | grep -i x2apic |
24 |
> > [ 0.044148] DMAR-IR: Queued invalidation will be enabled to support |
25 |
> > x2apic and Intr-remapping. |
26 |
> > [ 0.045802] DMAR-IR: Enabled IRQ remapping in x2apic mode |
27 |
> > [ 0.045908] x2apic enabled |
28 |
> > [ 0.046011] Switched APIC routing to cluster x2apic. |
29 |
> > |
30 |
> > What x2apic messages do you get on your 990FX / FX-9590 system? |
31 |
> |
32 |
> |
33 |
> Interesting kernel parameter for you to try : |
34 |
> ( from '/usr/src/linux/Documentation/kernel-parameters.txt' ) |
35 |
> |
36 |
> x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of |
37 |
> default x2apic cluster mode on platforms |
38 |
> supporting x2apic. |
39 |
> |
40 |
> With that switch I have not been getting any output in 'dmesg' about |
41 |
> this at all. |
42 |
> |
43 |
|
44 |
I tried adding x2apic_phys, but dmesg output did not change. |
45 |
|
46 |
From wikip; |
47 |
"In 2012, AMD announced their *Advanced Virtual Interrupt Controller* ( |
48 |
*AVIC*) targeting interrupt overhead reduction in virtualization |
49 |
environments.[33] |
50 |
<https://en.wikipedia.org/wiki/X86_virtualization#cite_note-33> This |
51 |
technology has materialize in hardware and (as announced) does not support |
52 |
x2APIC <https://en.wikipedia.org/wiki/X2APIC>.[34] |
53 |
<https://en.wikipedia.org/wiki/X86_virtualization#cite_note-34> In 2016, |
54 |
AVIC is available on the AMD family 15h models 6Xh (Carrizo) processors and |
55 |
newer.[35]" <https://en.wikipedia.org/wiki/X86_virtualization#cite_note-35> |
56 |
|
57 |
So; |
58 |
FX-8350 processors (bulldozer gen2) dont have AVIC |
59 |
Carrizo processors (bulldozer gen4), have AVIC, but AVIC doesnt support |
60 |
x2apic |
61 |
seems reasonable to conclude that there's no x2apic on bulldozer gen2, and |
62 |
that's why there's nothing in dmesg about it. |
63 |
|
64 |
|
65 |
> Question : |
66 |
> Do you have this enabled in your kernel ... |
67 |
> > [ ] Support for Intel IOMMU using DMA Remapping Devices |
68 |
> |
69 |
|
70 |
On the Skylake box, yes, FX box, no. |