diff options
| author | Vasant Hegde <[email protected]> | 2024-02-05 11:56:04 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-02-09 13:16:24 +0100 |
| commit | 7b4e5623d8e4f1475b7deac42035d0129fb36ed0 (patch) | |
| tree | ac0e284ea933d66f455e0b77cb5c6190771c365c /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | b7731065523048276a80c8e16120208153438930 (diff) | |
iommu/amd: Use protection_domain.flags to check page table mode
Page table mode (v1, v2 or pt) is per domain property. Recently we have
enhanced protection_domain.pd_mode to track per domain page table mode.
Use that variable to check the page table mode instead of global
'amd_iommu_pgtable' in {map/unmap}_pages path.
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions