iommu/vt-d: Use device numa domain if RHSA is missing
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 22 Sep 2020 06:08:43 +0000 (14:08 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 24 Sep 2020 08:59:55 +0000 (10:59 +0200)
commitd2ef0962492c3be3563e53a431c285678849b3c1
treef401a7424d955dcfa2920de6de812ca75940da8a
parentc7eb900f5f45eeab1ea1bed997a2a12d8b5907bc
iommu/vt-d: Use device numa domain if RHSA is missing

If there are multiple NUMA domains but the RHSA is missing in ACPI/DMAR
table, we could default to the device NUMA domain as fall back.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Link: https://lore.kernel.org/r/20200904010303.2961-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20200922060843.31546-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c