From: Nagananda.Chumbalkar@hp.com Date: Mon, 21 Dec 2009 22:40:52 +0000 (+0100) Subject: [CPUFREQ] Fix ondemand to not request targets outside policy limits X-Git-Tag: v2.6.33-rc8~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dbf58881f307e21a3df4b990a5bea401360d02e;p=pandora-kernel.git [CPUFREQ] Fix ondemand to not request targets outside policy limits Dominik said: target_freq cannot be below policy->min or above policy->max. If it were, the whole cpufreq subsystem is broken. But (answer): I think the "ondemand" governor can ask for a target frequency that is below policy->min. ... A patch such as below may be needed to sanitize the target frequency requested by "ondemand". The "conservative" governor already has this check: Signed-off-by: Thomas Renninger Signed-off-by: Dave Jones # diff -bur x/drivers/cpufreq/cpufreq_ondemand.c.orig y/drivers/cpufreq/cpufreq_ondemand.c --- Reading git-diff-tree failed