diff options
| author | 2019-12-11 18:33:26 +0000 | |
|---|---|---|
| committer | 2019-12-17 11:17:28 +0100 | |
| commit | bd036d2fdd374fa252abfc221e1a1280eee42f89 (patch) | |
| tree | 6fc50ea3610030c64a4dac9139981c3c0b1e9f81 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | iommu/iova: Init the struct iova to fix the possible memleak (diff) | |
| download | linux-dev-bd036d2fdd374fa252abfc221e1a1280eee42f89.tar.xz linux-dev-bd036d2fdd374fa252abfc221e1a1280eee42f89.zip | |
iommu/dma: Rationalise types for DMA masks
Since iommu_dma_alloc_iova() combines incoming masks with the u64 bus
limit, it makes more sense to pass them around in their native u64
rather than converting to dma_addr_t early. Do that, and resolve the
remaining type discrepancy against the domain geometry with a cheeky
cast to keep things simple.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
