iommu/vt-d: Remove VMD child device sanity check
authorJon Derrick <jonathan.derrick@intel.com>
Tue, 21 Jan 2020 13:37:49 +0000 (06:37 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2020 20:58:45 +0000 (14:58 -0600)
commite3560ee4cfb29e232ea99ff9adfaa8ac5b414345
tree46a3659a8e2414607b76957b21f459841462f72e
parent2b0140c69637e6f3cf9f8a0b7629567de9645680
iommu/vt-d: Remove VMD child device sanity check

Remove the sanity check required for VMD child devices.  The new
pci_real_dma_dev() DMA alias mechanism places them in the same IOMMU group
as the VMD endpoint.  Assignment of the group would require assigning the
VMD endpoint, where unbinding the VMD endpoint removes the child device
domain from the hierarchy.

Link: https://lore.kernel.org/r/1579613871-301529-6-git-send-email-jonathan.derrick@intel.com
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
drivers/iommu/intel-iommu.c