]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio/type1: remove duplicate retrieval of reserved regions
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Tue, 23 Jul 2019 16:06:37 +0000 (17:06 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 19 Aug 2019 19:55:50 +0000 (13:55 -0600)
commitb09d6e47397409faf12f72edd140956e4cfe3011
tree150a37f58ad218890d88646e10cfff126bd206d4
parenta717072007e8aedd3f951726d8cf55454860b30d
vfio/type1: remove duplicate retrieval of reserved regions

As we now already have the reserved regions list, just pass that into
vfio_iommu_has_sw_msi() fn.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c