]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cputable: Fix oprofile_cpu_type on power8
authorNishanth Aravamudan <nacc@linux.vnet.ibm.com>
Tue, 28 May 2013 10:39:50 +0000 (10:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:25 +0000 (08:29 +1000)
commit996949774af3cfb0711ec761e40caa1600086a94
tree62200ceeffc27b770e9cd9bf384d9c3d95ca3cb5
parente10a99e464f941a065598af1b372392a31186be0
powerpc/cputable: Fix oprofile_cpu_type on power8

Maynard informed me that neither the oprofile kernel module nor oprofile
userspace has been updated to support that "legacy" oprofile module
interface for power8, which is indicated by "ppc64/power8." This results
in no samples. The solution is to default to the "timer" type, instead.
The raw entry also should be updated, as "ppc64/ibm-compat-v1" indicates
to oprofile userspace to use "compatibility events" which are obsolete
in ISA 2.07.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c