Skip to content

platform/x86: hp-wmi: Spectre charge behaviour

Shang En Sim lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Changes in v2 from the cover letter

- Switch the hwmon keep-alive delayed work to devm_delayed_work_autocancel() and register it before the hwmon device (Ilpo Järvinen)
- Name the GBCO status field with GENMASK() and read it with FIELD_GET() (Ilpo Järvinen)
- Add HP Spectre x360 14-eu0xxx, board 8C15 (Alain Cousinie)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: hp-wmi: Fix hwmon keep-alive teardowndrivers/platform/x86/hp/hp-wmi.c+12 -70 replies
2/2platform/x86: hp-wmi: add charge_behaviour support for Spectre 8C15/8C17drivers/platform/x86/hp/hp-wmi.c+246 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] platform/x86: hp-wmi: Spectre charge behaviour

Address review of the Spectre charge_behaviour patch.

The hwmon keep-alive work is switched to devm_delayed_work_autocancel() first, so the new error return from charge-control setup does not leave that work pending after a failed probe.

v1: https://lore.kernel.org/r/[email protected]/

Changes in v2:
- Switch the hwmon keep-alive delayed work to devm_delayed_work_autocancel() and register it before the hwmon device (Ilpo Järvinen)
- Name the GBCO status field with GENMASK() and read it with FIELD_GET() (Ilpo Järvinen)
- Add HP Spectre x360 14-eu0xxx, board 8C15 (Alain Cousinie)

Shang En Sim (2):
platform/x86: hp-wmi: Fix hwmon keep-alive teardown platform/x86: hp-wmi: add charge_behaviour support for Spectre

    8C15/8C17
 drivers/platform/x86/hp/hp-wmi.c | 265 ++++++++++++++++++++++++++++++-
 1 file changed, 258 insertions(+), 7 deletions(-)

base-commit: fe5030c8cc7156223f48530e9b49aa87c0305bcd

Signature · 1 line
2.56.0