diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index e4899e0e8787..a232e5a85d48 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -858,6 +858,9 @@ static int get_device_resources(struct device *dev, | |||
858 | print_devid(_bdf, 1); | 858 | print_devid(_bdf, 1); |
859 | } | 859 | } |
860 | 860 | ||
861 | if (domain_for_device(_bdf) == NULL) | ||
862 | set_device_domain(*iommu, *domain, _bdf); | ||
863 | |||
861 | return 1; | 864 | return 1; |
862 | } | 865 | } |
863 | 866 | ||