Re: [PATCH v5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

From: Borislav Petkov
Date: Fri Feb 26 2016 - 05:30:09 EST


On Fri, Feb 26, 2016 at 11:18:28AM +0100, Thomas Gleixner wrote:
> On Fri, 26 Feb 2016, Huang Rui wrote:
> > +/* Event code: LSB 8 bits, passed in attr->config any other bit is reserved. */
> > +#define AMD_POWER_EVENT_MASK 0xFFULL
> > +
> > +#define MAX_CUS 8
>
> What's that define for? Max compute units? So is that stuff eternaly limited
> to 8?

I already sent him a cleaned up version with that dumbness removed:

https://lkml.kernel.org/r/20160128145436.GE14274@xxxxxxx

Rui, what's up?

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.