summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-01-08 19:45:27 -0800
committerSean Christopherson <seanjc@google.com>2026-01-13 17:35:31 -0800
commit51ca2746078ef9390db91251805e54eff3601d63 (patch)
tree50f188b2bc8ef1d6a894ea671e3c92510f449b90 /tools/perf/scripts/python/stackcollapse.py
parent3e013d0a70994df2c2ba78d599a6c039ab0977a5 (diff)
downloadlinux-51ca2746078ef9390db91251805e54eff3601d63.tar.gz
linux-51ca2746078ef9390db91251805e54eff3601d63.zip
KVM: nVMX: Switch to vmcs01 to update TPR threshold on-demand if L2 is active
If KVM updates L1's TPR Threshold while L2 is active, temporarily load vmcs01 and immediately update TPR_THRESHOLD instead of deferring the update until the next nested VM-Exit. Deferring the TPR Threshold update is relatively straightforward, but for several APICv related updates, deferring updates creates ordering and state consistency problems, e.g. KVM at-large thinks APICv is enabled, but vmcs01 is still running with stale (and effectively unknown) state. Reviewed-by: Chao Gao <chao.gao@intel.com> Link: https://patch.msgid.link/20260109034532.1012993-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions