RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2071558 - [RFE] Support of PAPI library for AMD Rome & Milan
Summary: [RFE] Support of PAPI library for AMD Rome & Milan
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: papi
Version: 8.5
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: William Cohen
QA Contact: Lenka Špačková
Petr Hybl
Depends On: 2067218
Blocks: 2088284
TreeView+ depends on / blocked
Reported: 2022-04-04 08:16 UTC by Francois Andrieu
Modified: 2022-11-08 09:52 UTC (History)
11 users (show)

Fixed In Version: papi-5.6.0-16.el8
Doc Type: Enhancement
Doc Text:
.`papi` now supports AMD Zen 2 and Zen 3 processors With this enhancement, users now can access the AMD Zen 2 and Zen 3 performance monitoring hardware using `papi`.
Clone Of:
: 2088284 (view as bug list)
Last Closed: 2022-11-08 09:23:07 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-117718 0 None None None 2022-04-04 08:18:35 UTC
Red Hat Product Errata RHBA-2022:7515 0 None None None 2022-11-08 09:23:24 UTC

Comment 4 William Cohen 2022-04-04 15:17:44 UTC
PAPI would need some minor updates in the presets stored in papi_events.csv

Quick looks through looks like following commits are related to AMD ZenX changes papi_events.csv:


Comment 5 William Cohen 2022-05-08 17:00:37 UTC
AMD Zen2/3 support should be in papi-5.6.0-16.el8.

Comment 8 William Cohen 2022-05-13 17:48:45 UTC
@mkolar could you check the proposed z-stream rpms in the scratch builds and verify that they fufill comment #6:

7. Prepare a RHEL rpm scratch build and have this change validated on the latest RHEL milestone compose by someone other than the developer. A comment must be added to the Bugzilla indicating the validation is successful and there were no observed regressions.

Comment 9 Michal Kolar 2022-05-16 10:41:22 UTC
Working on it.

Comment 10 Michal Kolar 2022-05-16 16:40:55 UTC
(In reply to William Cohen from comment #8)
@wcohen no regression was observed during testing of the proposed scratch builds.

@fandrieu could you provide an OtherQA flag since the customer is able to help with testing?

Comment 11 William Cohen 2022-05-16 19:29:40 UTC
I reserved a zen3 machine Friday in beaker and tried out the libpfm and papi and compared to the existing rhel8.6 rpms the results were definitely better.

Comment 18 William Cohen 2022-06-16 15:23:36 UTC
@lkuprova, you tested on zen2/3 so we don't need the OtherQA? Is that correct?

Comment 19 Lenka Špačková 2022-06-21 06:11:59 UTC
(In reply to William Cohen from comment #18)
> @lkuprova, you tested on zen2/3 so we don't need the OtherQA? Is
> that correct?

Yes, I tested it on both Zen 2 and Zen 3 systems. I consider OtherQA only a nice-to-have.

Comment 29 errata-xmlrpc 2022-11-08 09:23:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (papi and libpfm bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.