4b8ef157ca
The amd_iommu_irq_remap variable is set to true in amd_iommu_prepare().
But if initialization fails it is not set to false. Fix that and
correctly keep track of whether irq remapping is enabled or not.
References: https://bugzilla.kernel.org/show_bug.cgi?id=212133
References: https://bugzilla.suse.com/show_bug.cgi?id=1183132
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
amd_iommu.h | ||
amd_iommu_types.h | ||
debugfs.c | ||
init.c | ||
io_pgtable.c | ||
iommu.c | ||
iommu_v2.c | ||
quirks.c |