Commit f69ae498 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Xiaolong Wang
Browse files

powercap: intel_rapl: Downgrade BIOS locked limits pr_warn() to pr_debug()

mainline inclusion
from mainline-v6.7-rc1
commit a60ec4485f1c72dfece365cf95e6de82bdd74300
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I92135

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a60ec4485f1c72dfece365cf95e6de82bdd74300



--------------------------------

Before the refactoring the pr_warn() only triggered when
someone explicitly tried to write to a BIOS locked limit.
After the refactoring the warning is also triggering during
system resume. The user can't do anything about this so
printing scary warnings doesn't make sense

Keep the printk but make it pr_debug() instead of pr_warn()
to make it clear it's not a serious issue.

Intel-SIG: commit a60ec4485f1c powercap: intel_rapl: Downgrade BIOS locked limits pr_warn() to pr_debug()
Backport Intel RAPL driver support on TPMI.

Fixes: 9050a9cd ("powercap: intel_rapl: Cleanup Power Limits support")
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Cc: 6.5+ <stable@vger.kernel.org> # 6.5+
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
[ Xiaolong Wang: amend commit log ]
Signed-off-by: default avatarXiaolong Wang <xiaolong.wang@intel.com>
parent 7802223e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment