forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu/amd: Introduce Protection-domain flag VFIO
Currently, to detect if a domain is enabled with VFIO support, the driver checks if the domain has devices attached and check if the domain type is IOMMU_DOMAIN_UNMANAGED. To be more explicit, introduce protection-domain flag PD_VFIO_MASK to signify an VFIO-enabled domain is enabled with VFIO support. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
- Loading branch information
1 parent
e806e22
commit ea80bf7
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters