aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-08-28 08:03:50 +0000
committerBorislav Petkov <[email protected]>2019-08-28 08:48:30 +0000
commitbac7b4e843232a3a49a042410cf743341eb0887e (patch)
treed0d1eb55219dc73b4358dc354194f26091822b3b /tools/perf/scripts/python/event_analyzing_sample.py
parentLinux 5.3-rc6 (diff)
downloadkernel-bac7b4e843232a3a49a042410cf743341eb0887e.tar.gz
kernel-bac7b4e843232a3a49a042410cf743341eb0887e.zip
x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls
Vmware has historically used an INL instruction for this, but recent hardware versions support using VMCALL/VMMCALL instead, so use this method if supported at platform detection time. Explicitly code separate macro versions since the alternatives self-patching has not been performed at platform detection time. Also put tighter constraints on the assembly input parameters. Co-developed-by: Doug Covelli <[email protected]> Signed-off-by: Doug Covelli <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Doug Covelli <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions