diff options
| author | Jason Gunthorpe <[email protected]> | 2025-03-10 02:47:46 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2025-03-10 08:31:03 +0000 |
| commit | 607ba1bb096110751f6aa4b46666e0ba024ab3c2 (patch) | |
| tree | 14b5dd71b79c89b10e3a12f1e648b21b0d37425d /net/unix/unix_bpf.c | |
| parent | iommu/vt-d: Use virt_to_phys() (diff) | |
| download | kernel-607ba1bb096110751f6aa4b46666e0ba024ab3c2.tar.gz kernel-607ba1bb096110751f6aa4b46666e0ba024ab3c2.zip | |
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 <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Tested-by: Zhangfei Gao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
