Re: Problem enabling IOMMU with Buster and Xen
On Tue, 10 Sep 2019 09:00:44 -0500
Intense Red <intnsred@golgotha.net> wrote:
> A box booting Xen with an updated Debian 10/Buster setup as Xen's
> dom0, a Ryzen CPU and Radeon-based GPU.
>
> /etc/default/grub has been modified to include:
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=1 amd_iommu=on"
>
> and grub has been updated.
>
> After a reboot Xen reports:
>
> # xl dmesg | grep IOMMU
> (XEN) AMD-Vi: IOMMU Extended Features:
> (XEN) AMD-Vi: IOMMU 0 Enabled.
>
> Cool. But GNU/Linux says:
>
> # dmesg | grep IOMMU
> [ 2.536053] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
> [ 2.536054] AMD IOMMUv2 functionality not available on this system
>
> WTF?! Can someone whack me with a clue-bat? TIA.
>
Have you enabled SR-IOV in the bios? I would personally trust the
kernel output.
I also suspect that Xen doesnt allow to PCI passthrough host device
right?
--
Regards,
Nektarios Katakis
Reply to: