]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit
authorWill Deacon <will.deacon@arm.com>
Thu, 28 Feb 2013 16:49:11 +0000 (17:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 18:29:50 +0000 (11:29 -0700)
commit724285cf2c0ef53c2217a6a866ab50d57c386292
treee43d0833c284196ace7af1ed7b42d80ce1c6316d
parentb08994da73be68f17f82a522f4f129c18dbbf77f
ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit

commit f2fe09b055e2549de41fb107b34c60bac4a1b0cf upstream.

Masked out PMXEVTYPER.NSH means that we can't enable profiling at PL2,
regardless of the settings in the HDCR.

This patch fixes the broken mask.

Reported-by: Christoffer Dall <cdall@cs.columbia.edu>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/perf_event_v7.c