]> 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)
commitb9519fee57ad880f4d95c31af34738c8f44ae00c
tree55421a6070487ad0f694fb28da3441c471bb2d39
parentcd47a7d4a70a9ff3ce6750ccf4e773d50961d4e9
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