From: Cody P Schafer Date: Fri, 14 Mar 2014 05:00:39 +0000 (+1100) Subject: powerpc/perf: Add a shared interface to get gpci version and capabilities X-Git-Tag: v3.15-rc1~124^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d1b21ad7d1574c7aaa5b9acdb3a02fd37a11c01;p=pandora-kernel.git powerpc/perf: Add a shared interface to get gpci version and capabilities This exposes a simple way to grab the firmware provided collect_priveliged, ga, expanded, and lab capability bits. All of these bits come in from the same gpci request, so we've exposed all of them. Only the collect_priveliged bit is really used by the hv-gpci/hv-24x7 code, the other bits are simply exposed in sysfs to inform the user. Signed-off-by: Cody P Schafer Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed