diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-03-10 10:47:46 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-03-10 09:31:03 +0100 |
commit | 607ba1bb096110751f6aa4b46666e0ba024ab3c2 (patch) | |
tree | 14b5dd71b79c89b10e3a12f1e648b21b0d37425d /net/lapb/lapb_timer.c | |
parent | a8653e5cc2047b6a3354dc072a9f1ebaff157eaa (diff) |
iommu/vt-d: Check if SVA is supported when attaching the SVA domain
Attach of a SVA domain should fail if SVA is not supported, move the check
for SVA support out of IOMMU_DEV_FEAT_SVA and into attach.
Also check when allocating a SVA domain to match other drivers.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Link: https://lore.kernel.org/r/20250228092631.3425464-3-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions