diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2013-04-22 15:42:41 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-26 02:11:11 -0400 |
commit | 73760931dcbcbe29eab72e06577a77c64f16fd02 (patch) | |
tree | 37507048630e438266e49b9c3ef332911e21b847 /arch/cris/configs | |
parent | 95213959aefc94f1cfe6718449a8bcdc8df86060 (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 <khandual@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/cris/configs')
0 files changed, 0 insertions, 0 deletions