aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorEliav Bar-ilan <[email protected]>2024-09-10 16:44:16 -0300
committerJoerg Roedel <[email protected]>2024-09-12 09:20:18 +0200
commit8386207f37e98453e1de3f51e50eeeea089103f9 (patch)
treed7a00911af6b5c5a6dd4c739eaa4aff2ab381392 /tools/testing/selftests/bpf/progs/test_autoload.c
parentda3ea35007d0af457a0afc87e84fddaebc4e0b63 (diff)
iommu/amd: Fix argument order in amd_iommu_dev_flush_pasid_all()
An incorrect argument order calling amd_iommu_dev_flush_pasid_pages() causes improper flushing of the IOMMU, leaving the old value of GCR3 from a previous process attached to the same PASID. The function has the signature: void amd_iommu_dev_flush_pasid_pages(struct iommu_dev_data *dev_data, ioasid_t pasid, u64 address, size_t size) Correct the argument order. Cc: [email protected] Fixes: 474bf01ed9f0 ("iommu/amd: Add support for device based TLB invalidation") Signed-off-by: Eliav Bar-ilan <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Reviewed-by: Vasant Hegde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions