Re: [PATCH v5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism
From: Huang Rui
Date: Mon Feb 29 2016 - 02:38:42 EST
On Fri, Feb 26, 2016 at 11:29:52AM +0100, Borislav Petkov wrote:
> 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:
> Rui, what's up?
Sorry, I will remove superfluous MAX_CUS check at next version.