From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932663AbcBZKaC (ORCPT ); Fri, 26 Feb 2016 05:30:02 -0500 Received: from mail.skyhub.de ([78.46.96.112]:49157 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753936AbcBZK36 (ORCPT ); Fri, 26 Feb 2016 05:29:58 -0500 Date: Fri, 26 Feb 2016 11:29:52 +0100 From: Borislav Petkov To: Thomas Gleixner Cc: Huang Rui , Borislav Petkov , Peter Zijlstra , Ingo Molnar , Andy Lutomirski , Robert Richter , Jacob Shin , Arnaldo Carvalho de Melo , Kan Liang , linux-kernel@vger.kernel.org, spg_linux_kernel@amd.com, x86@kernel.org, Suravee Suthikulpanit , Aravind Gopalakrishnan , Fengguang Wu , Guenter Roeck Subject: Re: [PATCH v5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism Message-ID: <20160226102952.GD28911@pd.tnic> References: <1456479650-4942-1-git-send-email-ray.huang@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.