Skip to content

[Feature] Add iommufd support for VFIO-backed GPU allocation #107

Description

@johnahull

Summary

Add iommufd support for VFIO-backed GPU allocation.

Current state

GPU VFIO discovery depends on the legacy PCI iommu_group symlink and CDI exposes /dev/vfio/<group> devices. There is no iommufd or /dev/iommu handling.

Scope

  • Detect and use iommufd when available, while preserving a controlled legacy fallback if required.
  • Define the CDI/device-node and preparation behavior for iommufd-backed allocations.
  • Update driver binding and cleanup paths.
  • Add fake-sysfs/unit and end-to-end coverage for iommufd and legacy paths.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions