diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-08-05 12:05:15 -0700 | 
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-08-19 11:59:35 -0700 | 
| commit | aa2e4f029341c0b56645d49cd5959946cdab31b9 (patch) | |
| tree | 5a5ade327fca637024cb5a733c1e9fc0f08cead1 /scripts/checktransupdate.py | |
| parent | aebcbb60977323c21c8d89eb4298e454f8e89299 (diff) | |
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 'scripts/checktransupdate.py')
0 files changed, 0 insertions, 0 deletions
