[PATCH 0/5] platform/x86: hp-wmi: Fix WMI error handling
From: Emre Cecanpunar
Date: Thu Jul 16 2026 - 05:57:52 EST
Fix several places where hp-wmi either trusts an undersized firmware
response or mistakes a positive HP firmware error for success.
The affected paths handle the common WMI response header, tablet-mode
switch updates, the OMEN key event, Victus GPU thermal modes and Victus
fan-speed control. Each patch is independent and can be applied on its
own.
Emre Cecanpunar (5):
platform/x86: hp-wmi: validate WMI response header size
platform/x86: hp-wmi: handle firmware errors in tablet mode query
platform/x86: hp-wmi: handle errors in the OMEN key event
platform/x86: hp-wmi: normalize GPU thermal mode errors
platform/x86: hp-wmi: report fan speed command failures
drivers/platform/x86/hp/hp-wmi.c | 64 +++++++++++++++++++++-----------
1 file changed, 43 insertions(+), 21 deletions(-)
base-commit: 2b3a5dabe89e330413af403246b648c1890f368f