platform/x86: hp-wmi: Fix WMI error handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | platform/x86: hp-wmi: validate WMI response header sizedrivers/ | +5 | 1 reply | |
| 2/5 | platform/x86: hp-wmi: handle firmware errors in tablet mode querydrivers/ | +17 | 1 reply | |
| 3/5 | platform/x86: hp-wmi: handle errors in the OMEN key eventdrivers/ | +6 | 1 reply | |
| 4/5 | platform/x86: hp-wmi: normalize GPU thermal mode errorsdrivers/ | +12 | 1 reply | |
| 5/5 | platform/x86: hp-wmi: report fan speed command failuresdrivers/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] platform/x86: hp-wmi: Fix WMI error handling
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