Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751941Ab0HTIeV (ORCPT ); Fri, 20 Aug 2010 04:34:21 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:11854 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153Ab0HTIeS (ORCPT ); Fri, 20 Aug 2010 04:34:18 -0400 Date: Fri, 20 Aug 2010 10:33:56 +0200 From: Jean Delvare To: Fenghua Yu Cc: Guenter Roeck , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , "Brown, Len" , Chen Gong , "Wan, Huaxu" , lkml , "lm-sensors@lm-sensors.org" Subject: Re: [PATCH 5/5] Package Level Thermal Control and Power Limit Notification: pkgtemp doc Message-ID: <20100820103356.01c9907f@hyperion.delvare> In-Reply-To: <20100819205120.GA22602@linux-os.sc.intel.com> References: <94E56C79ECC49A4B87113985F1FEBA8D03F8AE2A4B@bgsmsx502.gar.corp.intel.com> <4C485DF1.5050407@linux.intel.com> <20100722162222.GA22450@linux-os.sc.intel.com> <20100722172726.GA4914@ericsson.com> <20100722175225.GB22450@linux-os.sc.intel.com> <20100722185814.GA5235@ericsson.com> <20100722212111.GC22450@linux-os.sc.intel.com> <20100819174632.239aed93@hyperion.delvare> <20100819162719.GB4160@ericsson.com> <20100819205120.GA22602@linux-os.sc.intel.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i586-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1472 Lines: 36 Fenghua, On Thu, 19 Aug 2010 13:51:20 -0700, Fenghua Yu wrote: > On Thu, Aug 19, 2010 at 09:27:19AM -0700, Guenter Roeck wrote: > > I might spend some time rewriting the coretemp driver as described above, > > unless someone else picks it up, and unless there is opposition. > > Obviously, that won't include the package sensor since there is now > > a separate driver for it. > > I agree with this method too. On a multiple socket system, the current coretemp > output will cause confusion since it only outputs core# without package#. Good point. > If it's ok for you, I can rewrite this part to have hwmon device per CPU with > both core and package thermal info and send out RFC patch soon. Yes, please! If you have time to work on this, it would be very great. I am really curious to see how the driver would look like if we go with this approach. I can test the code, too (although I understand you won't have any difficulties getting your hands on recent Intel systems ;) Also see my reply in the other thread about the handling of removed siblings. I suspect it will be very easy to add to the new design. Side question: is it safe to assume a maximum of 2 siblings per core on Intel x86 CPUs? -- Jean Delvare -- 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/