Skip to contentSkip to conversation

platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()

PATCH In review Xi Pardee 2 participants 2 messages Sep 16, 2025 – Sep 23, 2025

Subsystems (2)
lore
Share & tools
lore

Xi Pardee

author maintainer
#0 lore raw

PATCH 1/1 platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()

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.

---
 drivers/platform/x86/intel/pmc/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel/pmc/core.c +1 -1
index de2dbf4ad65e0..5729810e5a485 100644
@@ -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");
 
 	/*
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 6 lines · Xi Pardee

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.