On 2020/5/28 15:01, Lu Baolu wrote:
On 2020/5/28 0:56, Jon Derrick wrote:
Sub-devices of a real DMA device might exist on a separate segment than
the real DMA device and its IOMMU. These devices should still have a
valid device_domain_info, but the current dma alias model won't
allocate info for the subdevice.
This patch adds a segment member to struct device_domain_info and uses
the sub-device's BDF so that these sub-devices won't alias to other
devices.
Signed-off-by: Jon Derrick <[email protected]>
Acked-by: Lu Baolu <[email protected]>
And a fix tag, so that it could be picked up for v5.6+ stable kernel.
Fixes: 2b0140c69637e ("iommu/vt-d: Use pci_real_dma_dev() for mapping")
Best regards,
baolu
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu