Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-17 Thread Pavel Tatashin
> > Oops, yes, my mistake. I will test the patchset with Thomas's kvm patch > for you. Thank you Dou. Please wait for updated series before you test it. I will include patches from Thomas in the updated series. Thank you, Pavel

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-17 Thread Pavel Tatashin
> > Oops, yes, my mistake. I will test the patchset with Thomas's kvm patch > for you. Thank you Dou. Please wait for updated series before you test it. I will include patches from Thomas in the updated series. Thank you, Pavel

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-17 Thread Dou Liyang
At 07/16/2018 09:35 PM, Pavel Tatashin wrote: [...] v13 has xen patches, so xen timestamps work early as well now. Oops, yes, my mistake. I will test the patchset with Thomas's kvm patch for you. Thanks, dou Thank you, Pavel

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-17 Thread Dou Liyang
At 07/16/2018 09:35 PM, Pavel Tatashin wrote: [...] v13 has xen patches, so xen timestamps work early as well now. Oops, yes, my mistake. I will test the patchset with Thomas's kvm patch for you. Thanks, dou Thank you, Pavel

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-16 Thread Pavel Tatashin
On Mon, Jul 16, 2018 at 5:33 AM Dou Liyang wrote: > > > > At 07/13/2018 07:30 PM, Pavel Tatashin wrote: > > On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang > > wrote: > >> > >> > >> At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > >>> During boot tsc is calibrated twice: once in

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-16 Thread Pavel Tatashin
On Mon, Jul 16, 2018 at 5:33 AM Dou Liyang wrote: > > > > At 07/13/2018 07:30 PM, Pavel Tatashin wrote: > > On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang > > wrote: > >> > >> > >> At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > >>> During boot tsc is calibrated twice: once in

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-16 Thread Dou Liyang
At 07/13/2018 07:30 PM, Pavel Tatashin wrote: On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: At 07/12/2018 08:04 AM, Pavel Tatashin wrote: During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate()

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-16 Thread Dou Liyang
At 07/13/2018 07:30 PM, Pavel Tatashin wrote: On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: At 07/12/2018 08:04 AM, Pavel Tatashin wrote: During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate()

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), > > and the second time in tsc_init(). > > > > Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), > > and the second time in tsc_init(). > > > > Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Dou Liyang
At 07/12/2018 08:04 AM, Pavel Tatashin wrote: During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it so the calibration is done only early, and make tsc_init() to use

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Dou Liyang
At 07/12/2018 08:04 AM, Pavel Tatashin wrote: During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it so the calibration is done only early, and make tsc_init() to use

[PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-11 Thread Pavel Tatashin
During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it so the calibration is done only early, and make tsc_init() to use the values already determined in tsc_early_init().

[PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-11 Thread Pavel Tatashin
During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), and the second time in tsc_init(). Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it so the calibration is done only early, and make tsc_init() to use the values already determined in tsc_early_init().