Pull iommu updates from Joerg Roedel: - ARM-SMMU support for the TLB range invalidation command in SMMUv3.2 - ARM-SMMU introduction of command batching helpers to batch up CD and ATC invalidation - ARM-SMMU support for PCI PASID, along with necessary PCI symbol exports - Introduce a generic (actually rename an existing) IOMMU related pointer in struct device and reduce the IOMMU related pointers - Some fixes for the OMAP IOMMU driver to make it build on 64bit architectures - Various smaller fixes and improvements * tag 'iommu-updates-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (39 commits) iommu: Move fwspec->iommu_priv to struct dev_iommu iommu/virtio: Use accessor functions for iommu private data iommu/qcom: Use accessor functions for iommu private data iommu/mediatek: Use accessor functions for iommu private data iommu/renesas: Use accessor functions for iommu private data iommu/arm-smmu: Use accessor functions for iommu private data iommu/arm-smmu: Refactor master_cfg/fwspec usage iommu/arm-smmu-v3: Use accessor functions for iommu private data iommu: Introduce accessors for iommu private data iommu/arm-smmu: Fix uninitilized variable warning iommu: Move iommu_fwspec to struct dev_iommu iommu: Rename struct iommu_param to dev_iommu iommu/tegra-gart: Remove direct access of dev->iommu_fwspec drm/msm/mdp5: Remove direct access of dev->iommu_fwspec ACPI/IORT: Remove direct access of dev->iommu_fwspec iommu: Define dev_iommu_fwspec_get() for !CONFIG_IOMMU_API iommu/virtio: Reject IOMMU page granule larger than PAGE_SIZE iommu/virtio: Fix freeing of incomplete domains iommu/virtio: Fix sparse warning iommu/vt-d: Add build dependency on IOASID ...
Showing the changes to include/uapi/linux (1 of 22 files). Show all
Unified · Split
| @@ -18,24 +18,24 @@ · 17 unmodified lines | |||
| 18 | #define VIRTIO_IOMMU_F_MMIO 5 | 18 | #define VIRTIO_IOMMU_F_MMIO 5 |
| 19 | 19 | ||
| 20 | struct virtio_iommu_range_64 { | 20 | struct virtio_iommu_range_64 { |
| 21 | __le64 start; | 21 | __u64 start; |
| 22 | __le64 end; | 22 | __u64 end; |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | struct virtio_iommu_range_32 { | 25 | struct virtio_iommu_range_32 { |
| 26 | __le32 start; | 26 | __u32 start; |
| 27 | __le32 end; | 27 | __u32 end; |
| 28 | }; | 28 | }; |
| 29 | 29 | ||
| 30 | struct virtio_iommu_config { | 30 | struct virtio_iommu_config { |
| 31 | /* Supported page sizes */ | 31 | /* Supported page sizes */ |
| 32 | __le64 page_size_mask; | 32 | __u64 page_size_mask; |
| 33 | /* Supported IOVA range */ | 33 | /* Supported IOVA range */ |
| 34 | struct virtio_iommu_range_64 input_range; | 34 | struct virtio_iommu_range_64 input_range; |
| 35 | /* Max domain ID size */ | 35 | /* Max domain ID size */ |
| 36 | struct virtio_iommu_range_32 domain_range; | 36 | struct virtio_iommu_range_32 domain_range; |
| 37 | /* Probe buffer size */ | 37 | /* Probe buffer size */ |
| 38 | __le32 probe_size; | 38 | __u32 probe_size; |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | /* Request types */ | 41 | /* Request types */ |