]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: perf: Count EL2 events if the kernel is running in HYP
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 25 Jan 2016 17:31:13 +0000 (17:31 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:18 +0000 (18:34 +0000)
commitea929e86c2a9ffd4ccd44189c9a043c690b8b6c0
tree55421a6070487ad0f694fb28da3441c471bb2d39
parent07685eacfa4b8020792501863a0abc17157b1f2b
arm64: perf: Count EL2 events if the kernel is running in HYP

When the kernel is running in HYP (with VHE), it is necessary to
include EL2 events if the user requests counting kernel or
hypervisor events.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kernel/perf_event.c