summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2024-11-04 12:38:00 +0200
committerDave Hansen <dave.hansen@linux.intel.com>2024-11-07 10:26:16 -0800
commit5081e8fadb809253c911b349b01d87c5b4e3fec5 (patch)
tree54bc7033989445711a42090cc52340269874dcd1 /tools/perf/scripts/python/exported-sql-viewer.py
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff)
downloadlinux-stable-5081e8fadb809253c911b349b01d87c5b4e3fec5.tar.gz
linux-stable-5081e8fadb809253c911b349b01d87c5b4e3fec5.tar.bz2
linux-stable-5081e8fadb809253c911b349b01d87c5b4e3fec5.zip
x86/tdx: Introduce wrappers to read and write TD metadata
The TDG_VM_WR TDCALL is used to ask the TDX module to change some TD-specific VM configuration. There is currently only one user in the kernel of this TDCALL leaf. More will be added shortly. Refactor to make way for more users of TDG_VM_WR who will need to modify other TD configuration values. Add a wrapper for the TDG_VM_RD TDCALL that requests TD-specific metadata from the TDX module. There are currently no users for TDG_VM_RD. Mark it as __maybe_unused until the first user appears. This is preparation for enumeration and enabling optional TD features. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Kai Huang <kai.huang@intel.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Link: https://lore.kernel.org/all/20241104103803.195705-2-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions