summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2024-02-05 14:56:00 +0300
committerJoerg Roedel <jroedel@suse.de>2024-02-09 15:16:21 +0300
commit8e017973317235468a330aa197134c1aebbf13da (patch)
tree70587117fe64118c36db739d5bddc7cfc664596d /tools/perf/scripts/python/export-to-sqlite.py
parenta6ffb9b3d71ea21c9d56ac5856fe321ef584bb19 (diff)
downloadlinux-8e017973317235468a330aa197134c1aebbf13da.tar.xz
iommu/amd: Enable Guest Translation before registering devices
IOMMU Guest Translation (GT) feature needs to be enabled before invalidating guest translations (CMD_INV_IOMMU_PAGES with GN=1). Currently GT feature is enabled after setting up interrupt handler. So far it was fine as we were not invalidating guest page table before this point. Upcoming series will introduce per device GCR3 table and it will invalidate guest pages after configuring. Hence move GT feature enablement to early_enable_iommu(). Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20240205115615.6053-3-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions