Re: [PATCH] platform/x86: msi-ec: Report valid charge thresholds when unset
From: Ilpo Järvinen
Date: Mon Oct 05 2026 - 13:47:46 EST
On Wed, 16 Sep 2026 17:48:12 +0000, Daasaradhi Mannava wrote:
> The charge thresholds are computed by subtracting a fixed offset from
> the raw EC value. When no charge limit has been set, the EC can hold a
> value below range_min (0x80 on an MSI GL65 Leopard 9SCXK), and reading
> the sysfs attributes returns nonsense:
>
> charge_control_start_threshold: -10
> charge_control_end_threshold: 0
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86: msi-ec: Report valid charge thresholds when unset
commit: eabc7e36259c813dc337b48b012bbf23b380f509
--
i.