summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/ccio-rm-dma.c
diff options
context:
space:
mode:
authorAlok Kataria <akataria@vmware.com>2012-02-21 18:19:55 -0800
committerJohn Stultz <john.stultz@linaro.org>2012-03-15 18:23:11 -0700
commit57779dc2b3b75bee05ef5d1ada47f615f7a13932 (patch)
tree92ab03f63c9718e6f58fe201a2d8bde26517b3f9 /drivers/parisc/ccio-rm-dma.c
parent4a649903f91232d02284d53724b0a45728111767 (diff)
downloadop-kernel-dev-57779dc2b3b75bee05ef5d1ada47f615f7a13932.zip
op-kernel-dev-57779dc2b3b75bee05ef5d1ada47f615f7a13932.tar.gz
x86, tsc: Skip refined tsc calibration on systems with reliable TSC
While running the latest Linux as guest under VMware in highly over-committed situations, we have seen cases when the refined TSC algorithm fails to get a valid tsc_start value in tsc_refine_calibration_work from multiple attempts. As a result the kernel keeps on scheduling the tsc_irqwork task for later. Subsequently after several attempts when it gets a valid start value it goes through the refined calibration and either bails out or uses the new results. Given that the kernel originally read the TSC frequency from the platform, which is the best it can get, I don't think there is much value in refining it. So for systems which get the TSC frequency from the platform we should skip the refined tsc algorithm. We can use the TSC_RELIABLE cpu cap flag to detect this, right now it is set only on VMware and for Moorestown Penwell both of which have there own TSC calibration methods. Signed-off-by: Alok N Kataria <akataria@vmware.com> Cc: John Stultz <johnstul@us.ibm.com> Cc: Dirk Brandewie <dirk.brandewie@gmail.com> Cc: Alan Cox <alan@linux.intel.com> Cc: stable@kernel.org [jstultz: Reworked to simply not schedule the refining work, rather then scheduling the work and bombing out later] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/parisc/ccio-rm-dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud