]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit2ac6f427ad837a69561160b282eff80d9f0c2466
tree62200ceeffc27b770e9cd9bf384d9c3d95ca3cb5
parente242114afff0a41550e174cd787cdbafd34625de
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