[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160229154048.GA20610@hr-amur2>
Date: Mon, 29 Feb 2016 23:40:49 +0800
From: Huang Rui <ray.huang@....com>
To: Borislav Petkov <bp@...en8.de>
CC: Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...e.de>,
"Peter Zijlstra" <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
"Andy Lutomirski" <luto@...capital.net>,
Robert Richter <rric@...nel.org>,
"Jacob Shin" <jacob.w.shin@...il.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Kan Liang <kan.liang@...el.com>,
<linux-kernel@...r.kernel.org>, <spg_linux_kernel@....com>,
<x86@...nel.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
Aravind Gopalakrishnan <Aravind.Gopalakrishnan@....com>,
Fengguang Wu <fengguang.wu@...el.com>,
Guenter Roeck <linux@...ck-us.net>
Subject: Re: [PATCH v5] perf/x86/amd/power: Add AMD accumulated power
reporting mechanism
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:
>
> https://lkml.kernel.org/r/20160128145436.GE14274@pd.tnic
>
> Rui, what's up?
>
Sorry, I will remove superfluous MAX_CUS check at next version.
Thanks,
Rui
Powered by blists - more mailing lists