diff options
| author | Suravee Suthikulpanit <[email protected]> | 2024-02-05 11:56:11 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-02-09 13:16:28 +0100 |
| commit | cf70873e3d01653df69115576501f8f7f6f2b203 (patch) | |
| tree | 311289c1cd772ae0c7e2e1f19217386d0b1c953f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | fb575d17813f6aff2e8b7e051dac8def2c291bff (diff) | |
iommu/amd: Refactor GCR3 table helper functions
To use the new per-device struct gcr3_tbl_info. Use GFP_KERNEL flag
instead of GFP_ATOMIC for GCR3 table allocation. Also modify
set_dte_entry() to use new per device GCR3 table.
Also in free_gcr3_table() path replace BUG_ON with WARN_ON_ONCE().
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Co-developed-by: Vasant Hegde <[email protected]>
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/autoload.c')
0 files changed, 0 insertions, 0 deletions