From: Naga Chumbalkar Date: Thu, 11 Jun 2009 15:26:48 +0000 (+0000) Subject: [CPUFREQ] powernow-k8: read P-state from HW X-Git-Tag: v2.6.31-rc1~284^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=532cfee6ba0a8efcf7c3ce38b9881292d79d516e;p=pandora-kernel.git [CPUFREQ] powernow-k8: read P-state from HW By definition, "cpuinfo_cur_freq" should report the value from HW. So, don't depend on the cached value. Instead read P-state directly from HW, while taking into account the erratum 311 workaround for Fam 11h processors. Cc: Andreas Herrmann Cc: Langsdorf, Mark Cc: Thomas Renninger Signed-off-by: Naga Chumbalkar Reviewed-by: Andreas Herrmann Tested-by: Andreas Herrmann Acked-by: Langsdorf, Mark Signed-off-by: Thomas Renninger Signed-off-by: Dave Jones --- Reading git-diff-tree failed