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>
for ( bdf = 0, size /= sizeof(*dt); bdf < size; ++bdf )
dt[bdf] = (struct amd_iommu_dte){
.v = true,
- .iv = true,
+ .iv = iommu_intremap,
};
}