* [PATCH] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
@ 2025-09-16 19:13 Xi Pardee
2025-09-23 8:40 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: Xi Pardee @ 2025-09-16 19:13 UTC (permalink / raw)
To: xi.pardee, irenic.rajneesh, david.e.box, hdegoede, ilpo.jarvinen,
platform-driver-x86, linux-kernel, linux-pm
Replace dev_warn() with dev_dbg() to reduce unnecessary warning messages.
When the low power mode priority register contains invalid data, the Intel
PMC Core driver can still utilize the default priority list. This scenario
is more suited for debug information rather than warning.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
---
drivers/platform/x86/intel/pmc/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel/pmc/core.c b/drivers/platform/x86/intel/pmc/core.c
index de2dbf4ad65e0..5729810e5a485 100644
--- a/drivers/platform/x86/intel/pmc/core.c
+++ b/drivers/platform/x86/intel/pmc/core.c
@@ -1244,7 +1244,7 @@ void pmc_core_get_low_power_modes(struct pmc_dev *pmcdev)
for (mode = 0; mode < LPM_MAX_NUM_MODES; mode++)
pri_order[mode_order[mode]] = mode;
else
- dev_warn(&pmcdev->pdev->dev,
+ dev_dbg(&pmcdev->pdev->dev,
"Assuming a default substate order for this platform\n");
/*
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
2025-09-16 19:13 [PATCH] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg() Xi Pardee
@ 2025-09-23 8:40 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-09-23 8:40 UTC (permalink / raw)
To: irenic.rajneesh, david.e.box, platform-driver-x86, linux-kernel,
linux-pm, Hans de Goede, Xi Pardee
On Tue, 16 Sep 2025 12:13:32 -0700, Xi Pardee wrote:
> Replace dev_warn() with dev_dbg() to reduce unnecessary warning messages.
> When the low power mode priority register contains invalid data, the Intel
> PMC Core driver can still utilize the default priority list. This scenario
> is more suited for debug information rather than warning.
>
>
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.
The list of commits applied:
[1/1] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
commit: bf726cdc9d4fabcf1ebd50f6fce5121acc7447bb
--
i.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-23 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 19:13 [PATCH] platform/x86:intel/pmc: Replace dev_warn() with dev_dbg() Xi Pardee
2025-09-23 8:40 ` Ilpo Järvinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).