1. 02 6月, 2018 2 次提交
  2. 01 6月, 2018 1 次提交
  3. 21 5月, 2018 6 次提交
  4. 14 5月, 2018 1 次提交
    • G
      hwmon: (k10temp) Use API function to access System Management Network · 3b031622
      Guenter Roeck 提交于
      The SMN (System Management Network) on Family 17h AMD CPUs is also accessed
      from other drivers, specifically EDAC. Accessing it directly is racy.
      On top of that, accessing the SMN through root bridge 00:00 is wrong on
      multi-die CPUs and may result in reading the temperature from the wrong
      die. Use available API functions to fix the problem.
      
      For this to work, add dependency on AMD_NB. Also change the Raven Ridge
      PCI device ID to point to Data Fabric Function 3, since this ID is used
      by the API functions to find the CPU node.
      
      Cc: stable@vger.kernel.org # v4.16+
      Tested-by: NGabriel Craciunescu <nix.or.die@gmail.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      3b031622
  5. 30 4月, 2018 1 次提交
  6. 25 4月, 2018 2 次提交
  7. 23 4月, 2018 2 次提交
  8. 16 4月, 2018 1 次提交
  9. 30 3月, 2018 1 次提交
  10. 27 3月, 2018 1 次提交
    • G
      hwmon: (nct6775) Fix writing pwmX_mode · 415eb2a1
      Guenter Roeck 提交于
      pwmX_mode is defined in the ABI as 0=DC mode, 1=pwm mode. The chip
      register bit is set to 1 for DC mode. This got mixed up, and writing
      1 into pwmX_mode resulted in DC mode enabled. Fix it up by using
      the ABI definition throughout the driver for consistency.
      
      Fixes: 77eb5b37 ("hwmon: (nct6775) Add support for pwm, pwm_mode, ... ")
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      415eb2a1
  11. 23 3月, 2018 3 次提交
  12. 20 3月, 2018 1 次提交
  13. 17 3月, 2018 2 次提交
  14. 11 3月, 2018 8 次提交
  15. 01 3月, 2018 1 次提交
  16. 15 2月, 2018 1 次提交
  17. 13 2月, 2018 1 次提交
    • G
      hwmon: (k10temp) Only apply temperature offset if result is positive · aef17ca1
      Guenter Roeck 提交于
      A user reports a really bad temperature on Ryzen 1950X.
      
      k10temp-pci-00cb
      Adapter: PCI adapter
      temp1: +4294948.3°C (high = +70.0°C)
      
      This will happen if the temperature reported by the chip is lower than
      the offset temperature. This has been seen in the field if "Sense MI Skew"
      and/or "Sense MI Offset" BIOS parameters were set to unexpected values.
      Let's report a temperature of 0 degrees C in that case.
      
      Fixes: 1b50b776 ("hwmon: (k10temp) Add support for temperature offsets")
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      aef17ca1
  18. 28 1月, 2018 3 次提交
  19. 19 1月, 2018 1 次提交
  20. 18 1月, 2018 1 次提交