Skip to content

enhancement(pmu): add node_index to PMU event info#227

Merged
chetan-rathore merged 1 commit intoARM-software:mainfrom
Sujana-M:main
Feb 3, 2026
Merged

enhancement(pmu): add node_index to PMU event info#227
chetan-rathore merged 1 commit intoARM-software:mainfrom
Sujana-M:main

Conversation

@Sujana-M
Copy link
Collaborator

@Sujana-M Sujana-M commented Feb 2, 2026

  • Extend pal_pmu_get_event_info to use node_index for more granular event ID resolution across PMU nodes.
  • Update event_list entries, signatures, and related logic in PAL and VAL layers in UEFI and BM to support the enhancement.
  • Remove the hardcoded PMU event_list array from PAL implementations and instead declare it as a shared PLATFORM_OVERRIDE_EVENT_DETAILS array per platform (e.g., RDN2, RDV3, RDV3CFG1). This enables platform-specific configuration of PMU events.
  • Update pal_pmu_get_event_info() to use node_index for precise event ID lookup, supporting cases with multiple PMU nodes of the same type.
  • Delete unused pal_pmu.h from baremetal and unify the event_details struct definition across PAL layers.

Change-Id: I37350362942878c8621809ae940999aab5ca3efe

- Extend pal_pmu_get_event_info to use node_index for more
  granular event ID resolution across PMU nodes.
- Update event_list entries, signatures, and related logic in
  PAL and VAL layers in UEFI and BM to support the enhancement.
- Remove the hardcoded PMU `event_list` array from PAL implementations
  and instead declare it as a shared `PLATFORM_OVERRIDE_EVENT_DETAILS`
  array per platform (e.g., RDN2, RDV3, RDV3CFG1). This enables
  platform-specific configuration of PMU events.
- Update `pal_pmu_get_event_info()` to use `node_index` for precise event
  ID lookup, supporting cases with multiple PMU nodes of the same type.
- Delete unused `pal_pmu.h` from baremetal and unify the `event_details`
  struct definition across PAL layers.

Signed-off-by: Sujana M <sujana.murali@arm.com>
Change-Id: I37350362942878c8621809ae940999aab5ca3efe
@chetan-rathore chetan-rathore merged commit ef9b0a1 into ARM-software:main Feb 3, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants