[PATCH 0/2] allow cpufreq drivers to export flags

From: Mike Turquette
Date: Wed Oct 08 2014 - 03:50:07 EST


This series is partially in response to a discussion around DT bindings
for CPUfreq drivers [0], but it is also needed for on-going work to
integrate CPUfreq with the scheduler. In particular a scheduler-driven
cpu frequency scaling policy would be well served to know if the
underlying CPUfreq driver .target callback might sleep or block for a
long time.

[0] http://lkml.kernel.org/r/<fcb88cd21f31a467d2d49911c2505082837f72ea.1410323179.git.viresh.kumar@xxxxxxxxxx>

Mike Turquette (2):
cpufreq: add driver flag for sleepable transitions
cpufreq: new function to query driver for flags

drivers/cpufreq/cpufreq.c | 9 +++++++++
include/linux/cpufreq.h | 13 +++++++++++++
2 files changed, 22 insertions(+)

--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/