Announcement

Collapse
No announcement yet.

AMD Zen Temperature Monitoring Queued For Linux 4.15

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMD Zen Temperature Monitoring Queued For Linux 4.15

    Phoronix: AMD Zen Temperature Monitoring Queued For Linux 4.15

    We've been expecting it to happen for weeks while indeed the hwmon pull request was indeed sent in today exposing AMD Ryzen / Threadripper / EPYC temperature reporting on Linux...

    http://www.phoronix.com/scan.php?pag...ure-Hwmon-4.15

  • #2
    Add support for handling temperature offset values for various AMD CPUs, similar to the code used in the coretemp driver for Intel CPUs. This is primarily for Ryzen CPUs (which has documented temperature offsets), but the code is kept generic to simplify adding additional CPUs.
    -- https://git.kernel.org/pub/scm/linux...c275d5c18d629d

    So I guess this means Ryzen-based CPU's show an actual temperature that makes sense to humans instead of an arbitrary temp/fan control value? If so, that's nice.

    Comment


    • #3
      Let's hope that this will make it a quick affair to add support for Raven Ridge and the inevitable Zen+ or Zen2.

      Comment


      • #4
        Is there a BKDG for Zen yet?

        Comment


        • #5
          That will be nice to have!
          I was a bit disappointed that this and the XFS update and the DAL/DC code were all queued up for 4.15, 4.14 being the next LTS and all.
          I imagine it would have made life a lot easier for distro developers/maintainers to have an LTS kernel with Zen and Vega support, bells and whistles included.

          I will be curious what temperatures this will report, my motherboard's values seem a bit funky to me, running an overclocked R5 1600X with a Dark Rock TF.

          Comment


          • #6
            Originally posted by DanL View Post

            -- https://git.kernel.org/pub/scm/linux...c275d5c18d629d

            So I guess this means Ryzen-based CPU's show an actual temperature that makes sense to humans instead of an arbitrary temp/fan control value? If so, that's nice.
            Applying 3 patches makes Xsensors to show temperature in Celsius. Change to the linux source directory, copy 3 patches to it and apply 3 patches in order: patch -p1 < 1.patch
            Patches are here:https://lkml.org/lkml/2017/9/6/682
            https://raw.githubusercontent.com/gr...v4.13%2B.patch

            Code:
            xfce@ryzen5pc:~$ screenfetch
                     _,met$$$$$gg.           xfce@ryzen5pc
                  ,g$$$$$$$$$$$$$$$P.        OS: Debian testing buster
                ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.14.0
               ,$$P'              `$$$.      Uptime: 10m
              ',$$P       ,ggs.     `$$b:    Packages: 2327
              `d$$'     ,$P"'   .    $$$     Shell: bash 4.4.12
               $$P      d$'     ,    $$P     Resolution: 1920x1080
               $$:      $$.   -    ,d$$'     DE: XFCE
               $$\;      Y$b._   _,d$P'      WM: Xfwm4
               Y$$.    `.`"Y$$$$P"'          WM Theme: Default
               `$$b      "-.__               GTK Theme: Xfce [GTK2]
                `Y$$                         Icon Theme: Tango
                 `Y$$.                       Font: Sans 10
                   `$$b.                     CPU: AMD Ryzen 5 1600 Six-Core @ 12x 3.194GHz [36.2°C]
                     `Y$$b.                  GPU: AMD POLARIS11 (DRM 3.19.0 / 4.14.0, LLVM 6.0.0)
                        `"Y$b._              RAM: 312MiB / 7989MiB
                            `""""
            Last edited by debianxfce; 11-13-2017, 04:37 AM.

            Comment


            • #7
              Originally posted by OneBitUser View Post
              That will be nice to have!
              I was a bit disappointed that this and the XFS update and the DAL/DC code were all queued up for 4.15, 4.14 being the next LTS and all.
              I imagine it would have made life a lot easier for distro developers/maintainers to have an LTS kernel with Zen and Vega support, bells and whistles included.

              I will be curious what temperatures this will report, my motherboard's values seem a bit funky to me, running an overclocked R5 1600X with a Dark Rock TF.
              it seems no-one wants to use the 4.14 as actual LTS while canonical being the first to say that 4.15 is the next lts for 18.04 if I'm not mistaken :-)

              Comment


              • #8
                It makes me a bit sad that this is news after more than half a year after Ryzen was released.

                Comment


                • #9
                  Originally posted by rrohbeck View Post
                  Is there a BKDG for Zen yet?
                  Only if you sign NDA...
                  I really don't know what is so secret in this documentation that it can't be published for all as it was for all other AMD CPUs.

                  Comment


                  • #10
                    Originally posted by DanL View Post

                    -- https://git.kernel.org/pub/scm/linux...c275d5c18d629d

                    So I guess this means Ryzen-based CPU's show an actual temperature that makes sense to humans instead of an arbitrary temp/fan control value? If so, that's nice.
                    My motherboard BIOS does this offset for me. I wonder if the offset will now be applied twice due to this patch?

                    Comment

                    Working...
                    X