summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-04-22 05:21:23 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-26 12:27:12 +0300
commitd8971344f5739a9cc53f91f1f593ddd82265b93b (patch)
tree4244acbe36a39336d3f40ba59bccbcf8dfc28bbb /tools/perf/scripts/python/futex-contention.py
parent0884335a2e653b8a045083aa1d57ce74269ac81d (diff)
downloadlinux-d8971344f5739a9cc53f91f1f593ddd82265b93b.tar.xz
KVM: VMX: Truncate GPR value for DR and CR reads in !64-bit mode
Drop bits 63:32 when storing a DR/CR to a GPR when the vCPU is not in 64-bit mode. Per the SDM: The operand size for these instructions is always 32 bits in non-64-bit modes, regardless of the operand-size attribute. CR8 technically isn't affected as CR8 isn't accessible outside of 64-bit mode, but fix it up for consistency and to allow for future cleanup. Fixes: 6aa8b732ca01 ("[PATCH] kvm: userspace interface") Cc: stable@vger.kernel.org Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210422022128.3464144-5-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions