From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1428438122.4947.6.camel@kernel.crashing.org> Subject: Re: [Skiboot] [PATCH 4/4] hwmon: (ibmpowernv) pretty print labels From: Benjamin Herrenschmidt To: Cedric Le Goater Date: Wed, 08 Apr 2015 06:22:02 +1000 In-Reply-To: <55241C02.60103@fr.ibm.com> References: <5523ECC4.9010609@fr.ibm.com> <1428417956-28617-1-git-send-email-clg@fr.ibm.com> <20150407164439.GA4514@roeck-us.net> <55241C02.60103@fr.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: skiboot@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, Jean Delvare , Guenter Roeck , lm-sensors@lm-sensors.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2015-04-07 at 20:03 +0200, Cedric Le Goater wrote: > > This is a shortcut. The code is for the ibmpowernv platform and assumes > that we are running on a P8 (8 hardware threads). It would be better to > use a "maximum threads per core" variable but I am not sure this is > available, as it is a tunable. I will look into it. Yes, please don't hard code this... Cheers, Ben.