diff options
author | Suravee Suthikulpanit <[email protected]> | 2022-03-01 14:26:26 +0530 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-03-08 12:19:29 +0100 |
commit | 9f968fc70d85558b37cd721a4c08143f69ff9990 (patch) | |
tree | 71e5d705ba7d21e819714d8c787870abd4b4a94b /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | c1d5b57a1ebb97beb34ab8fe6347fb2ba65674b8 (diff) |
iommu/amd: Improve amd_iommu_v2_exit()
During module exit, the current logic loops through all possible
16-bit device ID space to search for existing devices and clean up
device state structures. This can be simplified by looping through
the device state list.
Also, refactor various clean up logic into free_device_state()
for better reusability.
Signed-off-by: Vasant Hegde <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[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_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions