Home
last modified time | relevance | path

Searched hist:"9 d6ab26a75f47332da9949a0112727e10f2d6e51" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iommu/intel/
H A Diommu.cdiff 9d6ab26a75f47332da9949a0112727e10f2d6e51 Mon May 09 21:34:04 CDT 2022 Lu Baolu <baolu.lu@linux.intel.com> 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 <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220508123525.1973626-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20220510023407.2759143-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>