Skip to content

[26.04_linux-nvidia-bos] Backport perf vendor events arm64: Fix Tegra410 Olympus PMU events - #550

Closed
nvmochs wants to merge 2 commits into
NVIDIA:26.04_linux-nvidia-bosfrom
nvmochs:fix_tegra410_oly_pmu_events_70bos
Closed

[26.04_linux-nvidia-bos] Backport perf vendor events arm64: Fix Tegra410 Olympus PMU events#550
nvmochs wants to merge 2 commits into
NVIDIA:26.04_linux-nvidia-bosfrom
nvmochs:fix_tegra410_oly_pmu_events_70bos

Conversation

@nvmochs

@nvmochs nvmochs commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

This small series adds a few fixes for the Tegra410 (Vera) perf PMU events.

LKML: https://lore.kernel.org/all/20260813170155.1156593-1-bwicaksono@nvidia.com/#r

The series is upstream (in linux-next) and expected in v7.4.

linux-next:

2d85e13c5526 perf vendor events arm64: fix swapped MetricGroup for Tegra410 L1 prefetcher metrics
9453bc6a69ef perf vendor events arm64: Fix Tegra410 Olympus event 0x0197

Tested with GLT: DGX-17750


LP: https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-bos/+bug/2164783

Saurav Sachidanand and others added 2 commits August 20, 2026 17:56
…fetcher metrics

The L1D prefetcher metrics (l1d_cache_rw_miss_ratio, l1d_demand_accesses,
etc.) were incorrectly assigned to MetricGroup "L1I_Prefetcher_Effectiveness"
and vice versa. This causes 'perf stat --metric-group L1D_Prefetcher_Effectiveness'
to display L1I metrics, which is misleading.

Swap the MetricGroup assignments so L1D metrics are in the L1D group and
L1I metrics are in the L1I group.

Fixes: 86ff690 ("perf vendor events arm64: Add Tegra410 Olympus PMU events")
Signed-off-by: Saurav Sachidanand <sauravsc@amazon.com>
Reviewed-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
(cherry picked from commit 2d85e13c5526eee5f4d5670472a949f1489707ed linux-next)
Signed-off-by: Matthew R. Ochs <mochs@nvidia.com>
The name and description for NVIDIA Tegra410 Olympus implementation-defined
event 0x0197 incorrectly indicate a TXREQ limit between one quarter and
one half. Correct them to describe a TXREQ limit below one half.

Fixes: 86ff690 ("perf vendor events arm64: Add Tegra410 Olympus PMU events")
Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
(cherry picked from commit 9453bc6a69ef43755f1c28d5688cacdd69fa16bd linux-next)
Signed-off-by: Matthew R. Ochs <mochs@nvidia.com>
@nirmoy nirmoy added the help wanted Extra attention is needed label Aug 21, 2026
@nirmoy

nirmoy commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

BaseOS Kernel Review

Tip

✅ Review passed

No issues found across the reviewed commits.

Findings: none

🔍 Review artifacts

📦 Kernel deb builds — 🔴 0/2 passed

Note

Build reports and debs are retained for 10 days after the PR closes.

Review metadata
  • Reviewed head: d87b6e86a46f
  • Overall status: build failed
  • Architectures: 0/2 successful

This comment is maintained by BaseOS Reviewer and updated when the GitHub watcher publishes a newer review.

@github-actions

Copy link
Copy Markdown
Contributor

PR Validation Report

Patchscan ✅ No Missing Fixes

All cherry-picked commits checked — no missing upstream fixes found.

PR Lint ❌ Errors found

Details
Checking 2 commits...

Cherry-pick digest:
E: d87b6e86a46f ("perf vendor events arm64: Fix Tegra410 O"): linux-next cherry-pick needs a public patch Link: trailer (patch.msgid.link, lore.kernel.org or patchwork.kernel.org); SHA 9453bc6a69ef is not resolvable
E: c842bca035dd ("perf vendor events arm64: fix swapped Me"): linux-next cherry-pick needs a public patch Link: trailer (patch.msgid.link, lore.kernel.org or patchwork.kernel.org); SHA 2d85e13c5526 is not resolvable
┌──────────────┬──────────────────────────────────────────────────────────────────┬────────────┬─────────┬───────────────────────────┐
│ Local        │ Referenced upstream / Patch subject                              │ Patch-ID   │ Subject │ SoB chain                 │
├──────────────┼──────────────────────────────────────────────────────────────────┼────────────┼─────────┼───────────────────────────┤
│ d87b6e86a46f │ 9453bc6a69ef                                                     │ ERROR      │ ERROR   │ ERROR                     │
├──────────────┼──────────────────────────────────────────────────────────────────┼────────────┼─────────┼───────────────────────────┤
│ c842bca035dd │ 2d85e13c5526                                                     │ ERROR      │ ERROR   │ ERROR                     │
└──────────────┴──────────────────────────────────────────────────────────────────┴────────────┴─────────┴───────────────────────────┘

Lint results:
W: c842bca035dd ("perf vendor events arm64: fix swapped MetricGroup "): subject 84 chars (>72)

@clsotog

clsotog commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Acked-by: Carol L Soto <csoto@nvidia.com>

@jamieNguyenNVIDIA

Copy link
Copy Markdown
Collaborator

Acked-by: Jamie Nguyen <jamien@nvidia.com>

@nirmoy nirmoy added has_2_acks and removed help wanted Extra attention is needed has_1_ack labels Aug 21, 2026
@nvmochs

nvmochs commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

Merged, closing PR.

982ed1a4b9f1 (nresolute/nvidia-bos-next) perf vendor events arm64: Fix Tegra410 Olympus event 0x0197
e930b3815147 perf vendor events arm64: fix swapped MetricGroup for Tegra410 L1 prefetcher metrics

@nvmochs nvmochs closed this Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants