[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 02/41] x86/tsc: Add helper to register CPU and TSC freq calibration routines



On Fri, 2026-05-15 at 12:19 -0700, Sean Christopherson wrote:
> 
> --- a/arch/x86/xen/time.c
> +++ b/arch/x86/xen/time.c
> @@ -569,7 +569,7 @@ static void __init xen_init_time_common(void)
>       static_call_update(pv_steal_clock, xen_steal_clock);
>       paravirt_set_sched_clock(xen_sched_clock);
>  
> -     x86_platform.calibrate_tsc = xen_tsc_khz;
> +     tsc_register_calibration_routines(xen_tsc_khz, NULL);
>       x86_platform.get_wallclock = xen_get_wallclock;
>  }
>  

xen_tsc_khz() doesn't use CPUID but really *should*.

Care to pull in
https://lore.kernel.org/all/20260509224824.3264567-31-dwmw2@xxxxxxxxxxxxx/
to your next round please?

(Without the misplaced changes in kvm/x86.c that should have been in
two different prior commits, and are now folded into those correctly in
my kvmclock5 branch ready for the next posting of that).

I'll drop that patch, and the similar x86/kvm one which you *have*
already taken in this series, from my next posting.

Thanks.

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Amazon Development Centre (London) Ltd.Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, London EC2A 2FA, United Kingdom.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.