hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist
Subsystems (2)
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
@@ -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
+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_enablereturns-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_31A3SMM codes. With this, writing 1 topwm1_enabledisables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 topwm1_enablerestores automatic fan control.
Quoted 3 lines
Tested on BIOS 1.5.0 with kernel 7.2.15.
Signed-off-by shadyabh <[email protected]>
Quoted 26 lines
--- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/hwmon/dell-smm-hwmon.c +8
-0@@ -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
[email protected]
AI reviewThank 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_enablereturns-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_31A3SMM codes. With this, writing 1 topwm1_enabledisables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 topwm1_enablerestores automatic fan control.
Quoted 3 lines
Tested on BIOS 1.5.0 with kernel 7.2.15.
Signed-off-by shadyabh <[email protected]>
[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
PATCH v2 1/1 hwmon: (dell-smm) Add Dell Pro Precision 7 16 PW716260 to fan control whitelist
In reply to shadyabhOn 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
@@ -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
[email protected]
AI reviewSashiko 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_enablereturns-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_31A3SMM codes. With this, writing 1 topwm1_enabledisables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 topwm1_enablerestores automatic fan control.
Quoted 3 lines
Tested on BIOS 1.5.0 with kernel 7.2.15.
Signed-off-by Shady Abu-Hussein <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Guenter Roeck
maintainerQuoted 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_enablereturns-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_31A3SMM codes. With this, writing 1 topwm1_enabledisables automatic fan control, the fans follow the requested state (0: off, 1: ~2500 RPM, 2: ~3950 RPM), and writing 2 topwm1_enablerestores automatic fan control.
Quoted 3 lines
Tested on BIOS 1.5.0 with kernel 7.2.15.
Signed-off-by Shady Abu-Hussein <[email protected]>
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@@ -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], + }, { } };
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
Guenter Roeck
maintainerQuoted 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