diff options
author | Suravee Suthikulpanit <[email protected]> | 2024-02-05 11:56:08 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-02-09 13:16:26 +0100 |
commit | e8e1aac33458d80545e5ad37b2a3e4243eee278e (patch) | |
tree | 32332698816260fadc741c0545b0b558f4d122e2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf8aff2945ba4091f503df673b9df33002546e6a (diff) |
iommu/amd: Refactor helper function for setting / clearing GCR3
Refactor GCR3 helper functions in preparation to use per device
GCR3 table.
* Add new function update_gcr3 to update per device GCR3 table
* Remove per domain default GCR3 setup during v2 page table allocation.
Subsequent patch will add support to setup default gcr3 while
attaching device to domain.
* Remove amd_iommu_domain_update() from V2 page table path as device
detach path will take care of updating the domain.
* Consolidate GCR3 table related code in one place so that its easy
to maintain.
* Rename functions to reflect its usage.
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions