* [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug
@ 2026-05-03 17:57 Armandas Kvietkus
2026-05-03 21:23 ` Denis Benato
2026-05-03 22:14 ` Denis Benato
0 siblings, 2 replies; 3+ messages in thread
From: Armandas Kvietkus @ 2026-05-03 17:57 UTC (permalink / raw)
To: luke, denis.benato
Cc: hansg, ilpo.jarvinen, platform-driver-x86, linux-kernel,
Armandas Kvietkus, fxzxaxon
When a system is not found in the power_limits DMI table,
init_rog_tunables() emits a pr_warn() and returns. This is
expected behaviour for hardware that does not support ROG
power limit tunables, not an error condition.
Downgrade to pr_debug() to avoid spurious boot noise on
unsupported systems while preserving the message for debugging.
Reported-by: fxzxaxon@outlook.com
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221441
Signed-off-by: Armandas Kvietkus <armundunelis@gmail.com>
---
drivers/platform/x86/asus-armoury.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/asus-armoury.c b/drivers/platform/x86/asus-armoury.c
index 5b0987ccc..c8e9ff89f 100644
--- a/drivers/platform/x86/asus-armoury.c
+++ b/drivers/platform/x86/asus-armoury.c
@@ -991,7 +991,7 @@ static void init_rog_tunables(void)
/* Match the system against the power_limits table */
dmi_id = dmi_first_match(power_limits);
if (!dmi_id) {
- pr_warn("No matching power limits found for this system\n");
+ pr_debug("No matching power limits found for this system\n");
return;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug
2026-05-03 17:57 [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug Armandas Kvietkus
@ 2026-05-03 21:23 ` Denis Benato
2026-05-03 22:14 ` Denis Benato
1 sibling, 0 replies; 3+ messages in thread
From: Denis Benato @ 2026-05-03 21:23 UTC (permalink / raw)
To: Armandas Kvietkus, luke
Cc: hansg, ilpo.jarvinen, platform-driver-x86, linux-kernel, fxzxaxon
On 5/3/26 19:57, Armandas Kvietkus wrote:
> When a system is not found in the power_limits DMI table,
> init_rog_tunables() emits a pr_warn() and returns. This is
> expected behaviour for hardware that does not support ROG
> power limit tunables, not an error condition.
>
> Downgrade to pr_debug() to avoid spurious boot noise on
> unsupported systems while preserving the message for debugging.
>
> Reported-by: fxzxaxon@outlook.com
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221441
> Signed-off-by: Armandas Kvietkus <armundunelis@gmail.com>
> ---
> drivers/platform/x86/asus-armoury.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/asus-armoury.c b/drivers/platform/x86/asus-armoury.c
> index 5b0987ccc..c8e9ff89f 100644
> --- a/drivers/platform/x86/asus-armoury.c
> +++ b/drivers/platform/x86/asus-armoury.c
> @@ -991,7 +991,7 @@ static void init_rog_tunables(void)
> /* Match the system against the power_limits table */
> dmi_id = dmi_first_match(power_limits);
> if (!dmi_id) {
> - pr_warn("No matching power limits found for this system\n");
> + pr_debug("No matching power limits found for this system\n");
I don't agree with this: most distro suppress debug and this warning is very handy to understand what's wrong when people report "missing sliders".
> return;
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug
2026-05-03 17:57 [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug Armandas Kvietkus
2026-05-03 21:23 ` Denis Benato
@ 2026-05-03 22:14 ` Denis Benato
1 sibling, 0 replies; 3+ messages in thread
From: Denis Benato @ 2026-05-03 22:14 UTC (permalink / raw)
To: Armandas Kvietkus, luke
Cc: hansg, ilpo.jarvinen, platform-driver-x86, linux-kernel, fxzxaxon
On 5/3/26 19:57, Armandas Kvietkus wrote:
> When a system is not found in the power_limits DMI table,
> init_rog_tunables() emits a pr_warn() and returns. This is
> expected behaviour for hardware that does not support ROG
> power limit tunables, not an error condition.
>
> Downgrade to pr_debug() to avoid spurious boot noise on
> unsupported systems while preserving the message for debugging.
>
> Reported-by: fxzxaxon@outlook.com
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221441
> Signed-off-by: Armandas Kvietkus <armundunelis@gmail.com>
> ---
> drivers/platform/x86/asus-armoury.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/asus-armoury.c b/drivers/platform/x86/asus-armoury.c
> index 5b0987ccc..c8e9ff89f 100644
> --- a/drivers/platform/x86/asus-armoury.c
> +++ b/drivers/platform/x86/asus-armoury.c
> @@ -991,7 +991,7 @@ static void init_rog_tunables(void)
> /* Match the system against the power_limits table */
> dmi_id = dmi_first_match(power_limits);
> if (!dmi_id) {
> - pr_warn("No matching power limits found for this system\n");
> + pr_debug("No matching power limits found for this system\n");
Maybe this is right to get downgraded, but still no debug: I think info is better,
but I would like to hear from Luke what this is about.
Denis
> return;
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-03 22:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 17:57 [PATCH] platform/x86: asus-armoury: downgrade missing power limits warning to debug Armandas Kvietkus
2026-05-03 21:23 ` Denis Benato
2026-05-03 22:14 ` Denis Benato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox