This change adds support for POWER8 and POWER9 PMCs (bare metal and pseries).
All PowerISA 2.07B non-random events are supported.
Implementation was based on that of PPC970.
Differential D26110
[PowerPC64] hwpmc: add support for POWER8/9 PMCs luporl on Aug 18 2020, 6:31 PM. Authored by Tags Referenced Files
Details
This change adds support for POWER8 and POWER9 PMCs (bare metal and pseries). Implementation was based on that of PPC970. Patched versions of libpmc (D26113) and pmcstat (D26114) were used to test the hwpmc module with these changes. Event counting and sampling, in both system and process modes, worked fine.
Diff Detail
Event TimelineComment Actions This diff has several changes on top of the previous one. The main ones are:
Also, this diff also depends on D26532 now, to take advantage of PPC 970 PMC SPRs being the standard ones. |