Re: [PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-17 Thread John Stultz
On Mon, Aug 17, 2015 at 9:14 AM, Shaohua Li wrote: > ping, any comments? > > On Wed, Aug 05, 2015 at 11:12:53AM -0700, Shaohua Li wrote: >> From time to time we saw TSC is marked as unstable in our systems, while >> the CPUs declare to have stable TSC. Looking at the clocksource unstable >>

Re: [PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-17 Thread Shaohua Li
ping, any comments? On Wed, Aug 05, 2015 at 11:12:53AM -0700, Shaohua Li wrote: > From time to time we saw TSC is marked as unstable in our systems, while > the CPUs declare to have stable TSC. Looking at the clocksource unstable > detection, there are two problems: > - watchdog clock source

Re: [PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-17 Thread John Stultz
On Mon, Aug 17, 2015 at 9:14 AM, Shaohua Li s...@fb.com wrote: ping, any comments? On Wed, Aug 05, 2015 at 11:12:53AM -0700, Shaohua Li wrote: From time to time we saw TSC is marked as unstable in our systems, while the CPUs declare to have stable TSC. Looking at the clocksource unstable

Re: [PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-17 Thread Shaohua Li
ping, any comments? On Wed, Aug 05, 2015 at 11:12:53AM -0700, Shaohua Li wrote: From time to time we saw TSC is marked as unstable in our systems, while the CPUs declare to have stable TSC. Looking at the clocksource unstable detection, there are two problems: - watchdog clock source wrap.

[PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-05 Thread Shaohua Li
>From time to time we saw TSC is marked as unstable in our systems, while the CPUs declare to have stable TSC. Looking at the clocksource unstable detection, there are two problems: - watchdog clock source wrap. HPET is the most common watchdog clock source. It's 32-bit and runs in 14.3Mhz. That

[PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-05 Thread Shaohua Li
From time to time we saw TSC is marked as unstable in our systems, while the CPUs declare to have stable TSC. Looking at the clocksource unstable detection, there are two problems: - watchdog clock source wrap. HPET is the most common watchdog clock source. It's 32-bit and runs in 14.3Mhz. That