Skip to contentSkip to conversation

hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist

PATCH Superseded shadyabh 4 participants 8 messages Nov 11 – Nov 12

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

shadyabh

author
#0 lore raw

PATCH 1/1 hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Tested on BIOS 1.5.0 with kernel 7.2.15.

---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 5ec487843..250d8c1e6 100644
@@ -1687,6 +1687,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
 		},
 		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
 	},
+	{
+		.ident = "Dell Pro Precision 7 16 PW716260",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 7 16 PW716260"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+	},
 	{ }
 };
 
Signature · 1 line
2.56.0
maintainer Acked-by on v1 1/1
#1 lore raw

+Armin

Quoted 13 lines · On Wednesday 11 November 2026 15:04:35 shadyabh wrote:

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Quoted 3 lines

Tested on BIOS 1.5.0 with kernel 7.2.15.

Quoted 26 lines
---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 5ec487843..250d8c1e6 100644
@@ -1687,6 +1687,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
 		},
 		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
 	},
+	{
+		.ident = "Dell Pro Precision 7 16 PW716260",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 7 16 PW716260"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+	},
 	{ }
 };
 
Signature · 1 line
2.56.0
#2 lore raw
In reply to shadyabh
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] hwmon: (dell-smm) Signed-off-by trailer uses handle instead of real name --

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [High] hwmon: (dell-smm) Signed-off-by trailer uses handle instead of real name
--

commit 161e915af112903c97c2188511e02fe97cd0316f
Author: shadyabh <[email protected]>

Quoted 15 lines

hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Quoted 3 lines

Tested on BIOS 1.5.0 with kernel 7.2.15.

[Severity: High]
The Author header and Signed-off-by trailer use the handle "shadyabh" instead of a full real name. Per the Developer's Certificate of Origin in Documentation/process/submitting-patches.rst, patches must be signed off using a known real name rather than a handle or pseudonym.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw

PATCH v2 1/1 hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist

In reply to shadyabh

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Tested on BIOS 1.5.0 with kernel 7.2.15.

---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 5ec487843..250d8c1e6 100644
@@ -1687,6 +1687,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
 		},
 		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
 	},
+	{
+		.ident = "Dell Pro Precision 7 16 PW716260",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 7 16 PW716260"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+	},
 	{ }
 };
 
Signature · 1 line
2.56.0
#4 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 13 lines

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Quoted 3 lines

Tested on BIOS 1.5.0 with kernel 7.2.15.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer
#5 lore raw
In reply to Shady Abu-Hussein
Quoted 13 lines · Shady Abu-Hussein

On the Dell Pro Precision 7 16 PW716260 the firmware fan control cannot be overridden using the default SMM method, writes to pwmX are ignored and pwmX_enable returns -EINVAL. The firmware AC fan policy also requests speeds below the minimum sustainable speed of the fans, so one fan repeatedly stops and restarts every few seconds at low load.

Add the machine to the fan control whitelist using the I8K_FAN_30A3_31A3 SMM codes. With this, writing 1 to pwm1_enable disables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 to pwm1_enable restores automatic fan control.

Quoted 3 lines

Tested on BIOS 1.5.0 with kernel 7.2.15.

There is no change log. What changed in v2 ? Do you really expect me to track that down myself ?

Guenter

Quoted 23 lines
---
  drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
  1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 5ec487843..250d8c1e6 100644
@@ -1687,6 +1687,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
  		},
  		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
  	},
+	{
+		.ident = "Dell Pro Precision 7 16 PW716260",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro Precision 7 16 PW716260"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+	},
  	{ }
  };
 
#6 lore raw

v2 only changes the Signed-off-by/Author to use my real name instead of a handle, per the automated DCO review on v1 — no code or commit message changes otherwise.

Quoted 4 lines · Guenter Roeck

There is no change log. What changed in v2 ? Do you really expect me to track that down myself ?

Guenter

maintainer
#7 lore raw
Quoted 2 lines · Shady Abu-Hussein

v2 only changes the Signed-off-by/Author to use my real name instead of a handle, per the automated DCO review on v1 — no code or commit message changes otherwise.

And that is a reason to not provide a change log ?

Guenter

Quoted 7 lines · Guenter Roeck
Quoted 4 lines

There is no change log. What changed in v2 ? Do you really expect me to track that down myself ?

Guenter