iommu: fix order of arguments in iommu_map call at iommu_hwdom_init
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 25 Jan 2019 08:49:50 +0000 (09:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Jan 2019 08:49:50 +0000 (09:49 +0100)
commit3389a8dc8c5753a3c84744923cd0193395e3f2a9
tree66e06f0c6774678e530487407850d095a99d6fd4
parentba9b5a09da01960848ae9d30a34fb9073efb4f13
iommu: fix order of arguments in iommu_map call at iommu_hwdom_init

The order of the page_order and the flags parameters are inverted in
the call to iommu_map made in iommu_hwdom_init.

Fixes: e8afe1124cc1 ("iommu: elide flushing for higher order map/unmap operations")
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/drivers/passthrough/iommu.c