* [lm-sensors] [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
@ 2015-04-08 17:19 ` Cédric Le Goater
0 siblings, 0 replies; 6+ messages in thread
From: Cédric Le Goater @ 2015-04-08 17:19 UTC (permalink / raw)
To: lm-sensors
Cc: Stewart Smith, Cédric Le Goater, Jean Delvare, Neelesh Gupta,
skiboot, linuxppc-dev, Guenter Roeck
SGVsbG8gIQoKVGhlc2UgcGF0Y2hlcyBleHRlbmQgdGhlIGlibXBvd2VybnYgZHJpdmVyIHRvIHN1
cHBvcnQgdGhlIG5ldyBPUEFMIGZpcm13YXJlIAp3aGljaCBub3cgZXhwb3NlcyBpbiBpdHMgZGV2
aWNlIHRyZWUgdGhlIERpZ2l0YWwgVGVtcGVyYXR1cmUgU2Vuc29ycyBvZiAKYSBQOCBzeXN0ZW0u
CgpUaGV5IGFyZSBiYXNlZCBvbiBMaW51eCA0LjAuMC1yYzcgKyB0aGUgaW5pdGlhbCBjbGVhbnVw
IHNlcmllIDoKCiAgICAgaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL3BpcGVybWFpbC9sbS1z
ZW5zb3JzLzIwMTUtTWFyY2gvMDQzNjcwLmh0bWwKCmFuZCB3ZXJlIHRlc3RlZCBvbiBJQk0gUG93
ZXIgYW5kIE9wZW4gUG93ZXIgc3lzdGVtcyBydW5uaW5nIFRydXN0eS4KCkNoZWVycywKCkMuCgog
Q2hhbmdlcyBzaW5jZSB2NDoKCiAtIGZpeGVkIGNvbXBhcmlzb24gYmV0d2VlbiBzaWduZWQgYW5k
IHVuc2lnbmVkIGludGVnZXIgaW4gCiAgIGdldF9sb2dpY2FsX2NwdSgpCgogQ2hhbmdlcyBzaW5j
ZSB2MzoKCiAtIHJlbW92ZWQgZXJyb3IgbWVzc2FnZSBpbiBjYXNlIG9mIGFuIHVua25vd24gcGh5
c2ljYWwgY3B1IG51bWJlcgoKIENoYW5nZXMgc2luY2UgdjI6CgogLSBmaXggYm9ndXMgbG9naWNh
bCB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cKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4v
bGlzdGluZm8vbG0tc2Vuc29ycw=
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
@ 2015-04-08 17:19 ` Cédric Le Goater
0 siblings, 0 replies; 6+ messages in thread
From: Cédric Le Goater @ 2015-04-08 17:19 UTC (permalink / raw)
To: lm-sensors
Cc: Stewart Smith, Cédric Le Goater, Jean Delvare, Neelesh Gupta,
skiboot, linuxppc-dev, Guenter Roeck
Hello !
These patches extend the ibmpowernv driver to support the new OPAL firmware
which now exposes in its device tree the Digital Temperature Sensors of
a P8 system.
They are based on Linux 4.0.0-rc7 + the initial cleanup serie :
http://lists.lm-sensors.org/pipermail/lm-sensors/2015-March/043670.html
and were tested on IBM Power and Open Power systems running Trusty.
Cheers,
C.
Changes since v4:
- fixed comparison between signed and unsigned integer in
get_logical_cpu()
Changes since v3:
- removed error message in case of an unknown physical cpu number
Changes since v2:
- fix bogus logical cpu retrieval
- use 'threads_per_core' to print out cpu range
Changes since v1:
- check cpu validity before printing out the attribute label.
if invalid, use a "phy" prefix to distinguish a linux cpu
number from a physical cpu number.
- fixed alignment
- fixed comparison between signed and unsigned integer on opal_index
Cédric Le Goater (4):
hwmon: (ibmpowernv) add a helper routine create_hwmon_attr
hwmon: (ibmpowernv) add support for the new device tree
hwmon: (ibmpowernv) add a label attribute
hwmon: (ibmpowernv) pretty print labels
drivers/hwmon/ibmpowernv.c | 166 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 148 insertions(+), 18 deletions(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
2015-04-08 17:19 ` Cédric Le Goater
@ 2015-04-08 17:32 ` Guenter Roeck
-1 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2015-04-08 17:32 UTC (permalink / raw)
To: Cédric Le Goater
Cc: Stewart Smith, lm-sensors, Neelesh Gupta, skiboot, linuxppc-dev,
Jean Delvare
On Wed, Apr 08, 2015 at 07:19:46PM +0200, Cédric Le Goater wrote:
> Hello !
>
> These patches extend the ibmpowernv driver to support the new OPAL firmware
> which now exposes in its device tree the Digital Temperature Sensors of
> a P8 system.
>
> They are based on Linux 4.0.0-rc7 + the initial cleanup serie :
>
> http://lists.lm-sensors.org/pipermail/lm-sensors/2015-March/043670.html
>
> and were tested on IBM Power and Open Power systems running Trusty.
>
Series applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
@ 2015-04-08 17:32 ` Guenter Roeck
0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2015-04-08 17:32 UTC (permalink / raw)
To: Cédric Le Goater
Cc: Stewart Smith, lm-sensors, Neelesh Gupta, skiboot, linuxppc-dev,
Jean Delvare
On Wed, Apr 08, 2015 at 07:19:46PM +0200, Cédric Le Goater wrote:
> Hello !
>
> These patches extend the ibmpowernv driver to support the new OPAL firmware
> which now exposes in its device tree the Digital Temperature Sensors of
> a P8 system.
>
> They are based on Linux 4.0.0-rc7 + the initial cleanup serie :
>
> http://lists.lm-sensors.org/pipermail/lm-sensors/2015-March/043670.html
>
> and were tested on IBM Power and Open Power systems running Trusty.
>
Series applied to -next.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
2015-04-08 17:32 ` Guenter Roeck
@ 2015-04-08 17:33 ` Cedric Le Goater
-1 siblings, 0 replies; 6+ messages in thread
From: Cedric Le Goater @ 2015-04-08 17:33 UTC (permalink / raw)
To: Guenter Roeck
Cc: Stewart Smith, lm-sensors, Neelesh Gupta, skiboot, linuxppc-dev,
Jean Delvare
On 04/08/2015 07:32 PM, Guenter Roeck wrote:
> On Wed, Apr 08, 2015 at 07:19:46PM +0200, Cédric Le Goater wrote:
>> Hello !
>>
>> These patches extend the ibmpowernv driver to support the new OPAL firmware
>> which now exposes in its device tree the Digital Temperature Sensors of
>> a P8 system.
>>
>> They are based on Linux 4.0.0-rc7 + the initial cleanup serie :
>>
>> http://lists.lm-sensors.org/pipermail/lm-sensors/2015-March/043670.html
>>
>> and were tested on IBM Power and Open Power systems running Trusty.
>>
> Series applied to -next.
Thanks for the review !
Cheers
C.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support
@ 2015-04-08 17:33 ` Cedric Le Goater
0 siblings, 0 replies; 6+ messages in thread
From: Cedric Le Goater @ 2015-04-08 17:33 UTC (permalink / raw)
To: Guenter Roeck
Cc: Stewart Smith, lm-sensors, Neelesh Gupta, skiboot, linuxppc-dev,
Jean Delvare
On 04/08/2015 07:32 PM, Guenter Roeck wrote:
> On Wed, Apr 08, 2015 at 07:19:46PM +0200, Cédric Le Goater wrote:
>> Hello !
>>
>> These patches extend the ibmpowernv driver to support the new OPAL firmware
>> which now exposes in its device tree the Digital Temperature Sensors of
>> a P8 system.
>>
>> They are based on Linux 4.0.0-rc7 + the initial cleanup serie :
>>
>> http://lists.lm-sensors.org/pipermail/lm-sensors/2015-March/043670.html
>>
>> and were tested on IBM Power and Open Power systems running Trusty.
>>
> Series applied to -next.
Thanks for the review !
Cheers
C.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-04-08 17:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-08 17:19 [lm-sensors] [PATCH v5 0/4] hwmon: (ibmpowernv) add DTS support Cédric Le Goater
2015-04-08 17:19 ` Cédric Le Goater
2015-04-08 17:32 ` [lm-sensors] " Guenter Roeck
2015-04-08 17:32 ` Guenter Roeck
2015-04-08 17:33 ` [lm-sensors] " Cedric Le Goater
2015-04-08 17:33 ` Cedric Le Goater
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.