diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-01-19 23:58:01 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-23 18:00:46 +0300 |
commit | 5d704992189fe8683a23f583a2f4f137a9b9d28b (patch) | |
tree | ff14d4ac48f55b725a82e25255fce329ad18bb8e /include/kvm | |
parent | 59768527db3de41afb0586e677e322012e6a392b (diff) | |
download | linux-5d704992189fe8683a23f583a2f4f137a9b9d28b.tar.xz |
vfio/type1: Allow transparent MSI IOVA allocation
When attaching a group to the container, check the group's
reserved regions and test whether the IOMMU translates MSI
transactions. If yes, we initialize an IOVA allocator through
the iommu_get_msi_cookie API. This will allow the MSI IOVAs
to be transparently allocated on MSI controller's compose().
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions