Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • vfio
  • mdev
  • mdev_driver.c
Find file BlameHistoryPermalink
  • Christoph Hellwig's avatar
    vfio: simplify iommu group allocation for mediated devices · c68ea0d0
    Christoph Hellwig authored Sep 24, 2021
    
    
    Reuse the logic in vfio_noiommu_group_alloc to allocate a fake
    single-device iommu group for mediated devices by factoring out a common
    function, and replacing the noiommu boolean field in struct vfio_group
    with an enum to distinguish the three different kinds of groups.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
    Link: https://lore.kernel.org/r/20210924155705.4258-8-hch@lst.de
    
    
    Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
    c68ea0d0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7