Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
Hi Perf Maintainers, your suggestion on below discussion is much appreciated! On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
Hi Perf Maintainers, your suggestion on below discussion is much appreciated! On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 05:37:10PM

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
[Adding maintainers] On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 05:37:10PM +0530,

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
[Adding maintainers] On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: >> >> On Tue, Apr 4,

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Will Deacon
On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: > On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: > > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: > >> On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: >

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Will Deacon
On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: > On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: > > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: > >> On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > >> > On Tue, Apr 04, 2017 at 04:10:55PM

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >>

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >> >> commit d98ecda (arm64: perf: Count EL2

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Will Deacon
On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: > On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: > >> commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in >

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Will Deacon
On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: > On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: > >> commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in > >> HYP) > >> is

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
Hi Will, On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >> commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in >> HYP) >> is returning error for perf syscall with mixed

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
Hi Will, On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >> commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in >> HYP) >> is returning error for perf syscall with mixed attribute set for >>

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Will Deacon
On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: > commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in HYP) > is returning error for perf syscall with mixed attribute set for > exclude_kernel > and exlude_hv. > > This change is breaking some applications

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Will Deacon
On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: > commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in HYP) > is returning error for perf syscall with mixed attribute set for > exclude_kernel > and exlude_hv. > > This change is breaking some applications

[PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in HYP) is returning error for perf syscall with mixed attribute set for exclude_kernel and exlude_hv. This change is breaking some applications (observed with hhvm) when ran with VHE enabled. Adding change to enable EL2 event

[PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in HYP) is returning error for perf syscall with mixed attribute set for exclude_kernel and exlude_hv. This change is breaking some applications (observed with hhvm) when ran with VHE enabled. Adding change to enable EL2 event