This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question about PMU in detail

Hi everyone~ My questions focus on PMU for armv8.

In architecture reference manual Armv8 I can always find words like "If xxx is implemented", in which, xxx may be armv8.6-ecv/ armv8.5-PMU/PMUv3.1 etc. Something may be different for these specific implementations. So my question comes up that how can I get the information about whether a specific(a73 for example) has one of the implementations? I checked the PMU part a73 technical reference manual but got nothing about the PMU version it is implemented.

Next, for an event counter, we can control this counter to count events in EL0/EL1 by setting the PMEVTYPER.P/U. What does it mean? could I count only a userspace app's event and count no events running in the kernel with the PMEVTYPER.P/U be 0b1/0b0. Or could I count event impacted by the kernel without the inference of the user app?

Anyone's ideas would be greatly helpful, thx!

Parents Reply Children
No data