arm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit
authorWill Deacon <will.deacon@arm.com>
Tue, 20 Aug 2013 10:47:42 +0000 (11:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:36 +0000 (17:21 -0700)
commit2acd475ac3b38805c4efcbd34c3e2f62ec41c4de
treefbf9b7acbbe155da594bcae77ed5b59f4df44d38
parentbb2876c28af9124e585714cdda7469974ebc3e67
arm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit

commit 178cd9ce377232518ec17ff2ecab2e80fa60784c upstream.

This is a port of f2fe09b055e2 ("ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK
to include NSH bit") to arm64, which fixes the broken evtype mask to
include the NSH bit, allowing profiling at EL2.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/perf_event.c