Hello, ARM gurus,
I'd like to use PMU and Debug Event Module in CCN-502 to check the performance, for example, the cache missing rate. I went through the TRM of CCN-502. To my understanding, the following steps need to be followed:
1. Write the pmu_event_sel register of HN-F to select the events I'm interested in.
2. Program the dt_config register of the XP to which the HN-F is attached which DT bits to transfer the events programmed in the pmu_event_sel register.
The documentation of dt_config lists encoding values for XP events, Device 0 events and Device 1 events. But how do I know the HN-F is Device 0 or Device 1? Not sure if there is a readonly register to indicate this?
Thanks
-Oscar