Skip to content

platform/x86: hp-wmi: Victus S fan control fixes

Emre Cecanpunar lkml platform-driver-x86 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyIn review
  2. v35 patches 2 repliesSuperseded
  3. v25 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Patch 4: Prevent line wrap in gpu_delta assignment.
- Patch 5: Use devm_mutex_init() and handle init errors.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5platform/x86: hp-wmi: fix ignored return values in fan settingsdrivers/platform/x86/hp/hp-wmi.c+16 -70 replies
2/5platform/x86: hp-wmi: avoid cancel_delayed_work_sync from work handlerdrivers/platform/x86/hp/hp-wmi.c+1 -10 replies
3/5platform/x86: hp-wmi: use mod_delayed_work to reset keep-alive timerdrivers/platform/x86/hp/hp-wmi.c+4 -40 replies
4/5platform/x86: hp-wmi: fix u8 underflow in gpu_delta calculationdrivers/platform/x86/hp/hp-wmi.c+3 -30 replies
5/5platform/x86: hp-wmi: add locking for concurrent hwmon accessdrivers/platform/x86/hp/hp-wmi.c+13 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/5] platform/x86: hp-wmi: Victus S fan control fixes

Bug fixes for the Victus S manual fan control:
- Propagate fan_count_userdefine_trigger() errors
- Fix cancel_delayed_work_sync() deadlock from work handler
- Use mod_delayed_work() for efficient keep-alive timer resets
- Fix u8 underflow in gpu_delta calculation
- Add mutex for concurrent hwmon state access

Changes in v4:
- Patch 4: Prevent line wrap in gpu_delta assignment.
- Patch 5: Use devm_mutex_init() and handle init errors.

Changes in v3:
- Add Fixes: tags to all patches.
- Patch 4: Remove unnecessary casting.

Changes in v2:
- Patch 4: Store gpu_delta as 'int' to handle negative deltas correctly.

Emre Cecanpunar (5):
platform/x86: hp-wmi: fix ignored return values in fan settings platform/x86: hp-wmi: avoid cancel_delayed_work_sync from work handler platform/x86: hp-wmi: use mod_delayed_work to reset keep-alive timer platform/x86: hp-wmi: fix u8 underflow in gpu_delta calculation platform/x86: hp-wmi: add locking for concurrent hwmon access

 drivers/platform/x86/hp/hp-wmi.c | 54 ++++++++++++++++++++++----------
 1 file changed, 37 insertions(+), 17 deletions(-)
Signature · 1 line
2.53.0