* [PATCH 0/2] platform/asus: asus-armoury: GA403GM power limits and a MAINTAINERS fix
@ 2026-11-25 21:54 Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 1/2] platform/asus: asus-armoury: add power limits quirk for GA403GM Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 2/2] MAINTAINERS: cover all files in drivers/platform/asus/ Nikita Ivannikov
0 siblings, 2 replies; 3+ messages in thread
From: Nikita Ivannikov @ 2026-11-25 21:54 UTC (permalink / raw)
To: Corentin Chary, Luke D . Jones, Denis Benato, Hans de Goede,
Ilpo Järvinen
Cc: Chipang Kao, platform-driver-x86, linux-kernel, Nikita Ivannikov
This series adds power limits for the ASUS ROG Zephyrus G14 (2026)
GA403GM and fixes a MAINTAINERS gap left by the move of the ASUS
drivers to drivers/platform/asus/, which I noticed while preparing
patch 1: get_maintainer.pl returned only linux-kernel@vger.kernel.org
for a change to asus-armoury.h.
The two patches are independent. Patch 1 was tested on my GA403GM as
described in its changelog.
I used an AI coding assistant (Claude Code) to find both issues, draft
the changes and changelogs, and run the test; I reviewed everything
before sending.
Nikita Ivannikov (2):
platform/asus: asus-armoury: add power limits quirk for GA403GM
MAINTAINERS: cover all files in drivers/platform/asus/
MAINTAINERS | 2 ++
drivers/platform/asus/asus-armoury.h | 32 ++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
base-commit: 61c0dac952b9308884936d05cce97565a5c89af4
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] platform/asus: asus-armoury: add power limits quirk for GA403GM
2026-11-25 21:54 [PATCH 0/2] platform/asus: asus-armoury: GA403GM power limits and a MAINTAINERS fix Nikita Ivannikov
@ 2026-11-25 21:54 ` Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 2/2] MAINTAINERS: cover all files in drivers/platform/asus/ Nikita Ivannikov
1 sibling, 0 replies; 3+ messages in thread
From: Nikita Ivannikov @ 2026-11-25 21:54 UTC (permalink / raw)
To: Corentin Chary, Luke D . Jones, Denis Benato, Hans de Goede,
Ilpo Järvinen
Cc: Chipang Kao, platform-driver-x86, linux-kernel, Nikita Ivannikov
Add a power limits quirk entry for the ASUS ROG Zephyrus G14 (2026)
GA403GM (AMD Ryzen AI 9 465, NVIDIA GeForce RTX 5060 Laptop GPU).
Without it, asus-armoury logs "No matching power limits found for this
system" and the ppt_* and nv_* firmware attributes return -ENODEV.
No ThrottleGear XML is available for this model, so the limits are
taken from the GA403WM entry. Both are the same Zephyrus G14 chassis
(31.1 x 22.0 x 1.59 cm, 73 Wh battery) with an RTX 5060 Laptop GPU, and
ASUS specifies the same GPU power for the GA403GM: 85 W TGP plus 15 W
Dynamic Boost (100 W) in Manual mode, which matches the GA403WM
nv_tgp_max and nv_dynamic_boost_max values.
Tested on a GA403GM (BIOS GA403GM.302) running 7.3.6 with this entry
applied to the 7.3.6 asus-armoury.h: the ppt_*, nv_dynamic_boost,
nv_temp_target and nv_tgp attributes are exposed with the ranges above,
and ppt_pl1_spl=81 is rejected with -EINVAL. As on the GA403WM, PPT
writes return -EBUSY until a custom fan curve is enabled; without one,
PPT writes through the legacy asus-nb-wmi attributes are silently
ignored by the firmware, so requires_fan_curve is needed here too. With
the custom CPU fan curve enabled, PL1/PL2/PL3 values of 25/30/40 W and
80/80/80 W were accepted, and ryzenadj --info reported the matching
STAPM, slow and fast limits. The NVIDIA attributes were only read.
Signed-off-by: Nikita Ivannikov <www.nextry@gmail.com>
---
drivers/platform/asus/asus-armoury.h | 32 ++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/platform/asus/asus-armoury.h b/drivers/platform/asus/asus-armoury.h
index 331c3bddf013..33b3014815a3 100644
--- a/drivers/platform/asus/asus-armoury.h
+++ b/drivers/platform/asus/asus-armoury.h
@@ -1395,6 +1395,38 @@ static const struct dmi_system_id power_limits[] = {
.requires_fan_curve = true,
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GA403GM"),
+ },
+ .driver_data = &(struct power_data) {
+ .ac_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 15,
+ .ppt_pl1_spl_max = 80,
+ .ppt_pl2_sppt_min = 25,
+ .ppt_pl2_sppt_max = 80,
+ .ppt_pl3_fppt_min = 35,
+ .ppt_pl3_fppt_max = 80,
+ .nv_dynamic_boost_min = 0,
+ .nv_dynamic_boost_max = 15,
+ .nv_temp_target_min = 75,
+ .nv_temp_target_max = 87,
+ .nv_tgp_min = 55,
+ .nv_tgp_max = 85,
+ },
+ .dc_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 15,
+ .ppt_pl1_spl_max = 35,
+ .ppt_pl2_sppt_min = 25,
+ .ppt_pl2_sppt_max = 35,
+ .ppt_pl3_fppt_min = 35,
+ .ppt_pl3_fppt_max = 65,
+ .nv_temp_target_min = 75,
+ .nv_temp_target_max = 87,
+ },
+ .requires_fan_curve = true,
+ },
+ },
{
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "GA403UI"),
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] MAINTAINERS: cover all files in drivers/platform/asus/
2026-11-25 21:54 [PATCH 0/2] platform/asus: asus-armoury: GA403GM power limits and a MAINTAINERS fix Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 1/2] platform/asus: asus-armoury: add power limits quirk for GA403GM Nikita Ivannikov
@ 2026-11-25 21:54 ` Nikita Ivannikov
1 sibling, 0 replies; 3+ messages in thread
From: Nikita Ivannikov @ 2026-11-25 21:54 UTC (permalink / raw)
To: Corentin Chary, Luke D . Jones, Denis Benato, Hans de Goede,
Ilpo Järvinen
Cc: Chipang Kao, platform-driver-x86, linux-kernel, Nikita Ivannikov
Commit ef696e89f836 ("platform/asus: Move ASUS platform drivers out of
drivers/platform/x86") moved the ASUS drivers to drivers/platform/asus/
and updated the ASUS entries, whose patterns only match *.c files.
Before the move, the remaining files (asus-armoury.h, asus-wmi.h,
Kconfig and Makefile) were covered by the drivers/platform/x86/ pattern
of the X86 PLATFORM DRIVERS entry. Now no entry matches them, so
get_maintainer.pl returns only linux-kernel@vger.kernel.org for a
change to asus-armoury.h.
Add the ASUS headers to the ASUS NOTEBOOKS entry and, as the drivers
are still maintained in the pdx86 tree, add the new directory to the
X86 PLATFORM DRIVERS entry.
Fixes: ef696e89f836 ("platform/asus: Move ASUS platform drivers out of drivers/platform/x86")
Signed-off-by: Nikita Ivannikov <www.nextry@gmail.com>
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ba7650cb86b0..3ee17232ac0a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4227,6 +4227,7 @@ L: platform-driver-x86@vger.kernel.org
S: Maintained
W: https://asus-linux.org/
F: drivers/platform/asus/asus*.c
+F: drivers/platform/asus/asus*.h
F: drivers/platform/asus/eeepc*.c
ASUS TF103C DOCK DRIVER
@@ -30433,6 +30434,7 @@ L: platform-driver-x86@vger.kernel.org
S: Maintained
Q: https://patchwork.kernel.org/project/platform-driver-x86/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
+F: drivers/platform/asus/
F: drivers/platform/olpc/
F: drivers/platform/x86/
F: include/linux/platform_data/x86/
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-25 21:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 21:54 [PATCH 0/2] platform/asus: asus-armoury: GA403GM power limits and a MAINTAINERS fix Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 1/2] platform/asus: asus-armoury: add power limits quirk for GA403GM Nikita Ivannikov
2026-11-25 21:54 ` [PATCH 2/2] MAINTAINERS: cover all files in drivers/platform/asus/ Nikita Ivannikov
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®