]> 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:26:23 +0000 (11:26 -0700)
commit424c61856b2d932f032a7327374a1d3cbc90881e
tree473071f845a79c701c519720623eeaae4f961448
parent9f400745af791e5c9bf43bd07ee316a02afa13e0
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