diff options
author | Lu Baolu <[email protected]> | 2021-10-14 13:38:34 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-10-18 12:31:48 +0200 |
commit | 7afd7f6aa21a2929aff3a059b741933ee1819c6b (patch) | |
tree | 4379bf76741627358ad42d1af8e80a9a23266d8f /drivers/usb/cdns3/cdns3-trace.c | |
parent | b34380a6d767c54480a937951e6189a7f9699443 (diff) |
iommu/vt-d: Check FL and SL capability sanity in scalable mode
An iommu domain could be allocated and mapped before it's attached to any
device. This requires that in scalable mode, when the domain is allocated,
the format (FL or SL) of the page table must be determined. In order to
achieve this, the platform should support consistent SL or FL capabilities
on all IOMMU's. This adds a check for this and aborts IOMMU probing if it
doesn't meet this requirement.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions