AMD/IOMMU: Always print IOMMU errors
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 26 Nov 2019 14:08:01 +0000 (14:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Nov 2019 18:55:10 +0000 (18:55 +0000)
commitb0282a69f42209f18e21be7dbfb4d8c1c6c7b902
tree9a940aa80a72969112be8295a42c00482e841544
parentea38867831da67eed0e9c61672c8941016b63dd9
AMD/IOMMU: Always print IOMMU errors

Unhandled IOMMU errors (i.e. not IO_PAGE_FAULT) should still be printed, and
not hidden behind iommu=debug.

While adjusting this, factor out the symbolic name handling to just one
location exposing its off-by-one nature.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/amd/iommu_init.c