From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id BC93145658;
Sat, 20 Jul 2024 00:29:23 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 9DE8C402BD;
Sat, 20 Jul 2024 00:29:23 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id A515D402BD
for ; Sat, 20 Jul 2024 00:29:21 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 9572E4565A; Sat, 20 Jul 2024 00:29:21 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 1499] Intel uncore power library fails because of too
many frequencies
Date: Fri, 19 Jul 2024 22:29:21 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: core
X-Bugzilla-Version: 24.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen@networkplumber.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17214281610.69E2f12d6.1855437
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17214281610.69E2f12d6.1855437
Date: Sat, 20 Jul 2024 00:29:21 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1499
Bug ID: 1499
Summary: Intel uncore power library fails because of too many
frequencies
Product: DPDK
Version: 24.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
Running 24.07-rc2 on Intel core box fails the power uncore test because:
RTE>>power_intel_uncore_autotest
POWER: Too many available uncore frequencies: 33
POWER: Cannot get available uncore frequencies of pkg 00 die 00
Cannot initialise uncore power management for pkg 0 die 0, this may occur if
environment is not configured correctly(APCI cpufreq) or operating in anoth=
er
valid Power management environment
The CPU is: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
initial_max_freq_khz:3600000
initial_min_freq_khz:400000
max_freq_khz:3600000
min_freq_khz:400000
Which leads to this expression:
num_uncore_freqs =3D (ui->init_max_freq - ui->init_min_freq) / BUS_=
FREQ +
1;
if (num_uncore_freqs >=3D MAX_UNCORE_FREQS) {
POWER_LOG(ERR, "Too many available uncore frequencies: %d",
num_uncore_freqs);
I.e:
num_uncore_freqs =3D (3600000 - 400000) / 100000 + 1
=3D 33
Looks like an off-by-one error, was this ever tested?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17214281610.69E2f12d6.1855437
Date: Sat, 20 Jul 2024 00:29:21 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Intel uncore power library fails because of too many frequenc=
ies
Product
DPDK
Version
24.07
Hardware
x86
OS
Linux
Status
UNCONFIRMED
Severity
normal
Priority
Normal
Component
core
Assignee
dev@dpdk.org
Reporter
stephen@networkplumber.org
Target Milestone
---
Running 24.07-rc2 on Intel core bo=
x fails the power uncore test because:
RTE>>power_intel_uncore_autotest
POWER: Too many available uncore frequencies: 33
POWER: Cannot get available uncore frequencies of pkg 00 die 00
Cannot initialise uncore power management for pkg 0 die 0, this may occur if
environment is not configured correctly(APCI cpufreq) or operating in anoth=
er
valid Power management environment
The CPU is: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
initial_max_freq_khz:3600000
initial_min_freq_khz:400000
max_freq_khz:3600000
min_freq_khz:400000
Which leads to this expression:
num_uncore_freqs =3D (ui->init_max_freq - ui->init_min_freq) =
/ BUS_FREQ +
1;
if (num_uncore_freqs >=3D MAX_UNCORE_FREQS) {
POWER_LOG(ERR, "Too many available uncore frequencies:=
%d",
num_uncore_freqs);
I.e:
num_uncore_freqs =3D (3600000 - 400000) / 100000 + 1
=3D 33
Looks like an off-by-one error, was this ever tested?