aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorVipin Sharma <[email protected]>2021-11-09 17:44:25 +0000
committerPaolo Bonzini <[email protected]>2021-11-11 10:56:24 -0500
commit329bd56ce5dc3449788de2dc078861ec6d75e457 (patch)
tree6bb424f4dce1e78b147d70b057c5cf6ae8faf68b /tools/perf/scripts/python/mem-phys-addr.py
parenta5e0c252845432893148d9905e3e379abcde9667 (diff)
KVM: VMX: Add a helper function to retrieve the GPR index for INVPCID, INVVPID, and INVEPT
handle_invept(), handle_invvpid(), handle_invpcid() read the same reg2 field in vmcs.VMX_INSTRUCTION_INFO to get the index of the GPR that holds the invalidation type. Add a helper to retrieve reg2 from VMX instruction info to consolidate and document the shift+mask magic. Signed-off-by: Vipin Sharma <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions