From: Anshuman Khandual Date: Mon, 22 Apr 2013 19:42:41 +0000 (+0000) Subject: powerpc/perf: Add basic assembly code to read BHRB entries on POWER8 X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~66^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73760931dcbcbe29eab72e06577a77c64f16fd02;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed