aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnshuman Khandual <[email protected]>2013-04-22 19:42:41 +0000
committerBenjamin Herrenschmidt <[email protected]>2013-04-26 16:11:11 +1000
commit73760931dcbcbe29eab72e06577a77c64f16fd02 (patch)
tree37507048630e438266e49b9c3ef332911e21b847 /lib
parent95213959aefc94f1cfe6718449a8bcdc8df86060 (diff)
powerpc/perf: Add basic assembly code to read BHRB entries on POWER8
This patch adds the basic assembly code to read BHRB buffer. BHRB entries are valid only after a PMU interrupt has happened (when MMCR0[PMAO]=1) and BHRB has been freezed. BHRB read should not be attempted when it is still enabled (MMCR0[PMAE]=1) and getting updated, as this can produce non-deterministic results. Signed-off-by: Anshuman Khandual <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions