1. 13 9月, 2021 1 次提交
  2. 28 8月, 2021 4 次提交
  3. 18 8月, 2021 1 次提交
  4. 28 1月, 2021 1 次提交
  5. 23 12月, 2020 1 次提交
    • G
      hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs · 0a4e668b
      Guenter Roeck 提交于
      Voltages and current are reported by Zen CPUs. However, the means
      to do so is undocumented, changes from CPU to CPU, and the raw data
      is not calibrated. Calibration information is available, but again
      not documented. This results in less than perfect user experience,
      up to concerns that loading the driver might possibly damage
      the hardware (by reporting out-of range voltages). Effectively
      support for reporting voltages and current is not maintainable.
      Drop it.
      
      Cc: Artem S. Tashkinov <aros@gmx.com>
      Cc: Wei Huang <wei.huang2@amd.com>
      Tested-by: NWei Huang <wei.huang2@amd.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      0a4e668b
  6. 24 9月, 2020 4 次提交
  7. 23 5月, 2020 1 次提交
  8. 13 4月, 2020 1 次提交
  9. 09 3月, 2020 2 次提交
    • G
      hwmon: (k10temp) Reorganize and simplify temperature support detection · 60465245
      Guenter Roeck 提交于
      Use a bit map to describe if temperature channels are supported,
      and use it for all temperature channels. Use a separate flag,
      independent of Tdie support, to indicate if the system is running
      on a Ryzen CPU.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      60465245
    • G
      hwmon: (k10temp) Swap Tdie and Tctl on Family 17h CPUs · b02c6857
      Guenter Roeck 提交于
      Traditionally, the temperature displayed by k10temp was Tctl.
      On Family 17h CPUs, Tdie was displayed instead. To reduce confusion,
      Tctl was added later as second temperature. This resulted in Tdie
      being reported as temp1_input, and Tctl as temp2_input. This is
      different to non-Ryzen CPUs, where Tctl is displayed as temp1_input.
      Swap temp1_input and temp2_input on Family 17h CPUs, such that Tctl
      is now reported as temp1_input and Tdie is reported as temp2_input,
      to align with other CPUs, streamline the code, and make it less
      confusing. Coincidentally, this also aligns the code with its
      documentation, which states that Tdie is reported as temp2_input.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      b02c6857
  10. 24 1月, 2020 7 次提交
  11. 04 9月, 2019 1 次提交
    • M
      hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs · 12163cfb
      Marcel Bocu 提交于
      It would seem like model 70h is behaving in the same way as model 30h,
      so let's just add the new F3 PCI ID to the list of compatible devices.
      
      Unlike previous Ryzen/Threadripper, Ryzen gen 3 processors do not need
      temperature offsets anymore. This has been reported in the press and
      verified on my Ryzen 3700X by checking that the idle temperature
      reported by k10temp is matching the temperature reported by the
      firmware.
      
      Vicki Pfau sent an identical patch after I checked that no-one had
      written this patch. I would have been happy about dropping my patch but
      unlike for his patch series, I had already Cc:ed the x86 people and
      they already reviewed the changes. Since Vicki has not answered to
      any email after his initial series, let's assume she is on vacation
      and let's avoid duplication of reviews from the maintainers and merge
      my series. To acknowledge Vicki's anteriority, I added her S-o-b to
      the patch.
      
      v2, suggested by Guenter Roeck and Brian Woods:
        - rename from 71h to 70h
      Signed-off-by: NVicki Pfau <vi@endrift.com>
      Signed-off-by: NMarcel Bocu <marcel.p.bocu@gmail.com>
      Tested-by: NMarcel Bocu <marcel.p.bocu@gmail.com>
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: x86@kernel.org
      Cc: "Woods, Brian" <Brian.Woods@amd.com>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Cc: Jean Delvare <jdelvare@suse.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: linux-hwmon@vger.kernel.org
      Link: https://lore.kernel.org/r/20190722174653.2391-1-marcel.p.bocu@gmail.comSigned-off-by: NGuenter Roeck <linux@roeck-us.net>
      12163cfb
  12. 24 5月, 2019 1 次提交
  13. 17 12月, 2018 2 次提交
  14. 08 11月, 2018 2 次提交
  15. 11 10月, 2018 1 次提交
  16. 10 8月, 2018 1 次提交
    • G
      hwmon: k10temp: Support Threadripper 2920X, 2970WX; simplify offset table · cd6a2064
      Guenter Roeck 提交于
      All announced Threadripper 29xx models have a temperature offset of
      27 degrees C. Simplify temperature offset table to match all 29xx
      Threadripper models with a single entry. Also simplify the table to match
      all 19xx Threadripper models with a single entry. This effectively drops
      entries for Threadripper 1910/1920/1950 which never saw the light of day.
      
      Cc: Michael Larabel <Michael@phoronix.com>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      cd6a2064
  17. 08 8月, 2018 1 次提交
  18. 01 6月, 2018 1 次提交
  19. 21 5月, 2018 2 次提交
  20. 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
  21. 30 4月, 2018 1 次提交
  22. 25 4月, 2018 2 次提交
  23. 15 2月, 2018 1 次提交