* [PATCH] dell-smm-hwmon: Blacklist Dell Studio XPS 8100
@ 2015-07-30 18:41 Pali Rohár
2015-07-31 1:08 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2015-07-30 18:41 UTC (permalink / raw)
To: Jean Delvare, Guenter Roeck; +Cc: lm-sensors, linux-kernel, Pali Rohár
CPU fan speed going up and down on Dell Studio XPS 8100 for
unknown reason. Without future debuggning on affected machine
it is not possible to detect where is problem. For more see:
https://bugzilla.kernel.org/show_bug.cgi?id=100121
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Jan C Peters <jcpeters89@gmail.com>
Cc: stable@vger.kernel.org # before v4.2 apply to file drivers/char/i8k.c
---
drivers/hwmon/dell-smm-hwmon.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 37c16af..92c572c 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -929,6 +929,23 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
+static struct dmi_system_id i8k_blacklist_dmi_table[] __initdata = {
+ {
+ /*
+ * CPU fan speed going up and down on Dell Studio XPS 8100 for
+ * unknown reason. Without future debuggning on affected machine
+ * it is not possible to detect where is problem. For more see:
+ * https://bugzilla.kernel.org/show_bug.cgi?id=100121
+ */
+ .ident = "Dell Studio XPS 8100",
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Studio XPS 8100"),
+ },
+ },
+ { }
+};
+
/*
* Probe for the presence of a supported laptop.
*/
@@ -940,7 +957,8 @@ static int __init i8k_probe(void)
/*
* Get DMI information
*/
- if (!dmi_check_system(i8k_dmi_table)) {
+ if (!dmi_check_system(i8k_dmi_table) ||
+ dmi_check_system(i8k_blacklist_dmi_table)) {
if (!ignore_dmi && !force)
return -ENODEV;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dell-smm-hwmon: Blacklist Dell Studio XPS 8100
2015-07-30 18:41 [PATCH] dell-smm-hwmon: Blacklist Dell Studio XPS 8100 Pali Rohár
@ 2015-07-31 1:08 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2015-07-31 1:08 UTC (permalink / raw)
To: Pali Rohár, Jean Delvare; +Cc: lm-sensors, linux-kernel
On 07/30/2015 11:41 AM, Pali Rohár wrote:
> CPU fan speed going up and down on Dell Studio XPS 8100 for
> unknown reason. Without future debuggning on affected machine
> it is not possible to detect where is problem. For more see:
> https://bugzilla.kernel.org/show_bug.cgi?id=100121
>
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> Tested-by: Jan C Peters <jcpeters89@gmail.com>
> Cc: stable@vger.kernel.org # before v4.2 apply to file drivers/char/i8k.c
Applied, after fixing up description and comments.
After it is applied to mainline, you'll probably get a note
from Greg, asking you to back-port the patch to 4.1.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-31 1:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30 18:41 [PATCH] dell-smm-hwmon: Blacklist Dell Studio XPS 8100 Pali Rohár
2015-07-31 1:08 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox