Skip to contentSkip to conversation

hwmon: (dell-smm) Disable fan support for Dell XPS13 9333

PATCH In review Helge Eichelberg 3 participants 7 messages Jun 5, 2018 – Jun 8, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (dell-smm) Disable fan support for Dell XPS13 9333

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 1 line
2.14.1
#1 lore raw
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

Quoted 26 lines

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Pali Rohár
[email protected]
maintainer
#2 lore raw
Quoted 10 lines · Pali Rohár
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

Is it known to have been fixed ? If so, why report it to Dell ?

If the problem is not known to be fixed, we have no BIOS version to match against.

Guenter

Quoted 27 lines
Quoted 26 lines

Via "force" module param fan support can be enabled.

---
  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
  1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
  		},
  	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
  	{ }
  };
 
#3 lore raw
In reply to Pali Rohár
Quoted 6 lines · On Wed, 6 Jun 2018 17:21:34 +0200 Pali Rohár <[email protected]> wrote:
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

No, I haven't.

Quoted 2 lines

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

The BIOS hasn't been updated since 08/31/2015 and I'm running the latest version (A08). I wonder if Dell cares anymore about the 9333 which has been replaced by the 9343 in early 2015. Nevertheless, should I add a line matching the BIOS version and should it look like this?

DMI_EXACT_MATCH(DMI_BIOS_VERSION, "A08")

Helge

Quoted 30 lines
Quoted 26 lines

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Pali Rohár
[email protected]
#4 lore raw
Quoted 11 lines · On Thursday 07 June 2018 08:04:55 Helge Eichelberg wrote:
Quoted 6 lines · On Wed, 6 Jun 2018 17:21:34 +0200 Pali Rohár <[email protected]> wrote:
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

No, I haven't.

Mario (from @Dell) wrote on github, that we should start reporting firmware bugs to Dell as "voice of the customer is the most important".
https://github.com/dell/libsmbios/issues/48#issuecomment-393527813

Quoted 4 lines
Quoted 2 lines

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

The BIOS hasn't been updated since 08/31/2015 and I'm running the latest version (A08). I wonder if Dell cares anymore about the 9333 which has been replaced by the 9343 in early 2015. Nevertheless, should I add a line matching the BIOS version and should it look like this?

Ok, I was in impression that it was fixed or was going to be fixed. This looks like that laptop does not have any support. In this case would need to blacklist it for all bios version and forever. So no match for bios version. Maybe you should re-phrase commit message to indicate that Dell probably does not fix it. Or drop that sentence "Until Dell...".

Quoted 34 lines

DMI_EXACT_MATCH(DMI_BIOS_VERSION, "A08")

Helge

Quoted 30 lines
Quoted 26 lines

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Pali Rohár
[email protected]
Signature · 2 lines
Pali Rohár
[email protected]
maintainer
#5 lore raw
Quoted 20 lines · Pali Rohár
Quoted 11 lines · On Thursday 07 June 2018 08:04:55 Helge Eichelberg wrote:
Quoted 6 lines · On Wed, 6 Jun 2018 17:21:34 +0200 Pali Rohár <[email protected]> wrote:
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

No, I haven't.

Mario (from @Dell) wrote on github, that we should start reporting firmware bugs to Dell as "voice of the customer is the most important".
https://github.com/dell/libsmbios/issues/48#issuecomment-393527813

Quoted 3 lines
Quoted 2 lines

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

Quoted 8 lines
Quoted 1 line

The BIOS hasn't been updated since 08/31/2015 and I'm running the latest version (A08). I wonder if Dell cares anymore about the 9333 which has been replaced by the 9343 in early 2015. Nevertheless, should I add a line matching the BIOS version and should it look like this?

Ok, I was in impression that it was fixed or was going to be fixed. This looks like that laptop does not have any support. In this case would need to blacklist it for all bios version and forever. So no match for bios version. Maybe you should re-phrase commit message to indicate that Dell probably does not fix it. Or drop that sentence "Until Dell...".

Those would just be assumptions and not add any value to the commit log. I don't recall similar comments for previous patches either, and it is not as if Dell stopped supporting Linux only recently. I'll apply the patch as-is; I don't see value in a respin.

Guenter

Quoted 38 lines
Quoted 34 lines

DMI_EXACT_MATCH(DMI_BIOS_VERSION, "A08")

Helge

Quoted 30 lines
Quoted 26 lines

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Pali Rohár
[email protected]
Signature · 2 lines
Pali Rohár
[email protected]
Reviewed-by
#6 lore raw
Quoted 29 lines · On Friday 08 June 2018 06:51:55 Guenter Roeck wrote:
Quoted 20 lines · Pali Rohár
Quoted 11 lines · On Thursday 07 June 2018 08:04:55 Helge Eichelberg wrote:
Quoted 6 lines · On Wed, 6 Jun 2018 17:21:34 +0200 Pali Rohár <[email protected]> wrote:
Quoted 3 lines · On Tuesday 05 June 2018 19:38:32 Helge Eichelberg wrote:

Calling fan related SMM functions implemented by Dell BIOS firmware on Dell XPS13 9333 freeze kernel for about 500ms. Until Dell fixes it we need to disable fan support for Dell XPS13 9333.

Hi! Have you reported this firmware bug to Dell?

No, I haven't.

Mario (from @Dell) wrote on github, that we should start reporting firmware bugs to Dell as "voice of the customer is the most important".
https://github.com/dell/libsmbios/issues/48#issuecomment-393527813

Quoted 3 lines
Quoted 2 lines

Also we should probably match also BIOS version and do not apply this blacklist quirk for BIOS versions in which Dell fixed it.

Quoted 8 lines
Quoted 1 line

The BIOS hasn't been updated since 08/31/2015 and I'm running the latest version (A08). I wonder if Dell cares anymore about the 9333 which has been replaced by the 9343 in early 2015. Nevertheless, should I add a line matching the BIOS version and should it look like this?

Ok, I was in impression that it was fixed or was going to be fixed. This looks like that laptop does not have any support. In this case would need to blacklist it for all bios version and forever. So no match for bios version. Maybe you should re-phrase commit message to indicate that Dell probably does not fix it. Or drop that sentence "Until Dell...".

Quoted 4 lines

Those would just be assumptions and not add any value to the commit log. I don't recall similar comments for previous patches either, and it is not as if Dell stopped supporting Linux only recently. I'll apply the patch as-is; I don't see value in a respin.

Ok. I have no objections. That was only suggestion. Also you can add my

Anyway, if last version of Bios was released 3 years ago, I really doubt that something is going to be fixed...

Quoted 40 lines

Guenter

Quoted 38 lines
Quoted 34 lines

DMI_EXACT_MATCH(DMI_BIOS_VERSION, "A08")

Helge

Quoted 30 lines
Quoted 26 lines

Via "force" module param fan support can be enabled.

---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
index bf3bb7e1adab..9d3ef879dc51 100644
@@ -1074,6 +1074,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Vostro 3360"),
 		},
 	},
+	{
+		.ident = "Dell XPS13 9333",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Pali Rohár
[email protected]
Signature · 2 lines
Pali Rohár
[email protected]
Signature · 2 lines
Pali Rohár
[email protected]