All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware
@ 2026-09-16 17:48 Daasaradhi Mannava
  2026-10-05 17:44 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Daasaradhi Mannava @ 2026-09-16 17:48 UTC (permalink / raw)
  To: Nikita Kravets, Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Daasaradhi Mannava

Add the firmware string '16U8EMS2.100' to the ALLOWED_FW_1 array.
This enables Embedded Controller support, including battery charge
thresholds, for the MSI GL65 Leopard 9SCXK (MS-16U8) laptop.

The EC memory layout of this firmware matches the existing config:
the CPU and GPU temperatures at 0x68 and 0x80 agree with coretemp and
the NVIDIA driver, the fan mode at 0xf4 reads 0x0d (auto), and the
charge control register is at 0xef.

Tested on MSI GL65 Leopard 9SCXK with EC firmware 16U8EMS2.100 and
BIOS E16U8IMS.504: with AC connected and the battery at 18%, writing 10
to charge_control_end_threshold stops charging ("Not charging", 0 A),
and writing 100 resumes it.

Assisted-by: LLM
Signed-off-by: Daasaradhi Mannava <daasaradhimannava@gmail.com>
---
 drivers/platform/x86/msi-ec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/msi-ec.c b/drivers/platform/x86/msi-ec.c
index 566dfc73c..7c84ddd7e 100644
--- a/drivers/platform/x86/msi-ec.c
+++ b/drivers/platform/x86/msi-ec.c
@@ -122,6 +122,7 @@ static const char * const ALLOWED_FW_1[] __initconst = {
 	"17F2EMS1.104",
 	"17F2EMS1.106",
 	"17F2EMS1.107",
+	"16U8EMS2.100", // MSI GL65 Leopard 9SCXK
 	NULL
 };
 
-- 
2.55.0


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

* Re: [PATCH] platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware
  2026-09-16 17:48 [PATCH] platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware Daasaradhi Mannava
@ 2026-10-05 17:44 ` Ilpo Järvinen
  0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2026-10-05 17:44 UTC (permalink / raw)
  To: Nikita Kravets, Hans de Goede, Daasaradhi Mannava
  Cc: platform-driver-x86, linux-kernel

On Wed, 16 Sep 2026 17:48:30 +0000, Daasaradhi Mannava wrote:

> Add the firmware string '16U8EMS2.100' to the ALLOWED_FW_1 array.
> This enables Embedded Controller support, including battery charge
> thresholds, for the MSI GL65 Leopard 9SCXK (MS-16U8) laptop.
> 
> The EC memory layout of this firmware matches the existing config:
> the CPU and GPU temperatures at 0x68 and 0x80 agree with coretemp and
> the NVIDIA driver, the fan mode at 0xf4 reads 0x0d (auto), and the
> charge control register is at 0xef.
> 
> [...]

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: Add MSI GL65 Leopard 9SCXK EC firmware
      commit: 54bd3f238b2fcddedcc42d56e6518241021110ee

--
 i.


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

end of thread, other threads:[~2026-10-05 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 17:48 [PATCH] platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware Daasaradhi Mannava
2026-10-05 17:44 ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.