History

Merge branches 'fixes', 'arm/smmu/updates', 'arm/smmu/bindings', 'riscv', 'intel/vt-d', 'amd/amd-vi' and 'core' into next

Will Deacon committed 7 months ago

Commit f8d5e708 parents 7aaa804 7e05485 9dcef98 5e8323c 40a13b4 b334d7f 5aac287 ebfaf2b43 files · +2166 −798Browse files

Showing the changes to include/uapi (1 of 43 files). Show all

Unified · Split

include/uapi/linux/iommufd.h+9−0
@@ -695,11 +695,15 @@ enum iommu_hw_info_type { · 694 unmodified lines
695695 * @IOMMU_HW_CAP_PCI_PASID_PRIV: Privileged Mode Supported, user ignores it
696696 * when the struct
697697 * iommu_hw_info::out_max_pasid_log2 is zero.
698+ * @IOMMU_HW_CAP_PCI_ATS_NOT_SUPPORTED: ATS is not supported or cannot be used
699+ * on this device (absence implies ATS
700+ * may be enabled)
698701 */
699702 enum iommufd_hw_capabilities {
700703 IOMMU_HW_CAP_DIRTY_TRACKING = 1 << 0,
701704 IOMMU_HW_CAP_PCI_PASID_EXEC = 1 << 1,
702705 IOMMU_HW_CAP_PCI_PASID_PRIV = 1 << 2,
706+ IOMMU_HW_CAP_PCI_ATS_NOT_SUPPORTED = 1 << 3,
703707 };
704708
705709 /**
@@ -1052,6 +1056,11 @@ struct iommu_fault_alloc { · 346 unmodified lines
10521056 enum iommu_viommu_type {
10531057 IOMMU_VIOMMU_TYPE_DEFAULT = 0,
10541058 IOMMU_VIOMMU_TYPE_ARM_SMMUV3 = 1,
1059+ /*
1060+ * TEGRA241_CMDQV requirements (otherwise, VCMDQs will not work)
1061+ * - Kernel will allocate a VINTF (HYP_OWN=0) to back this VIOMMU. So,
1062+ * VMM must wire the HYP_OWN bit to 0 in guest VINTF_CONFIG register
1063+ */
10551064 IOMMU_VIOMMU_TYPE_TEGRA241_CMDQV = 2,
10561065 };
10571066

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t