From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753297AbbJMWpV (ORCPT ); Tue, 13 Oct 2015 18:45:21 -0400 Received: from mga11.intel.com ([192.55.52.93]:16587 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbbJMWpU convert rfc822-to-8bit (ORCPT ); Tue, 13 Oct 2015 18:45:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,680,1437462000"; d="scan'208";a="826021744" From: "Odzioba, Lukasz" To: Guenter Roeck CC: "Yu, Fenghua" , "jdelvare@suse.de" , "lm-sensors@lm-sensors.org" , "linux-kernel@vger.kernel.org" , Phil Pokorny Subject: RE: [PATCH 1/1] Bumps limit of maximum core ID from 32 to 128. Thread-Topic: [PATCH 1/1] Bumps limit of maximum core ID from 32 to 128. Thread-Index: AQHRBOSyixvqyOu1X0aAk0qjc/aFE55p0cAAgAAgZ6D///+zAIAAEZ3Q Date: Tue, 13 Oct 2015 22:45:16 +0000 Message-ID: References: <1444650812-17398-1-git-send-email-lukasz.odzioba@intel.com> <20151013203134.GA28106@roeck-us.net> <561D8514.2040503@roeck-us.net> In-Reply-To: <561D8514.2040503@roeck-us.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, October 14, 2015 at 12:26 AM, Guenter Roeck wrote: > Pardon my ignorance ... those are Xeon Phi processors, and support up to > 244 threads (for Knights Corner). Programming datasheet isn't easily available, > so I have to guess a bit. Following the processor numbering scheme of "ordinary" > processors, the CPU ID can therefore be up to 244 (at least) already today, > meaning the limit would have to be 256 (assuming that the processor does support > per-core temperature sensors). On the other side, the public datasheet suggests > that there are only three temperature sensors. > What am I missing here ? Knights Corner can have up to 61 cores with 4 threads per core, so up to 244 threads. All HT siblings reads temperature from the same core and coretemp driver is aware of it. That's it needs just one temp_data structure for all threads on given core. I tested 128 on real HW myself. Thanks, Lukas