Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-07-05 Thread Adhemerval Zanella
On 04-07-2013 23:54, Michael Ellerman wrote: > On Thu, Jul 04, 2013 at 03:58:01PM -0300, Adhemerval Zanella wrote: >> Hi Michael, >> >> I believe you forgot to add the cpu_user_features2 bit to announce the EBB >> support >> for P8, patch following: > Hi Adhemerval, > > You're right, I haven't add

Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-07-04 Thread Michael Ellerman
On Thu, Jul 04, 2013 at 03:58:01PM -0300, Adhemerval Zanella wrote: > Hi Michael, > > I believe you forgot to add the cpu_user_features2 bit to announce the EBB > support > for P8, patch following: Hi Adhemerval, You're right, I haven't added it. I was wondering how best to do it. It's possibl

Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-07-04 Thread Adhemerval Zanella
Hi Michael, I believe you forgot to add the cpu_user_features2 bit to announce the EBB support for P8, patch following: Signed-off-by: Adhemerval Zanella --- arch/powerpc/kernel/cputable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/

Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-06-27 Thread Anshuman Khandual
On 06/27/2013 05:22 PM, Michael Ellerman wrote: > > On Wed, 2013-06-26 at 15:28 +0530, Anshuman Khandual wrote: >>> @@ -117,6 +117,7 @@ >>> (EVENT_UNIT_MASK << EVENT_UNIT_SHIFT) | \ >>> (EVENT_COMBINE_MASK << EVENT_COMBINE_SHIFT) | \ >>> (EVEN

Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-06-27 Thread Michael Ellerman
On Wed, 2013-06-26 at 15:28 +0530, Anshuman Khandual wrote: > > @@ -117,6 +117,7 @@ > > (EVENT_UNIT_MASK << EVENT_UNIT_SHIFT) | \ > > (EVENT_COMBINE_MASK << EVENT_COMBINE_SHIFT) | \ > > (EVENT_MARKED_MASK<< EVENT_MARKED_SHIFT) |

Re: [PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-06-26 Thread Anshuman Khandual
> @@ -117,6 +117,7 @@ >(EVENT_UNIT_MASK << EVENT_UNIT_SHIFT) | \ >(EVENT_COMBINE_MASK << EVENT_COMBINE_SHIFT) | \ >(EVENT_MARKED_MASK<< EVENT_MARKED_SHIFT) | \ > + (1ull << EVENT_CONFIG_EBB_SHIF

[PATCH 8/8] powerpc/perf: Add power8 EBB support

2013-06-24 Thread Michael Ellerman
Add logic to the power8 PMU code to support EBB. Future processors would also be expected to implement similar constraints. At that time we could possibly factor these out into common code. Finally mark the power8 PMU as supporting EBB, which is the actual enable switch which allows EBBs to be con