Re: [PATCH v4 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

2016-02-15 Thread Will Deacon
On Mon, Feb 15, 2016 at 06:23:35PM +, Marc Zyngier wrote: > On 15/02/16 17:22, Will Deacon wrote: > > On Thu, Feb 11, 2016 at 06:40:01PM +, Marc Zyngier wrote: > >> When the kernel is running in HYP (with VHE), it is necessary to > >> include EL2 events if the user requests counting kernel

Re: [PATCH v4 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

2016-02-15 Thread Marc Zyngier
On 15/02/16 17:22, Will Deacon wrote: > On Thu, Feb 11, 2016 at 06:40:01PM +, Marc Zyngier wrote: >> 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 >> Acked

Re: [PATCH v4 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

2016-02-15 Thread Will Deacon
On Thu, Feb 11, 2016 at 06:40:01PM +, Marc Zyngier wrote: > 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 > Acked-by: Catalin Marinas > Signed-off-by: Marc Z

[PATCH v4 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

2016-02-11 Thread Marc Zyngier
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 Acked-by: Catalin Marinas Signed-off-by: Marc Zyngier --- arch/arm64/kernel/perf_event.c | 14 ++ 1 file chan