On Wed, 26 Jan 2022 at 07:34, Maxim Levitsky <mlevi...@redhat.com> wrote:
>
> Could you post the whole dmesg, or at least:
>
> dmesg | grep AMD-Vi
>
>
> What CPU does your system have?
>
> I suspect that your system doesn't GA log feature enabled in the IOMMU, and 
> the code never checks
> for that, and here it fails enabling it, which  before my patches was just
> ignoring it silently.
>
>
> Best regards,
>         Maxim Levitsky
> >
> > Hope that helps
> >
> > Mike
> >

Hi

It's an AMD Ryzen 9 5900HX

[    0.186350] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR0, rdevid:160
[    0.186353] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR1, rdevid:160
[    0.186354] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR2, rdevid:160
[    0.186355] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR3, rdevid:160
[    0.355628] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    0.356134] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    0.356136] AMD-Vi: Extended features (0x206d73ef22254ade): PPR
X2APIC NX GT IA GA PC GA_vAPIC
[    0.356140] AMD-Vi: Interrupt remapping enabled
[    0.356141] AMD-Vi: Virtual APIC enabled
[    0.356142] AMD-Vi: X2APIC enabled
[    0.431377] AMD-Vi: AMD IOMMUv2 loaded and initialized

I've attached the dmesg, I notice that some boots it doesn't happen

Cheers

Mike

Attachment: x2apic.dmesg
Description: Binary data

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to