From: Michael Ellerman Date: Thu, 25 Apr 2013 19:28:27 +0000 (+0000) Subject: powerpc/perf: Add support for SIER X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~66^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f61aa325fab3a40b7c847bd35601ad99d7959c9;p=pandora-kernel.git powerpc/perf: Add support for SIER On power8 we have a new SIER (Sampled Instruction Event Register), which captures information about instructions when we have random sampling enabled. Add support for loading the SIER into pt_regs, overloading regs->dar. Also set the new NO_SIPR flag in regs->result if we don't have SIPR. Update regs_sihv/sipr() to look for SIPR/SIHV in SIER. Signed-off-by: Michael Ellerman Acked-by: Paul Mackerras Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed