1 Jan 2010 02:20
[PATCH] pm_qos: Add QoS param, minimum system bus frequency
Daniel Walker <dwalker <at> codeaurora.org>
2010-01-01 01:20:27 GMT
2010-01-01 01:20:27 GMT
From: Praveen Chidambaram <pchidamb <at> quicinc.com> In some systems, the system bus speed can be varied, usually based on the current CPU frequency. However, various device drivers and/or applications may need a faster system bus for I/O even though the CPU itself may be idle. Signed-off-by: Praveen Chidambaram <pchidamb <at> quicinc.com> Signed-off-by: David Brown <davidb <at> quicinc.com> Signed-off-by: Daniel Walker <dwalker <at> codeaurora.org> --- include/linux/pm_qos_params.h | 3 ++- kernel/pm_qos_params.c | 32 +++++++++++++++++++++++++------- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/include/linux/pm_qos_params.h b/include/linux/pm_qos_params.h index d74f75e..091c13c 100644 --- a/include/linux/pm_qos_params.h +++ b/include/linux/pm_qos_params.h <at> <at> -10,8 +10,9 <at> <at> #define PM_QOS_CPU_DMA_LATENCY 1 #define PM_QOS_NETWORK_LATENCY 2 #define PM_QOS_NETWORK_THROUGHPUT 3 +#define PM_QOS_SYSTEM_BUS_FREQ 4 -#define PM_QOS_NUM_CLASSES 4 +#define PM_QOS_NUM_CLASSES 5 #define PM_QOS_DEFAULT_VALUE -1 int pm_qos_add_requirement(int qos, char *name, s32 value);(Continue reading)
RSS Feed