aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2022-05-10 10:34:04 +0800
committerJoerg Roedel <[email protected]>2022-05-13 15:14:56 +0200
commit9d6ab26a75f47332da9949a0112727e10f2d6e51 (patch)
tree7779278eb13bcefca6ac8d94601c970aaf68b3a6 /include/linux/fpga/fpga-mgr.h
parentea661ad6e1573d5b08c27444ff2ed403bf39ff66 (diff)
iommu/vt-d: Block force-snoop domain attaching if no SC support
In the attach_dev callback of the default domain ops, if the domain has been set force_snooping, but the iommu hardware of the device does not support SC(Snoop Control) capability, the callback should block it and return a corresponding error code. Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Jason Gunthorpe <[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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions