diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2024-11-18 08:49:33 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-12-18 11:37:40 +0300 |
commit | fd5dff9de4be29b8ebec63b7e916915d4c984027 (patch) | |
tree | d20bdb8d3bddfd00a4fed4f85ec0ceed426f36ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8b3f78733814b180089a400743b6f19d118aec62 (diff) | |
download | linux-fd5dff9de4be29b8ebec63b7e916915d4c984027.tar.xz |
iommu/amd: Modify set_dte_entry() to use 256-bit DTE helpers
Also, the set_dte_entry() is used to program several DTE fields (e.g.
stage1 table, stage2 table, domain id, and etc.), which is difficult
to keep track with current implementation.
Therefore, separate logic for clearing DTE (i.e. make_clear_dte) and
another function for setting up the GCR3 Table Root Pointer, GIOV, GV,
GLX, and GuestPagingMode into another function set_dte_gcr3_table().
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20241118054937.5203-6-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions