A wrong counter is used for Event 2 in PMU configuration

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Not Prioritized
    • SITSW-5004
    • 08.06.00
    • 10.01.00
    • Hide
      am243x-evm
      am243x-lp
      am64xx-evm
      Show
      am243x-evm am243x-lp am64xx-evm

      The PMU on Cortex-R5 supports three event counters and one cycle counter. The PMU driver (init) enables all the four counters, and selects counter 0 for EVENT 1 (ICache Miss), counter 1 for EVENT 4 (DCache Access), and counter 2 for EVENT 3 (DCache Miss). The PMU_Init tries to write 0x1F (31) to PMSELR Register for EVENT 0xFF (cycle count), but the PMSELR doesn't accept any value above 0x2, so the previous value in PMSELR (0x2) is selected for EVENT 0xFF (cycle count) instead of EVENT 3 (DCache Miss). 

      The profile data regarding EVENT 3 (DCache Miss) is not correct. The workaround is to comment out the code (Line #143 and 144) below in PMU_Init():

       

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-4931 - A wrong counter is used for Event 2...
                SYNCHRONIZED
                • Last Sync Date: