AMD/IOMMU: honour IR setting while pre-filling DTEs
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Tue, 26 Nov 2019 17:08:19 +0000 (17:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 27 Nov 2019 11:28:24 +0000 (11:28 +0000)
commit195b79a97e6721ba8830036f47d2454545f32e44
tree02a6b3187d96add5eb8aa9c15573069bc7913df6
parent34c11725483beb45499f934c7e06e00b55f04ef4
AMD/IOMMU: honour IR setting while pre-filling DTEs

IV bit shouldn't be set in DTE if interrupt remapping is not
enabled. It's a regression in behavior of "iommu=no-intremap"
option which otherwise would keep interrupt requests untranslated
for all of the devices in the system regardless of wether it's
described as valid in IVRS or not.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/drivers/passthrough/amd/iommu_init.c