Thread (9 messages) 9 messages, 3 authors, 2021-08-31

Re: [PATCH] hwmon: (pmbus/ibm-cffps) Do not swap max_power_out

From: Guenter Roeck <linux@roeck-us.net>
Date: 2021-08-30 15:34:59
Also in: lkml, openbmc

On 8/30/21 6:50 AM, Eddie James wrote:
On Sat, 2021-08-28 at 08:52 -0700, Guenter Roeck wrote:
quoted
On Fri, Aug 27, 2021 at 11:04:33PM +0000, Brandon Wyman wrote:
quoted
The bytes for max_power_out from the ibm-cffps devices do not need
to be
swapped.

Signed-off-by: Brandon Wyman <redacted>
Eddie, can you confirm this ?
This can't be true for all the power supplies supported by this driver,
no. I think we need to check the version first. Brandon, I tested this
on witherspoon (which is psu version 1) and get 3148 watts. If it's not
swapped, that would be 19468 watts...
Hmm. Eddie, can you also have a look at commit 9fed8fa99334 ("hwmon:
(pmbus/ibm-cffps) Fix write bits for LED control") ?
We need to make sure that it doesn't mess up some versions of this PS.

Thanks,
Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help