]> Pileus Git - ~andy/linux/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Aug 2013 11:12:25 +0000 (12:12 +0100)
commit178cd9ce377232518ec17ff2ecab2e80fa60784c
tree43a24b93b0d76eab7ab6c493b173266cd78318a0
parent8455e6ec70f33b0e8c3ffd47067e00481f09f454
arm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/perf_event.c