Kindly ping for review.
On 5/12/2026 9:30 AM, Huisong Li wrote:
When run dpdk-l3fwd with '-u' on non-X86 platform, user would
happen a noisy print as the following:
"POWER: Uncore frequency management not supported/enabled on this
kernel. Please enable CONFIG_INTEL_UNCORE_FREQ_CONTROL if on Intel
x86 with linux kernel >= 5.6".
The root cause is that intel_uncore driver's .init() will be called
on any platform when use automatic detection mode. The function in
intel_uncore driver will print above log on non-X86 platform.
But the existing uncore core cannot solve this problem unless break
ABI to add new callback. So reduce its log level to avoid this
incorrect prompt.
Signed-off-by: Huisong Li <[email protected]>
---
drivers/power/intel_uncore/intel_uncore.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/intel_uncore/intel_uncore.c
b/drivers/power/intel_uncore/intel_uncore.c
index 6759ea1445..ebca395075 100644
--- a/drivers/power/intel_uncore/intel_uncore.c
+++ b/drivers/power/intel_uncore/intel_uncore.c
@@ -419,7 +419,7 @@ power_intel_uncore_get_num_pkgs(void)
d = opendir(INTEL_UNCORE_FREQUENCY_DIR);
if (d == NULL) {
- POWER_LOG(ERR,
+ POWER_LOG(DEBUG,
"Uncore frequency management not supported/enabled on this kernel.
"
"Please enable CONFIG_INTEL_UNCORE_FREQ_CONTROL if on Intel x86 with
linux kernel"
" >= 5.6");
@@ -457,7 +457,7 @@ power_intel_uncore_get_num_dies(unsigned int pkg)
d = opendir(INTEL_UNCORE_FREQUENCY_DIR);
if (d == NULL) {
- POWER_LOG(ERR,
+ POWER_LOG(DEBUG,
"Uncore frequency management not supported/enabled on this kernel.
"
"Please enable CONFIG_INTEL_UNCORE_FREQ_CONTROL if on Intel x86 with
linux kernel"
" >= 5.6");