Thread (80 messages) flat view 80 messages, 5 authors, 13d ago

Re: [PATCH v6 15/51] x86/tsc: Kill off x86_platform_ops.calibrate_{cpu,tsc}() hooks

From: David Woodhouse <dwmw2@infradead.org>
Date: 2026-08-08 15:01:53
Also in: kvm, linux-coco, lkml, virtualization, xen-devel

On Thu, 2026-08-06 at 16:35 -0700, Sean Christopherson wrote:
Now that getting the CPU and/or TSC frequencies from the hypervisor uses
dedicated hooks, drop x86_platform_ops.calibrate_{cpu,tsc}() and instead
directly invoke the correct helper at each phase of (re)calibration.  In
addition to eliminating unnecessary code, this makes it a bit more obvious
when the "late" path invokes pit_hpet_ptimer_calibrate_cpu() instead of
x86_platform_ops.calibrate_cpu().

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: David Woodhouse <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help