Skip to content
Permalink
Wang-Qing/watc…
Switch branches/tags

Commits on Apr 21, 2021

  1. watchdog: mtk: support dual mode when the bark irq is available

    Support using irq handling wdt bark first instead of directly resetting.
    
    When the watchdog timer expires in dual mode, an interrupt will be
    triggered first, then the timing restarts. The reset signal will be
    initiated when the timer expires again.
    
    The dual mode is disabled by default.
    
    V2:
    - panic() by default if WATCHDOG_PRETIMEOUT_GOV is not enabled.
    
    V3:
    - Modify the pretimeout behavior, manually reset after the pretimeout
    - is processed and wait until timeout.
    
    V4:
    - Remove pretimeout related processing.
    - Add dual mode control separately.
    
    V5:
    - Fix some formatting and printing problems.
    
    Signed-off-by: Wang Qing <wangqing@vivo.com>
    Wang Qing authored and intel-lab-lkp committed Apr 21, 2021

Commits on Apr 20, 2021

  1. hwmon: Remove amd_energy driver

    Commit 60268b0 ("hwmon: (amd_energy) modify the visibility of
    the counters") restricted visibility of AMD energy counters to work
    around a side-channel attack using energy data to determine which
    instructions are executed. The attack is described in 'PLATYPUS:
    Software-based Power Side-Channel Attacks on x86'. It relies on quick
    and accurate energy readings.
    
    This change made the counters provided by the amd_energy driver
    effectively unusable for non-provileged users. However, unprivileged
    read access is the whole point of hardware monitoring attributes.
    
    An attempt to remedy the situation by limiting and randomizing access
    to chip registers was rejected by AMD. Since the driver is for all
    practical purposes unusable, remove it.
    
    Cc: Naveen Krishna Chatradhi <nchatrad@amd.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  2. hwmon: Clarify scope of attribute access

    Hardware monitoring sysfs attributes are used and displayed by unrestricted
    userspace applications. Standard attributes therefore have to be world
    readable, since otherwise those userspace applications would either have
    to run as super-user or display an error. None of those makes sense.
    Clarify the expected scope of attribute access in the ABI document.
    
    Cc: Naveen Krishna Chatradhi <nchatrad@amd.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  3. hwmon: (pmbus) Introduce PMBUS symbol namespace

    Exported pmbus symbols are only supposed to be used from PMBus code.
    Introduce PMBUS symbol namespace to prevent misuse from other code.
    
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  4. hwmon: (pmbus) Add pmbus driver for MAX15301

    Add pmbus driver support for Maxim MAX15301 InTune Automatically
    Compensated Digital PoL Controller with Driver and PMBus Telemetry
    
    Even though the specification does not specifically mention it,
    extensive empirical testing has revealed that auto-detection of
    limit-registers will fail in a random fashion unless the delay
    parameter is set to above about 80us. The default delay is set
    to 100us to include some safety margin.
    
    This patch is tested on a Flex BMR461 converter module.
    
    Signed-off-by: Erik Rosen <erik.rosen@metormote.com>
    Link: https://lore.kernel.org/r/20210419101251.24840-1-erik.rosen@metormote.com
    [groeck: Added rationale for delay to driver header]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    metormote authored and groeck committed Apr 20, 2021
  5. hwmon: (sch5627) Remove unnecessary error path

    Calling remove() on error whould have only unregistered
    the watchdog, and since a failure in registering him
    is considered non-fatal and happens last, remove the
    error path and return the error codes directly.
    
    Signed-off-by: Armin Wolf <W_Armin@gmx.de>
    Link: https://lore.kernel.org/r/20210417210920.15496-3-W_Armin@gmx.de
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wer-Wolf authored and groeck committed Apr 20, 2021
  6. hwmon: (sch5627) Use devres function

    Use devm_hwmon_device_register_with_info() and remove hwmon_dev
    from sch5627_data struct as it is not needed anymore.
    
    Signed-off-by: Armin Wolf <W_Armin@gmx.de>
    Link: https://lore.kernel.org/r/20210417210920.15496-2-W_Armin@gmx.de
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wer-Wolf authored and groeck committed Apr 20, 2021
  7. hwmon: (pmbus/pxe1610) don't bail out when not all pages are active

    Certain VRs might be configured to use only the first output channel and
    so the mode for the second will be 0. Handle this gracefully.
    
    Fixes: b9fa0a3 ("hwmon: (pmbus/core) Add support for vid mode detection per page bases")
    Signed-off-by: Paul Fertser <fercerpav@gmail.com>
    Link: https://lore.kernel.org/r/20210416102926.13614-1-fercerpav@gmail.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    paulfertser authored and groeck committed Apr 20, 2021
  8. hwmon: Add driver for fsp-3y PSUs and PDUs

    This patch adds support for these devices:
    - YH-5151E - the PDU
    - YM-2151E - the PSU
    
    The device datasheet says that the devices support PMBus 1.2, but in my
    testing, a lot of the commands aren't supported and if they are, they
    sometimes behave strangely or inconsistently. For example, writes to the
    PAGE command requires using PEC, otherwise the write won't work and the
    page won't switch, even though, the standard says that PEC is optional.
    On the other hand, writes to SMBALERT don't require PEC. Because of
    this, the driver is mostly reverse engineered with the help of a tool
    called pmbus_peek written by David Brownell (and later adopted by my
    colleague Jan Kundrát).
    
    The device also has some sort of a timing issue when switching pages,
    which is explained further in the code.
    
    Because of this, the driver support is limited. It exposes only the
    values that have been tested to work correctly.
    
    Signed-off-by: Václav Kubernát <kubernat@cesnet.cz>
    Link: https://lore.kernel.org/r/20210414080019.3530794-1-kubernat@cesnet.cz
    [groeck: Fixed up "missing braces around initializer" from 0-day]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    syyyr authored and groeck committed Apr 20, 2021
  9. hwmon: (intel-m10-bmc-hwmon) add sensor support of Intel D5005 card

    Like the Intel N3000 card, the Intel D5005 has a MAX10 based
    BMC.  This commit adds support for the D5005 sensors that are
    monitored by the MAX10 BMC.
    
    Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
    Signed-off-by: Russ Weight <russell.h.weight@linux.intel.com>
    Acked-by: Lee Jones <lee.jones@linaro.org>
    Reviewed-by: Tom Rix <trix@redhat.com>
    Link: https://lore.kernel.org/r/20210413225835.459662-3-matthew.gerlach@linux.intel.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    matthew-gerlach authored and groeck committed Apr 20, 2021
  10. hwmon: (sch5627) Split sch5627_update_device()

    An error in sch5627_update_device() could cause sch5627_read()
    to fail even if the error did not affect the target sensor type.
    Split sch5627_update_device() to prevent that.
    
    Tested on a Fujitsu Esprimo P720.
    
    Signed-off-by: Armin Wolf <W_Armin@gmx.de>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Link: https://lore.kernel.org/r/20210411164225.11967-3-W_Armin@gmx.de
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wer-Wolf authored and groeck committed Apr 20, 2021
  11. hwmon: (sch5627) Convert to hwmon_device_register_with_info()

    hwmon_device_register() is deprecated.
    Convert driver to use hwmon_device_register_with_info() and
    remove sysfs attributes which are now being handled by the
    hwmon subsystem.
    
    Channel handling was inspired by corsair-cpro.
    
    Tested on a Fujitsu Esprimo P720.
    
    Signed-off-by: Armin Wolf <W_Armin@gmx.de>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    Link: https://lore.kernel.org/r/20210411164225.11967-2-W_Armin@gmx.de
    [groeck: Replaced 0 with NULL]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wer-Wolf authored and groeck committed Apr 20, 2021
  12. hwmon: (nct6683) remove useless function

    Fix the following clang warning:
    
    drivers/hwmon/nct6683.c:491:19: warning: unused function 'in_to_reg'
    [-Wunused-function].
    
    Reported-by: Abaci Robot <abaci@linux.alibaba.com>
    Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
    Link: https://lore.kernel.org/r/1618293770-55307-1-git-send-email-jiapeng.chong@linux.alibaba.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Jiapeng Chong authored and groeck committed Apr 20, 2021
  13. hwmon: (dell-smm) Add Dell Latitude E7440 to fan control whitelist

    Allow manual PWM control on Dell Latitude E7440.
    
    Reviewed-by: Pali Rohár <pali@kernel.org>
    Link: https://lore.kernel.org/r/20210411095741.zmllsuc7pevdipvy@icloud.com
    Signed-off-by: Sebastian Oechsle <setboolean@icloud.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Sebastian Oechsle authored and groeck committed Apr 20, 2021
  14. MAINTAINERS: Add keyword pattern for hwmon registration functions

    A pattern match for hardware monitoring registration functions ensures
    that hardware monitoring maintainers are copied whenever hardware
    monitoring drivers are added to the tree.
    
    Reviewed-by: Jean Delvare <jdelvare@suse.de>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  15. hwmon: (mlxreg-fan) Add support for fan drawers capability and presen…

    …t registers
    
    Add support for fan drawer's capability and present registers in order
    to set mapping between the fan drawers and tachometers. Some systems
    are equipped with fan drawers with one tachometer inside. Others with
    fan drawers with several tachometers inside. Using present register
    along with tachometer-to-drawer mapping allows to skip reading missed
    tachometers and expose input for them as zero, instead of exposing
    fault code returned by hardware.
    
    Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
    Link: https://lore.kernel.org/r/20210322172237.2213584-1-vadimp@nvidia.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    vadimp-nvidia authored and groeck committed Apr 20, 2021
  16. hwmon: (pmbus/tps53679) Add support for TI TPS53676

    Add support for TI TPS53676 controller to the tps53679 pmbus driver
    
    The driver uses the USER_DATA_03 register to figure out how many phases
    are enabled and to which channel they are assigned, and sets the number
    of pages and phases accordingly.
    
    Signed-off-by: Erik Rosen <erik.rosen@metormote.com>
    Link: https://lore.kernel.org/r/20210322193734.75127-3-erik.rosen@metormote.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    metormote authored and groeck committed Apr 20, 2021
  17. dt-bindings: Add trivial device entry for TPS53676

    Add trivial device entry for TPS53676
    
    Signed-off-by: Erik Rosen <erik.rosen@metormote.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Acked-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210318212441.69050-2-erik.rosen@metormote.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    metormote authored and groeck committed Apr 20, 2021
  18. hwmon: (ftsteutates) Rudimentary typo fixes

    s/Temprature/Temperature/
    s/revsion/revision/
    
    Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
    Acked-by: Randy Dunlap <rdunlap@infradead.org>
    Link: https://lore.kernel.org/r/20210323043438.1321903-1-unixbhaskar@gmail.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    unixbhaskar authored and groeck committed Apr 20, 2021
  19. hwmon: (pmbus) Add driver for BluTek BPA-RS600

    The BPA-RS600 is a compact 600W AC to DC removable power supply module.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20210317040231.21490-3-chris.packham@alliedtelesis.co.nz
    [groeck: Added bpa-rs600 to index.rst]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    cpackham-atlnz authored and groeck committed Apr 20, 2021
  20. dt-bindings: Add vendor prefix and trivial device for BluTek BPA-RS600

    Add vendor prefix "blutek" for BluTek Power.
    Add trivial device entry for BPA-RS600.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210317040231.21490-1-chris.packham@alliedtelesis.co.nz
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    cpackham-atlnz authored and groeck committed Apr 20, 2021
  21. hwmon: replace snprintf in show functions with sysfs_emit

    coccicheck complains about the use of snprintf() in sysfs
    show functions.
    
    drivers/hwmon/ina3221.c:701:8-16: WARNING: use scnprintf or sprintf
    
    This results in a large number of patch submissions. Fix it all in
    one go using the following coccinelle rules. Use sysfs_emit instead
    of scnprintf or sprintf since that makes more sense.
    
    @Depends on patch@
    identifier show, dev, attr, buf;
    @@
    
    ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
    {
    	<...
      return
    -		snprintf(buf, \( PAGE_SIZE \| PAGE_SIZE - 1 \),
    +		sysfs_emit(buf,
    		...);
    	...>
    }
    
    @Depends on patch@
    identifier show, dev, attr, buf, rc;
    @@
    
    ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
    {
    	<...
      rc =
    -		snprintf(buf, \( PAGE_SIZE \| PAGE_SIZE - 1 \),
    +		sysfs_emit(buf,
    		...);
    	...>
    }
    
    While at it, remove unnecessary braces and as well as unnecessary
    else after return statements to address checkpatch warnings in the
    resulting patch.
    
    Cc: Zihao Tang <tangzihao1@hisilicon.com>
    Cc: Jay Fang <f.fangjian@huawei.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  22. hwmon: (pmbus) Replace - with _ in device names before registration

    The hwmon sysfs ABI requires that the `name` property doesn't include
    any dashes. But when the pmbus code picks the name up from the device
    tree it quite often does. Replace '-' with '_' before registering the
    device.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    Link: https://lore.kernel.org/r/20210317040231.21490-2-chris.packham@alliedtelesis.co.nz
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    cpackham-atlnz authored and groeck committed Apr 20, 2021
  23. hwmon: add driver for NZXT Kraken X42/X52/X62/X72

    These are "all-in-one" CPU liquid coolers that can be monitored and
    controlled through a proprietary USB HID protocol.
    
    While the models have differently sized radiators and come with varying
    numbers of fans, they are all indistinguishable at the software level.
    
    The driver exposes fan/pump speeds and coolant temperature through the
    standard hwmon sysfs interface.
    
    Fan and pump control, while supported by the devices, are not currently
    exposed.  The firmware accepts up to 61 trip points per channel
    (fan/pump), but the same set of trip temperatures has to be maintained
    for both; with pwmX_auto_point_Y_temp attributes, users would need to
    maintain this invariant themselves.
    
    Instead, fan and pump control, as well as LED control (which the device
    also supports for 9 addressable RGB LEDs on the CPU water block) are
    left for existing and already mature user-space tools, which can still
    be used alongside the driver, thanks to hidraw.  A link to one, which I
    also maintain, is provided in the documentation.
    
    The implementation is based on USB traffic analysis.  It has been
    runtime tested on x86_64, both as a built-in driver and as a module.
    
    Signed-off-by: Jonas Malaco <jonas@protocubo.io>
    Link: https://lore.kernel.org/r/20210319045544.416138-1-jonas@protocubo.io
    [groeck: Removed unnecessary spinlock.h include]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    jonasmalacofilho authored and groeck committed Apr 20, 2021
  24. hwmon: (ina2xx) Convert sysfs sprintf/snprintf family to sysfs_emit

    Fix the following coccicheck warning:
    
    drivers/hwmon/ina2xx.c:313:8-16: WARNING: use scnprintf or sprintf
    drivers/hwmon/ina2xx.c:453:8-16: WARNING: use scnprintf or sprintf
    drivers/hwmon/ina2xx.c:484:8-16: WARNING: use scnprintf or sprintf
    drivers/hwmon/ina2xx.c:540:8-16: WARNING: use scnprintf or sprintf
    
    Signed-off-by: Zihao Tang <tangzihao1@hisilicon.com>
    Signed-off-by: Jay Fang <f.fangjian@huawei.com>
    Link: https://lore.kernel.org/r/1615892457-35501-1-git-send-email-f.fangjian@huawei.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Zihao Tang authored and groeck committed Apr 20, 2021
  25. hwmon: Use kobj_to_dev()

    coccinelle complains about
    
    WARNING opportunity for kobj_to_dev()
    
    in several files, resulting in one-by-one patch submissions.
    Handle all remaining instances in one go.
    
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    groeck committed Apr 20, 2021
  26. hwmon: (ds1621) Use kobj_to_dev()

    fixed the following coccicheck:
    ./drivers/hwmon/ds1621.c:329:60-61: WARNING opportunity
    for kobj_to_dev().
    
    Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
    Link: https://lore.kernel.org/r/1616032504-59817-1-git-send-email-tiantao6@hisilicon.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Tian Tao authored and groeck committed Apr 20, 2021
  27. hwmon: (ftsteutates) Fix spelling typo

    Change 'revsion' to 'revision'.
    
    Signed-off-by: zuoqilin <zuoqilin@yulong.com>
    Link: https://lore.kernel.org/r/20210318124637.1331-1-zuoqilin1@163.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    zuoqilin authored and groeck committed Apr 20, 2021
  28. hwmon: (corsair-psu) add support for critical values

    Adds support for reading the critical values of the temperature sensors
    and the rail sensors (voltage and current) once and caches them. Updates
    the naming of the constants following a more clear scheme. Also updates
    the documentation and fixes some typos. Updates is_visible and ops_read
    functions to be more readable.
    
    The new sensors output of a Corsair HX850i will look like this:
    corsairpsu-hid-3-1
    Adapter: HID adapter
    v_in:        230.00 V
    v_out +12v:   12.14 V  (crit min =  +8.41 V, crit max = +15.59 V)
    v_out +5v:     5.03 V  (crit min =  +3.50 V, crit max =  +6.50 V)
    v_out +3.3v:   3.30 V  (crit min =  +2.31 V, crit max =  +4.30 V)
    psu fan:        0 RPM
    vrm temp:     +46.2°C  (crit = +70.0°C)
    case temp:    +39.8°C  (crit = +70.0°C)
    power total: 152.00 W
    power +12v:  108.00 W
    power +5v:    41.00 W
    power +3.3v:   5.00 W
    curr +12v:     9.00 A  (crit max = +85.00 A)
    curr +5v:      8.31 A  (crit max = +40.00 A)
    curr +3.3v:    1.62 A  (crit max = +40.00 A)
    
    Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
    Link: https://lore.kernel.org/r/YFNg6vGk3sQmyqgB@monster.powergraphx.local
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wilken Gottwalt authored and groeck committed Apr 20, 2021
  29. hwmon: (pmbus/stpddc60) Add ST STPDDC60 pmbus driver

    Add hardware monitoring support for ST STPDDC60 Unversal Digital
    Multicell Controller.
    
    Signed-off-by: Erik Rosen <erik.rosen@metormote.com>
    Link: https://lore.kernel.org/r/20210218115249.28513-3-erik.rosen@metormote.com
    [groeck: Fixed whitespace error in Makefile]
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    metormote authored and groeck committed Apr 20, 2021
  30. hwmon: (pmbus) Add pmbus_set_update() function to set update flag

    For the STPDDC60 chip, the vout alarm-limits are represented as an offset
    relative to the commanded output voltage. This means that the limits are
    dynamic and must not be cached by the pmbus driver. This patch adds a
    pmbus_set_sensor() function to pmbus_core to be able to set the update flag
    on selected sensors after auto-detection of limit attributes.
    
    Signed-off-by: Erik Rosen <erik.rosen@metormote.com>
    Link: https://lore.kernel.org/r/20210218115249.28513-2-erik.rosen@metormote.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    metormote authored and groeck committed Apr 20, 2021
  31. hwmon: (nct6683) Support NCT6686D

    Add support for NCT6686D chip used in the Lenovo P620.
    
    Signed-off-by: Jiqi Li <lijq9@lenovo.com>
    Reviewed-by: Mark Pearson <markpearson@lenovo.com>
    Link: https://lore.kernel.org/r/20210304104421.1912934-1-lijq9@lenovo.com
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    JiqiLee authored and groeck committed Apr 20, 2021
  32. hwmon: (pmbus) Add driver for Infineon IR36021

    The IR36021 is a dual‐loop digital multi‐phase buck controller.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    Link: https://lore.kernel.org/r/20210301035954.16713-3-chris.packham@alliedtelesis.co.nz
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    cpackham-atlnz authored and groeck committed Apr 20, 2021
  33. dt-bindings: trivial-devices: Add infineon,ir36021

    Add infineon,ir36021 to trivial-devices.yaml.
    
    Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
    Acked-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210301035954.16713-2-chris.packham@alliedtelesis.co.nz
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    cpackham-atlnz authored and groeck committed Apr 20, 2021
  34. hwmon: (corsair-psu) Update calculation of LINEAR11 values

    Changes the way how LINEAR11 values are calculated. The new method
    increases the precision of 2-3 digits.
    
    old method:
    	corsairpsu-hid-3-1
    	Adapter: HID adapter
    	v_in:        230.00 V
    	v_out +12v:   12.00 V
    	v_out +5v:     5.00 V
    	v_out +3.3v:   3.00 V
    	psu fan:        0 RPM
    	vrm temp:     +44.0°C
    	case temp:    +37.0°C
    	power total: 152.00 W
    	power +12v:  112.00 W
    	power +5v:    38.00 W
    	power +3.3v:   5.00 W
    	curr in:          N/A
    	curr +12v:     9.00 A
    	curr +5v:      7.00 A
    	curr +3.3v:  1000.00 mA
    
    new method:
    	corsairpsu-hid-3-1
    	Adapter: HID adapter
    	v_in:        230.00 V
    	v_out +12v:   12.16 V
    	v_out +5v:     5.01 V
    	v_out +3.3v:   3.30 V
    	psu fan:        0 RPM
    	vrm temp:     +44.5°C
    	case temp:    +37.8°C
    	power total: 148.00 W
    	power +12v:  108.00 W
    	power +5v:    37.00 W
    	power +3.3v:   4.50 W
    	curr in:          N/A
    	curr +12v:     9.25 A
    	curr +5v:      7.50 A
    	curr +3.3v:    1.50 A
    
    Co-developed-by: Jack Doan <me@jackdoan.com>
    Signed-off-by: Jack Doan <me@jackdoan.com>
    Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
    Link: https://lore.kernel.org/r/YDoSMqFbgoTXyoru@monster.powergraphx.local
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Wilken Gottwalt authored and groeck committed Apr 20, 2021
Older