Skip to content

Update libpfm4 to Commit f47003#613

Merged
Treece-Burgess merged 1 commit into
icl-utk-edu:masterfrom
Treece-Burgess:06-02-2026-libpfm4-update
Jun 17, 2026
Merged

Update libpfm4 to Commit f47003#613
Treece-Burgess merged 1 commit into
icl-utk-edu:masterfrom
Treece-Burgess:06-02-2026-libpfm4-update

Conversation

@Treece-Burgess

Copy link
Copy Markdown
Contributor

Pull Request Description

Current with
commit fbcd0c258b79b28c3c9282f309b6465d78f47003
Author: Nitika Achra nitachra@amd.com
Date: Mon May 11 20:22:49 2026 +0530

add AMD Zen6 (Fam 1Ah) L3 PMU support

Add a new PMU model: amd64_fam1ah_zen6_l3, with the 3 currently
published L3 events.

Based on the publicly available "Performance Monitor Counters for AMD
Family 1Ah Model 50h-57h Processors", rev 1.00:

  https://docs.amd.com/v/u/en-US/69163-VenicePMC-pub

Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
Signed-off-by: Nitika Achra <nitachra@amd.com>

commit a927efb0309db45c072a875e56f750b1be65ec44
Author: Nitika Achra nitachra@amd.com
Date: Mon May 11 20:22:15 2026 +0530

add AMD Zen6 (Fam 1Ah) core PMU support

Add a new PMU model: amd64_fam1ah_zen6.

Based on the publicly available "Performance Monitor Counters for AMD
Family 1Ah Model 50h-57h Processors", rev 1.00:

  https://docs.amd.com/v/u/en-US/69163-VenicePMC-pub

Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
Signed-off-by: Nitika Achra <nitachra@amd.com>

commit b6de644ecfa4627f87726292f2638663c23a2f63
Author: Nitika Achra nitachra@amd.com
Date: Wed May 27 13:29:41 2026 +0530

amd64: drop unused amd64_fam1ah_zen5_retired_serializing_ops table

The amd64_fam1ah_zen5_retired_serializing_ops[] umask table is defined
in lib/events/amd64_events_fam1ah_zen5.h but is not referenced by any
event entry in amd64_fam1ah_zen5_pe[]. It is dead code that was added
together with the initial Zen5 support and has never been wired up.

No functional change.

Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
Signed-off-by: Nitika Achra <nitachra@amd.com>

commit d89aa86628073d55a2234ba15064f138b8fe4370
Author: Stephane Eranian eranian@gmail.com
Date: Thu May 28 21:58:49 2026 -0700

add basic support for JSON output

Adds the -j option to print the basic event information in JSON format.

Signed-off-by: Stephane Eranian <eranian@gmail.com>

Note: The PAPI team does not have access to a machine with an AMD Zen 6. However, testing was done on an AMD Zen 5 (AMD Ryzen 9 9950X 16-Core Processor). From testing, the PAPI utilities: papi_component_avail, papi_avail, papi_native_avail, and papi_command_line ran successfully. Furthermore, the perf_event component tests nmi_watchdog, perf_event_system_wide, and perf_event_user_kernel all ran successfully (the tests broken_events and perf_event_offcore_response do not have events defined for the AMD Zen 5 architecture).

Author Checklist

  • Description
    Why this PR exists. Reference all relevant information, including background, issues, test failures, etc
  • Commits
    Commits are self contained and only do one thing
    Commits have a header of the form: module: short description
    Commits have a body (whenever relevant) containing a detailed description of the addressed problem and its solution
  • Tests
    The PR needs to pass all the tests

@Treece-Burgess Treece-Burgess requested a review from dbarry9 June 2, 2026 15:35
@Treece-Burgess Treece-Burgess added status-ready-for-review PR is ready to be reviewed update-libpfm4 PRs related to adding the latest libpfm4 to PAPI labels Jun 2, 2026
@dbarry9

dbarry9 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

I'm reviewing this PR.

Current with
commit fbcd0c258b79b28c3c9282f309b6465d78f47003
Author: Nitika Achra <nitachra@amd.com>
Date:   Mon May 11 20:22:49 2026 +0530

    add AMD Zen6 (Fam 1Ah) L3 PMU support

    Add a new PMU model: amd64_fam1ah_zen6_l3, with the 3 currently
    published L3 events.

    Based on the publicly available "Performance Monitor Counters for AMD
    Family 1Ah Model 50h-57h Processors", rev 1.00:

      https://docs.amd.com/v/u/en-US/69163-VenicePMC-pub

    Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
    Signed-off-by: Nitika Achra <nitachra@amd.com>

commit a927efb0309db45c072a875e56f750b1be65ec44
Author: Nitika Achra <nitachra@amd.com>
Date:   Mon May 11 20:22:15 2026 +0530

    add AMD Zen6 (Fam 1Ah) core PMU support

    Add a new PMU model: amd64_fam1ah_zen6.

    Based on the publicly available "Performance Monitor Counters for AMD
    Family 1Ah Model 50h-57h Processors", rev 1.00:

      https://docs.amd.com/v/u/en-US/69163-VenicePMC-pub

    Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
    Signed-off-by: Nitika Achra <nitachra@amd.com>

commit b6de644ecfa4627f87726292f2638663c23a2f63
Author: Nitika Achra <nitachra@amd.com>
Date:   Wed May 27 13:29:41 2026 +0530

    amd64: drop unused amd64_fam1ah_zen5_retired_serializing_ops table

    The amd64_fam1ah_zen5_retired_serializing_ops[] umask table is defined
    in lib/events/amd64_events_fam1ah_zen5.h but is not referenced by any
    event entry in amd64_fam1ah_zen5_pe[]. It is dead code that was added
    together with the initial Zen5 support and has never been wired up.

    No functional change.

    Signed-off-by: Swarup Sahoo <swarup-chandra.sahoo@amd.com>
    Signed-off-by: Nitika Achra <nitachra@amd.com>

commit d89aa86628073d55a2234ba15064f138b8fe4370
Author: Stephane Eranian <eranian@gmail.com>
Date:   Thu May 28 21:58:49 2026 -0700

    add basic support for JSON output

    Adds the -j option to print the basic event information in JSON format.

    Signed-off-by: Stephane Eranian <eranian@gmail.com>

Note: The PAPI team does not have access to a machine with an AMD Zen 6. However, testing was done on an AMD Zen 5 (AMD Ryzen 9 9950X 16-Core Processor).
From testing, the PAPI utilities: papi_component_avail, papi_avail, papi_native_avail, and papi_command_line ran successfully. Furthermore, the perf_event
component tests nmi_watchdog, perf_event_system_wide, and perf_event_user_kernel all ran successfully (the tests broken_events and perf_event_offcore_response do
not have events defined for the AMD Zen 5 architecture).
@dbarry9 dbarry9 force-pushed the 06-02-2026-libpfm4-update branch from 7ab1c0a to b8bceaf Compare June 17, 2026 16:04
@dbarry9

dbarry9 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Since I do not have a system with the Zen6 CPU architecture, I tested these changes on a system containing an AMD EPYC 9755 CPU (Zen5 architecture). The PAPI utilities function properly.

@Treece-Burgess Treece-Burgess merged commit 245e2b9 into icl-utk-edu:master Jun 17, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status-ready-for-review PR is ready to be reviewed update-libpfm4 PRs related to adding the latest libpfm4 to PAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants