Received: from a4i546.smtp2go.com (a4i546.smtp2go.com [158.120.82.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 820073B8135 for ; Thu, 1 Oct 2026 03:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=158.120.82.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790825146; cv=none; b=Yl7IpMOjVSFLOpv82mDFzr7RY0Ym25loDJlAIBzpRikQMmYFA9SaBst1G+FzbxrC19BpNv5B7njZlFrddaF9o2/4QFKWnralidDA8yIpeHja7MuBcOV/MtnCtJwrpwooyRcNtoK/5yM6QiPN4JzQHHzqPm1+LcAIW8b19maV0Gg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790825146; c=relaxed/simple; bh=xqA3QX6RI/g9rQsSp6BuKiJ8V5fCg2WSMHF/VXcgMJQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Tlh8Fng28sAshTb2PURC+PLzqHF5d2JbRvkzncOaDdY9nHYunDmPYpirQJPzBJk/l/wiJ4bTaaIHoSDk7AjxFT/02Dg+aEk44uaNwLPvwZScIbuJCVNsJ2shze8/ADhJFUd7kTIW3rUm6Xq/d/j40VMufVN0g9t2bMa8qUZ+Y0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shangen.org; spf=pass smtp.mailfrom=em879706.shangen.org; dkim=pass (2048-bit key) header.d=shangen.org header.i=@shangen.org header.b=fcBOQVCC; arc=none smtp.client-ip=158.120.82.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shangen.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=em879706.shangen.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shangen.org header.i=@shangen.org header.b="fcBOQVCC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shangen.org; i=@shangen.org; q=dns/txt; s=s879706; t=1790824235; h=from : subject : to : message-id : date : list-unsubscribe : list-unsubscribe-post; bh=jNNFayBB3Yv9+kwgeyDtArfmNzv1qHd1IO8dcuBre4Y=; b=fcBOQVCCm6hRNB2FhFKnY0kQEaV8UqJMcuhT0961fyr3E24Lrra/Ceqdu52m2bowdPWMR A7h5IrqpDyU2Ip+dkmChMlk0+KYhjoFK6N74pOLRq1sL695iXceMUrlGHD0mpvDxNu2M8qx JxHEj9T0Lg6vQOmsmPwJZ7AaXtUPYYJ6vG7nsJdPdd11ayKxkJErVk2c2WE4qQJ227oxRW+ C9rsfPb5YcplMMU1yzQwmN3JyAxXEj/o6KJ536/A6rgSiZv/DhOoyAWoRVuBvIpZ2WSsbmZ zYVoGfdBIXRPntNGQLMU0KvxCUwfEkGIqTAZLxTCh+fkg1R0EUQlzxazUiig== Received: from [10.195.244.224] (helo=12458laptop.lan) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256:X25519) (Exim 4.100.1) (envelope-from ) id 1xC7Bl-FnQW0hPswep-dGf8; Thu, 01 Oct 2026 03:10:29 +0000 From: Shang En Sim To: Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Cc: Krishna Chomal , Suryansh Singh , Emre Cecanpunar , Radhey Kalra , =?UTF-8?q?K=C3=BCr=C5=9Fat=20Abayl=C4=B1?= , Alain Cousinie , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] platform/x86: hp-wmi: Spectre charge behaviour Date: Wed, 30 Sep 2026 22:10:10 -0500 Message-ID: <20261001031012.48473-1-sim@shangen.org> X-Mailer: git-send-email 2.56.0 Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Report-Abuse: Please forward a copy of this message, including all headers, to Feedback-ID: 879706m:879706aL5FzMA:879706sFQvIPwayB X-smtpcorp-track: FT6S8Mm2KB2m.d_4-LBR_c__q.Kx0I2Qkj0e8 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