• vfio-pci.cfg not stubbing all devices in IOMMU group


    Skitals
    • Annoyance

    group24.thumb.png.edb2bd177c50ac9bd87cd32b5b2f2a0a.png

     

    My group 24 looks like above. With BIND=0d:00.3 in vfio-pci.cfg, 0d:00.0 0d:00.1 and 0d:00.3 all show "Kernel driver in use: vfio-pci". But 03:08.0, which is in the same IOMMU group, shows "Kernel driver in use: pcieport".

     

    This is fine, probably preferred behavior, but it doesn't mesh with the documentation I've seen from @limetech:

     

    Quote

    In addition, and importantly, this script will bind not only the specified device(s), but all other devices in the same IOMMU group as well.  For example, suppose there is an NVIDIA GPU which defines both a VGA device at 02:00.0 and an audio device at 02.00.1.  Specifying a single device (either one) on the BIND line is sufficient to bind both device to vfio-pci.  The implication is that either all devices of an IOMMU group are bound to vfio-pci or none of them are.

     

    Is it more accurate to say that all functions of a device in the same IOMMU group will be bound? I realize with ideal/typical IOMMU groups that should mean the same thing, but is not in this case.

     

    Any clarification on the expected behavior would be much appreciated. 




    User Feedback

    Recommended Comments

    In BIOS under Advanced\AMD PBS there is an option for "Enumberate all IOMMU in IVRS", this fixed my IOMMU groups.

    Thanks

    rr.com

    Edited by opelin
    Spelling
    Link to comment

    I don't think it's a bug. PCI bridge is never bound and that's always implicitly assumed.

     

    26 minutes ago, opelin said:

    In BIOS under Advanced\AMD PBS there is an option for "Enumberate all IOMMU in IVRS", this fixed my IOMMU groups

    No it's unrelated.

     

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.