[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <7D0189F5BE1DF549A570B212D1D5612182AF02@bgsmsx412.gar.corp.intel.com>
Date: Wed, 5 Nov 2008 16:15:13 +0530
From: "Thomas, Sujith" <sujith.thomas@...el.com>
To: "Len Brown" <lenb@...nel.org>, "Zhang, Rui" <rui.zhang@...el.com>,
"Thomas, Sujith" <sujith.thomas@...el.com>
Cc: "Brown, Len" <len.brown@...el.com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
<linux-acpi@...r.kernel.org>,
"Andrew Morton" <akpm@...ux-foundation.org>
Subject: [PATCH]1/3 intel_menlow:Adding comment for GTHS legal values
Documentation of legal values for GTHS
To be patched over Rui's 09/11 bug fix patch
Signed-off-by: Sujith Thomas <sujith.thomas@...el.com>
---
drivers/misc/intel_menlow.c | 5 +++++
1 file changed, 5 insertions(+)
Index: linux-2.6.27/drivers/misc/intel_menlow.c
===================================================================
--- linux-2.6.27.orig/drivers/misc/intel_menlow.c
+++ linux-2.6.27/drivers/misc/intel_menlow.c
@@ -52,6 +52,11 @@ MODULE_LICENSE("GPL");
#define MEMORY_ARG_CUR_BANDWIDTH 1
#define MEMORY_ARG_MAX_BANDWIDTH 0
+/*
+ * GTHS returning 'n' would mean that [0,n-1] states are supported
+ * In that case max_cstate would be n-1
+ * GTHS returning '0' would mean that no bandwidth control states are
supported
+ */
static int memory_get_int_max_bandwidth(struct thermal_cooling_device
*cdev,
unsigned long *max_state)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists