mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] platform/x86: hp-wmi: Spectre charge behaviour
@ 2026-10-01  3:10 Shang En Sim
  2026-10-01  3:10 ` [PATCH v2 1/2] platform/x86: hp-wmi: Fix hwmon keep-alive teardown Shang En Sim
  2026-10-01  3:10 ` [PATCH v2 2/2] platform/x86: hp-wmi: add charge_behaviour support for Spectre 8C15/8C17 Shang En Sim
  0 siblings, 2 replies; 3+ messages in thread
From: Shang En Sim @ 2026-10-01  3:10 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: Krishna Chomal, Suryansh Singh, Emre Cecanpunar, Radhey Kalra,
	Kürşat Abaylı,
	Alain Cousinie, platform-driver-x86, linux-kernel

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/20260812062113.27741-1-sim@shangen.org/

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
-- 
2.56.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-01  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01  3:10 [PATCH v2 0/2] platform/x86: hp-wmi: Spectre charge behaviour Shang En Sim
2026-10-01  3:10 ` [PATCH v2 1/2] platform/x86: hp-wmi: Fix hwmon keep-alive teardown Shang En Sim
2026-10-01  3:10 ` [PATCH v2 2/2] platform/x86: hp-wmi: add charge_behaviour support for Spectre 8C15/8C17 Shang En Sim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®