enhancement(pmu): add node_index to PMU event info#227
Merged
chetan-rathore merged 1 commit intoARM-software:mainfrom Feb 3, 2026
Merged
enhancement(pmu): add node_index to PMU event info#227chetan-rathore merged 1 commit intoARM-software:mainfrom
chetan-rathore merged 1 commit intoARM-software:mainfrom
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
event_listarray from PAL implementations and instead declare it as a sharedPLATFORM_OVERRIDE_EVENT_DETAILSarray per platform (e.g., RDN2, RDV3, RDV3CFG1). This enables platform-specific configuration of PMU events.pal_pmu_get_event_info()to usenode_indexfor precise event ID lookup, supporting cases with multiple PMU nodes of the same type.pal_pmu.hfrom baremetal and unify theevent_detailsstruct definition across PAL layers.Change-Id: I37350362942878c8621809ae940999aab5ca3efe