]> 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)
commitc3db76890639140631d8cd7c41d55793aa2af382
tree62200ceeffc27b770e9cd9bf384d9c3d95ca3cb5
parent15c5dd705b5c6338ce086a9914c429152d814461
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