summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-08-05 22:05:15 +0300
committerSean Christopherson <seanjc@google.com>2025-08-19 21:59:35 +0300
commitaa2e4f029341c0b56645d49cd5959946cdab31b9 (patch)
tree5a5ade327fca637024cb5a733c1e9fc0f08cead1 /tools/lib/python
parentaebcbb60977323c21c8d89eb4298e454f8e89299 (diff)
downloadlinux-aa2e4f029341c0b56645d49cd5959946cdab31b9.tar.xz
KVM: x86: Unconditionally grab data from EDX:EAX in WRMSR fastpath
Always grab EDX:EAX in the WRMSR fastpath to deduplicate and simplify the case statements, and to prepare for handling immediate variants of WRMSRNS in the fastpath (the data register is explicitly provided in that case). There's no harm in reading the registers, as their values are always available, i.e. don't require VMREADs (or similarly slow operations). No real functional change intended. Cc: Xin Li <xin@zytor.com> Link: https://lore.kernel.org/r/20250805190526.1453366-8-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions