Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752039AbbH1I4p (ORCPT ); Fri, 28 Aug 2015 04:56:45 -0400 Received: from mail.skyhub.de ([78.46.96.112]:34785 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbbH1I4m (ORCPT ); Fri, 28 Aug 2015 04:56:42 -0400 Date: Fri, 28 Aug 2015 10:56:51 +0200 From: Borislav Petkov To: Ingo Molnar Cc: Huang Rui , Borislav Petkov , Jean Delvare , Guenter Roeck , Andy Lutomirski , Andreas Herrmann , Thomas Gleixner , Peter Zijlstra , "Rafael J. Wysocki" , Len Brown , John Stultz , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org, x86@kernel.org, Andreas Herrmann , Aravind Gopalakrishnan , Fengguang Wu , Aaron Lu , Tony Li Subject: Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit Message-ID: <20150828085651.GA21769@nazgul.tnic> References: <1440662866-28716-1-git-send-email-ray.huang@amd.com> <1440662866-28716-10-git-send-email-ray.huang@amd.com> <20150828064814.GB20153@nazgul.tnic> <20150828080418.GB13309@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150828080418.GB13309@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 658 Lines: 24 On Fri, Aug 28, 2015 at 10:04:18AM +0200, Ingo Molnar wrote: > Looks good to me in theory. Thanks. > I suspect we might want to factor the 'compute unit' logic out a bit > more if usage becomes more widespread - but right now it's hwmon > drivers only,right? Yeah. My angle is to extend stuff as we go and only when we need it. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/