Skip to contentSkip to conversation

platform/x86: asus-armoury: add power limits quirk for G713QR

PATCH In review Marco Scardovi 2 participants 9 messages Oct 21 1 message not in the archive x86 platform drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v4 1/7 platform/x86: asus-armoury: add power limits quirk for G713QR

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1132,6 +1132,19 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_max = 80,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_max = 80,
+				.ppt_pl2_sppt_min = 15,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0
#2 lore raw

In data mercoledì 21 ottobre 2026 09:08:13 Ora legale dell’Europa centrale, Marco Scardovi ha scritto:

Quoted 20 lines

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +6 -0
@@ -1132,6 +1132,19 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_max = 80,
+				.ppt_pl1_spl_min = 15,

drivers/platform/x86/asus-armoury.h line 1150

Quoted 10 lines
drivers/platform/x86/asus-armoury.h +7 -0
+				.ppt_pl2_sppt_max = 80,
+				.ppt_pl2_sppt_min = 15,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
 		},
 		.driver_data = &(struct power_data) {

So I found out the problem is with disroot itself and git send-email instead of something else. Sending cover letter here.

From: Marco Scardovi <[email protected]>
Date: Wed, 21 Oct 2026 08:54:47 +0200
Subject: [PATCH v4 0/7] platform/x86: asus-armoury: add/update power limits quirks

Hi Ilpo,
thank you for pointing it out: while adding the nv_tgp_* values the indentation fell off, adding one too much /t into it. In the meantime one more model has been added (for those wondering the models I add are specifically requested on [0] and I've started adding them on batches).

Changes in v4:
- Fix power_limits[] entry indentation (was off by one tab).
- Add GU605CM to the list.

Changes in v3 [1]:
- FA608PM, FA608UH, and FA608UP now include nv_tgp_min/max derived from AC_Config.TGP and TGPItem Level* offsets (missing in v2).

Changes in v2 [2]:
- Corrected English grammar.

Changes in v1 [3]:
- First release.

1/7: add G713QR
2/7: add FA608PM
3/7: add FA608UH
4/7: add FA608UP
5/7: add GA402NV
6/7: add G533QS
7/7: add GU605CM

[0] https://github.com/OpenGamingCollective/asusctl/issues/124
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/

Signature · 1 line
2.56.0
maintainer
#3 lore raw
In reply to Marco Scardovi
Quoted 2 lines · Marco Scardovi

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

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/7] platform/x86: asus-armoury: add power limits quirk for G713QR

      commit: 1d1efe639126366408c36adb72e063559bda9daa
[2/7] platform/x86: asus-armoury: add power limits quirk for FA608PM
      commit: 43e909d10d5d5704efcd51d2b5c4659655efe8ab
[3/7] platform/x86: asus-armoury: add power limits quirk for FA608UH
      commit: 8b2403c1a187fdf7170467822ac5d1deb8499ffa
[4/7] platform/x86: asus-armoury: add power limits quirk for FA608UP
      commit: 38146854b074a5f3f9b2bec6f6381f0c10b59840
[5/7] platform/x86: asus-armoury: add power limits quirk for GA402NV
      commit: a2cc819aac6877258a8222ae40a3b349d844e2a9
[6/7] platform/x86: asus-armoury: add power limits quirk for G533QS
      commit: eb588e8506d0a8736d9176cccdf6b42af3a12c99
[7/7] platform/x86: asus-armoury: add power limits quirk for GU605CM
      commit: 61be8edd585af9390b3f967ac0d3e07b7dbbbfe1

--
i.

#4 lore raw

PATCH v4 2/7 platform/x86: asus-armoury: add power limits quirk for FA608PM

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608PM laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -789,6 +789,37 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "FA608PM"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.nv_dynamic_boost_max = 15,
+				.nv_dynamic_boost_min = 10,
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.nv_tgp_max = 100,
+				.nv_tgp_min = 55,
+				.ppt_pl1_spl_max = 100,
+				.ppt_pl1_spl_min = 45,
+				.ppt_pl2_sppt_max = 115,
+				.ppt_pl2_sppt_min = 60,
+				.ppt_pl3_fppt_max = 135,
+				.ppt_pl3_fppt_min = 80,
+			},
+			.dc_data = &(struct power_limits) {
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_max = 68,
+				.ppt_pl1_spl_min = 35,
+				.ppt_pl2_sppt_max = 71,
+				.ppt_pl2_sppt_min = 36,
+				.ppt_pl3_fppt_max = 74,
+				.ppt_pl3_fppt_min = 70,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0
#5 lore raw

PATCH v4 3/7 platform/x86: asus-armoury: add power limits quirk for FA608UH

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UH laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 33 changes(+/-)

 1 file changed, 33 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +33 -0
@@ -820,6 +820,39 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "FA608UH"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.nv_dynamic_boost_max = 15,
+				.nv_dynamic_boost_min = 10,
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.nv_tgp_max = 100,
+				.nv_tgp_min = 55,
+				.ppt_pl1_spl_max = 90,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_max = 90,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl3_fppt_max = 90,
+				.ppt_pl3_fppt_min = 35,
+			},
+			.dc_data = &(struct power_limits) {
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_def = 45,
+				.ppt_pl1_spl_max = 65,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_def = 54,
+				.ppt_pl2_sppt_max = 65,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl3_fppt_max = 65,
+				.ppt_pl3_fppt_min = 35,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0
#6 lore raw

PATCH v4 4/7 platform/x86: asus-armoury: add power limits quirk for FA608UP

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UP laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 33 changes(+/-)

 1 file changed, 33 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +33 -0
@@ -889,6 +889,39 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "FA608UP"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.nv_dynamic_boost_max = 15,
+				.nv_dynamic_boost_min = 10,
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.nv_tgp_max = 100,
+				.nv_tgp_min = 55,
+				.ppt_pl1_spl_max = 90,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_max = 90,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl3_fppt_max = 90,
+				.ppt_pl3_fppt_min = 35,
+			},
+			.dc_data = &(struct power_limits) {
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_def = 45,
+				.ppt_pl1_spl_max = 65,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_def = 54,
+				.ppt_pl2_sppt_max = 65,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl3_fppt_max = 65,
+				.ppt_pl3_fppt_min = 35,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608WI"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0
#7 lore raw

PATCH v4 5/7 platform/x86: asus-armoury: add power limits quirk for GA402NV

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS GA402NV laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -1302,6 +1302,37 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GA402NV"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.nv_dynamic_boost_max = 25,
+				.nv_dynamic_boost_min = 5,
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_def = 35,
+				.ppt_pl1_spl_max = 80,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_def = 65,
+				.ppt_pl2_sppt_max = 80,
+				.ppt_pl2_sppt_min = 25,
+				.ppt_pl3_fppt_max = 80,
+				.ppt_pl3_fppt_min = 35,
+			},
+			.dc_data = &(struct power_limits) {
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_max = 35,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_max = 35,
+				.ppt_pl2_sppt_min = 25,
+				.ppt_pl3_fppt_max = 65,
+				.ppt_pl3_fppt_min = 35,
+			},
+		},
+	},
+	{
+		.matches = {
 			// This model is full AMD. No Nvidia dGPU.
 			DMI_MATCH(DMI_BOARD_NAME, "GA402R"),
 		},
Signature · 1 line
2.56.0
#8 lore raw

PATCH v4 6/7 platform/x86: asus-armoury: add power limits quirk for G533QS

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS G533QS laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1229,6 +1229,19 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G533QS"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_max = 80,
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl2_sppt_max = 80,
+				.ppt_pl2_sppt_min = 15,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0
#9 lore raw

PATCH v4 7/7 platform/x86: asus-armoury: add power limits quirk for GU605CM

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS GU605CM laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -1731,6 +1731,37 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GU605CM"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.nv_dynamic_boost_max = 15,
+				.nv_dynamic_boost_min = 5,
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.nv_tgp_max = 95,
+				.nv_tgp_min = 55,
+				.ppt_pl1_spl_def = 85,
+				.ppt_pl1_spl_max = 75,
+				.ppt_pl1_spl_min = 45,
+				.ppt_pl2_sppt_def = 110,
+				.ppt_pl2_sppt_max = 95,
+				.ppt_pl2_sppt_min = 56,
+			},
+			.dc_data = &(struct power_limits) {
+				.nv_temp_target_max = 87,
+				.nv_temp_target_min = 75,
+				.ppt_pl1_spl_def = 85,
+				.ppt_pl1_spl_max = 75,
+				.ppt_pl1_spl_min = 25,
+				.ppt_pl2_sppt_def = 110,
+				.ppt_pl2_sppt_max = 95,
+				.ppt_pl2_sppt_min = 32,
+			},
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GU605CP"),
 		},
 		.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0