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
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
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/
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
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) |
> @@ -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
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