[vfio-users] No IOMMU Groups seen in /sys/kernel/iommu_groups/

Venumadhav Josyula vjosyula at gmail.com
Fri Nov 22 16:29:28 UTC 2019


Hi Alex,

Pl find the dmesg & cpu model attached.

Thanks,
Regards,
Venu

On Fri, 22 Nov 2019 at 20:37, Alex Williamson <alex.williamson at redhat.com>
wrote:

> On Fri, 22 Nov 2019 15:07:30 +0530
> Venumadhav Josyula <vjosyula at gmail.com> wrote:
>
> > Hi All,
> > We are trying to use vfio-pci. We have following
> > - intel_iommu=on in bios
> > - it shows in /proc/cmdline
> >
> > [root at vflac2-kvm ~]# cat /proc/cmdline
> > BOOT_IMAGE=/vmlinuz-3.10.0-957.1.3.el7.x86_64
> root=/dev/mapper/c7--kvm-root
> > ro crashkernel=auto rd.lvm.lv=c7-kvm/root rd.lvm.lv=c7-kvm/swap rhgb
> > quiet *intel_iommu=on
> > *isolcpus=2,3,6,7
> > [root at vflac2-kvm ~]# dmesg | grep IOM
> > *[    0.000000] DMAR: IOMMU enabled*
>
> As explained in [1] this only indicates the processing of the
> intel_iommu=on command line option.  Full dmesg might be required to
> understand the issue.
>
> > [root at vflac2-kvm ~]# uname -mrs
> > Linux 3.10.0-957.1.3.el7.x86_64 x86_64
> > [root at vflac2-kvm ~]# ls /sys/kernel/iommu_groups/
> >
> > *[root at vflac2-kvm ~]# ls -al /sys/kernel/iommu_groups/total 0*
> >
> >
> >
> > 04:00.0 Ethernet controller: Intel Corporation Ethernet Controller
> > 10-Gigabit X540-AT2 (rev 01)
> > 04:00.1 Ethernet controller: Intel Corporation Ethernet Controller
> > 10-Gigabit X540-AT2 (rev 01)
> > 04:10.0 Ethernet controller: Intel Corporation X540 Ethernet Controller
> > Virtual Function (rev 01)
> > 04:10.2 Ethernet controller: Intel Corporation X540 Ethernet Controller
> > Virtual Function (rev 01)
> > 05:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710
> for
> > 10GbE SFP+ (rev 02)
> > 05:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710
> for
> > 10GbE SFP+ (rev 02)
> >
> > Can u suggest what could wrong ? We  are seeing no iommu_groups getting
> > created.
>
> What's the CPU model?  There are some that don't have IOMMU support.
> Thanks,
>
> Alex
>
> [1]
> http://vfio.blogspot.com/2016/09/intel-iommu-enabled-it-doesnt-mean-what.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20191122/f54d6554/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuinfo.log
Type: application/octet-stream
Size: 8920 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20191122/f54d6554/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: application/octet-stream
Size: 138227 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20191122/f54d6554/attachment-0001.obj>


More information about the vfio-users mailing list