summaryrefslogtreecommitdiffstats
path: root/tools/cgroup
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-03-13 15:57:12 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-03-13 19:50:23 +0100
commit44fee88cea43d3c2cac962e0439cb10a3cabff6d (patch)
treecb6a770ec8d3be9d7e7eff4f1b825a50ea783c5e /tools/cgroup
parent80354c29025833acd72ddac1ffa21c6cb50128cd (diff)
downloadtalos-obmc-linux-44fee88cea43d3c2cac962e0439cb10a3cabff6d.tar.gz
talos-obmc-linux-44fee88cea43d3c2cac962e0439cb10a3cabff6d.zip
x86/tsc: Fix ART for TSC_KNOWN_FREQ
Subhransu reported that convert_art_to_tsc() isn't working for him. The ART to TSC relation is only set up for systems which use the refined TSC calibration. Systems with known TSC frequency (available via CPUID 15) are not using the refined calibration and therefor the ART to TSC relation is never established. Add the setup to the known frequency init path which skips ART calibration. The init code needs to be duplicated as for systems which use refined calibration the ART setup must be delayed until calibration has been done. The problem has been there since the ART support was introdduced, but only detected now because Subhransu tested the first time on hardware which has TSC frequency enumerated via CPUID 15. Note for stable: The conditional has changed from TSC_RELIABLE to TSC_KNOWN_FREQUENCY. [ tglx: Rewrote changelog and identified the proper 'Fixes' commit ] Fixes: f9677e0f8308 ("x86/tsc: Always Running Timer (ART) correlated clocksource") Reported-by: "Prusty, Subhransu S" <subhransu.s.prusty@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: stable@vger.kernel.org Cc: christopher.s.hall@intel.com Cc: kevin.b.stanton@intel.com Cc: john.stultz@linaro.org Cc: akataria@vmware.com Link: http://lkml.kernel.org/r/20170313145712.GI3312@twins.programming.kicks-ass.net Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud