diff options
author | Robin Murphy <robin.murphy@arm.com> | 2024-03-04 15:05:42 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-03-06 19:40:01 +0300 |
commit | e2addba4930558a6f37a2e4b2cb6f726638a6dce (patch) | |
tree | fc918029ec54c9965dc05697f4edc75fd4f91163 /drivers/virtio/virtio_pci_common.h | |
parent | b5a1f7513a2fcb1b9e646128ff0cb0dbba5ed6c1 (diff) | |
download | linux-e2addba4930558a6f37a2e4b2cb6f726638a6dce.tar.xz |
iommu/dma: Document min_align_mask assumption
iommu-dma does not explicitly reference min_align_mask since we already
assume that will be less than or equal to any typical IOVA granule.
We wouldn't realistically expect to see the case where it is larger, and
that would be non-trivial to support, however for the sake of reasoning
(particularly around the interaction with SWIOTLB), let's clearly
enforce the assumption.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/dbb4d2d8e5d1691ac9a6c67e9758904e6c447ba5.1709553942.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
0 files changed, 0 insertions, 0 deletions