diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2026-07-28 15:40:02 +0100 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-08-07 09:11:56 -0700 |
| commit | 7d3bd21e457bd091beb982553fcf32fd9ee5929f (patch) | |
| tree | 5015ad772f9ce161eaeb4d5a9930d5b83c93f5ca /include/linux | |
| parent | 36a85200643e62d20a91f0bc1a811187b59f7762 (diff) | |
KVM: x86: Remove runtime Xen TSC frequency CPUID update
Remove the code in kvm_cpuid() that dynamically updates the Xen TSC
info CPUID leaf at runtime, as KVM is updating the wrong sub-leaf anyway
(0x40000x03/2 EAX is the *host* TSC frequency per the Xen ABI, not the
guest frequency which belongs in 0x40000x03/0 ECX).
Simply drop the code instead of fixing it to fill the correct sub-leaf, as
modifying guest CPUID entries/output at runtime is generally undesirable,
and providing userspace the necessary data to fill the sub-leaf itself is
useful for other reasons, e.g. to fill the generic 0x40000010 timing leaf
and to provide exact scaling information to aid save/restore.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://patch.msgid.link/20260728144954.355376-23-dwmw2@infradead.org
[sean: tweak changelog to take this patch before the new uAPI]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
