From: Cédric Le Goater Date: Wed, 8 Apr 2015 17:19:50 +0000 (+0200) Subject: hwmon: (ibmpowernv) pretty print labels X-Git-Tag: omap-for-v4.2/o2_dc~170^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df2f59f0aae;p=pandora-kernel.git hwmon: (ibmpowernv) pretty print labels The new OPAL device tree adds a few properties which can be used to add extra information on the sensor label. In the case of a cpu core sensor, the firmware exposes the physical identifier of the core in the "ibm,pir" property. The driver translates this identifier in a linux cpu number and prints out a range corresponding to the hardware threads of the core (as they share the same sensor). The numbering gives a hint on the localization of the core in the system (which socket, which chip). Signed-off-by: Cédric Le Goater Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed