aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2023-03-29 21:47:20 +0800
committerJoerg Roedel <[email protected]>2023-03-31 10:06:15 +0200
commitbfd3c6b9fa4a1dc78139dd1621d5bea321ffa69d (patch)
tree9a159f9aa827ab992bbcf856405831f5bd02c6df /drivers/fpga/fpga-bridge.c
parentc7d624520c1bd4e42d8ceb8283d6505fc90acccb (diff)
iommu/vt-d: Allow zero SAGAW if second-stage not supported
The VT-d spec states (in section 11.4.2) that hardware implementations reporting second-stage translation support (SSTS) field as Clear also report the SAGAW field as 0. Fix an inappropriate check in alloc_iommu(). Fixes: 792fb43ce2c9 ("iommu/vt-d: Enable Intel IOMMU scalable mode by default") Suggested-by: Raghunathan Srinivasan <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jacob Pan <[email protected]> Signed-off-by: Lu Baolu <[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/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions