mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-24 07:29:55 -04:00
Merge branches 'fixes', 'arm/smmu/updates', 'arm/smmu/bindings', 'riscv', 'intel/vt-d', 'amd/amd-vi' and 'core' into next
This commit is contained in:
@@ -695,11 +695,15 @@ enum iommu_hw_info_type {
|
||||
* @IOMMU_HW_CAP_PCI_PASID_PRIV: Privileged Mode Supported, user ignores it
|
||||
* when the struct
|
||||
* iommu_hw_info::out_max_pasid_log2 is zero.
|
||||
* @IOMMU_HW_CAP_PCI_ATS_NOT_SUPPORTED: ATS is not supported or cannot be used
|
||||
* on this device (absence implies ATS
|
||||
* may be enabled)
|
||||
*/
|
||||
enum iommufd_hw_capabilities {
|
||||
IOMMU_HW_CAP_DIRTY_TRACKING = 1 << 0,
|
||||
IOMMU_HW_CAP_PCI_PASID_EXEC = 1 << 1,
|
||||
IOMMU_HW_CAP_PCI_PASID_PRIV = 1 << 2,
|
||||
IOMMU_HW_CAP_PCI_ATS_NOT_SUPPORTED = 1 << 3,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1052,6 +1056,11 @@ struct iommu_fault_alloc {
|
||||
enum iommu_viommu_type {
|
||||
IOMMU_VIOMMU_TYPE_DEFAULT = 0,
|
||||
IOMMU_VIOMMU_TYPE_ARM_SMMUV3 = 1,
|
||||
/*
|
||||
* TEGRA241_CMDQV requirements (otherwise, VCMDQs will not work)
|
||||
* - Kernel will allocate a VINTF (HYP_OWN=0) to back this VIOMMU. So,
|
||||
* VMM must wire the HYP_OWN bit to 0 in guest VINTF_CONFIG register
|
||||
*/
|
||||
IOMMU_VIOMMU_TYPE_TEGRA241_CMDQV = 2,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user