aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2025-01-10 16:35:05 +0000
committerJoerg Roedel <[email protected]>2025-01-17 07:59:32 +0000
commit082f1bcae8d1b5f76e92e369091176b8d61120ec (patch)
treeb664c9f68ffd69984dfd5dbfc49596b3dca093ac /net/switchdev/switchdev.c
parentiommu/amd: Move the nid to pdom_setup_pgtable() (diff)
downloadkernel-082f1bcae8d1b5f76e92e369091176b8d61120ec.tar.gz
kernel-082f1bcae8d1b5f76e92e369091176b8d61120ec.zip
iommu/amd: Fully decode all combinations of alloc_paging_flags
Currently AMD does not support IOMMU_HWPT_ALLOC_PASID | IOMMU_HWPT_ALLOC_DIRTY_TRACKING It should be rejected. Instead it creates a V1 domain without dirty tracking support. Use a switch to fully decode the flags. Fixes: ce2cd175469f ("iommu/amd: Enhance amd_iommu_domain_alloc_user()") Reviewed-by: Vasant Hegde <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions