ANDROID: virtio: Introduce virtio_iommu_platform_ops

Introduce a global 'virtio_iommu_platform_ops' structure which can be
optionally set to allow platform-specific map() and unmap() operations
to be performed on buffers being used to communicate with devices
advertising the VIRTIO_F_IOMMU_PLATFORM feature.

Bug: 209797374
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ic0cba63c496b69e506a3d50373e4e9047e800fac
2 files changed