<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/k10temp.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-12-29T03:48:25Z</updated>
<entry>
<title>Merge tag 'hwmon-for-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging</title>
<updated>2018-12-29T03:48:25Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2018-12-29T03:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8754040378e4ff70b3bb96b1dabac62da5dfb870'/>
<id>urn:sha1:8754040378e4ff70b3bb96b1dabac62da5dfb870</id>
<content type='text'>
Pull hwmon updates from Guenter Roeck:
 "The big change in this series is for the most part automatic:
  Introducing SENSOR[_DEVICE]_ATTR_{RO,RW,WO} variants and conversion of
  various drivers to use it. This is similar to DEVICE_ATTR variants.

  Other than that, we have

   - Some conversions of S_&lt;PERMS&gt; with octal values, also automated

   - Added support for Hygon Dhyana CPUs to k10temp driver

   - Added support for STLM75 to lm75 driver

   - B57891S0103 to ntc_thermistor

   - Added pm-runtime support to ina3221 driver

   - Support for PowerPC On-Chip Controller (OCC)

   - Various minor bug fices and improvements"

* tag 'hwmon-for-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (80 commits)
  hwmon: (lm80) fix a missing check of bus read in lm80 probe
  hwmon: (lm80) fix a missing check of the status of SMBus read
  hwmon: (asus_atk0110) Fix debugfs_simple_attr.cocci warnings
  hwmon: (ftsteutates) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (fschmd) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (emc6w201) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (emc2103) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (emc1403) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (ds620) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (ds1621) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (dell-smm-hwmon) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (da9055-hwmon) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (da9052-hwmon) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (coretemp) Replace S_&lt;PERMS&gt; with octal values
  hwmon: (asus_atk0110) Replace S_&lt;PERMS&gt; with octal values
  hwmon: (aspeed-pwm-tacho) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (applesmc) Replace S_&lt;PERMS&gt; with octal values
  hwmon: (amc6821) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (adt7x10) Use permission specific SENSOR[_DEVICE]_ATTR variants
  hwmon: (adt7475) Use permission specific SENSOR[_DEVICE]_ATTR variants
  ...
</content>
</entry>
<entry>
<title>hwmon: (k10temp) Add Hygon Dhyana support</title>
<updated>2018-12-16T23:13:30Z</updated>
<author>
<name>Pu Wen</name>
</author>
<published>2018-12-08T06:33:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d93217d84c6c7ef74bfeb606a1fb1ee28720646b'/>
<id>urn:sha1:d93217d84c6c7ef74bfeb606a1fb1ee28720646b</id>
<content type='text'>
Add support for Hygon Dhyana family 18h processor for k10temp to get the
temperature. As Hygon Dhyana shares the same function interface with AMD
family 17h, so add Hygon PCI Vendor ID and reuse the code path of AMD.

Signed-off-by: Pu Wen &lt;puwen@hygon.cn&gt;
Acked-by: Borislav Petkov &lt;bp@suse.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (k10temp) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}</title>
<updated>2018-12-16T23:13:23Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2018-12-06T18:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fac5ba6f5bf7fe9d2923ac4bbd85fa905f249633'/>
<id>urn:sha1:fac5ba6f5bf7fe9d2923ac4bbd85fa905f249633</id>
<content type='text'>
Auto-conversion was done done using the coccinelle script at
https://github.com/groeck/coccinelle-patches/blob/master/hwmon/sensor-devattr-w6.cocci

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon/k10temp: Add support for AMD family 17h, model 30h CPUs</title>
<updated>2018-11-07T20:39:13Z</updated>
<author>
<name>Woods, Brian</name>
</author>
<published>2018-11-06T20:08:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=210ba1201ff950b3d05bfd8fa5d47540cea393c0'/>
<id>urn:sha1:210ba1201ff950b3d05bfd8fa5d47540cea393c0</id>
<content type='text'>
Add support for AMD family 17h model 30h processors for k10temp. Model
30h is functionally the same as model 01h processors (as far as k10temp
is concerned), just the PCI device IDs need to be updated.

Signed-off-by: Brian Woods &lt;brian.woods@amd.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
CC: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
CC: Clemens Ladisch &lt;clemens@ladisch.de&gt;
CC: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
CC: Ingo Molnar &lt;mingo@redhat.com&gt;
CC: Jean Delvare &lt;jdelvare@suse.com&gt;
CC: Jia Zhang &lt;qianyue.zj@alibaba-inc.com&gt;
CC: &lt;linux-hwmon@vger.kernel.org&gt;
CC: &lt;linux-pci@vger.kernel.org&gt;
CC: Pu Wen &lt;puwen@hygon.cn&gt;
CC: Thomas Gleixner &lt;tglx@linutronix.de&gt;
CC: x86-ml &lt;x86@kernel.org&gt;
Link: http://lkml.kernel.org/r/20181106200754.60722-5-brian.woods@amd.com
</content>
</entry>
<entry>
<title>hwmon/k10temp, x86/amd_nb: Consolidate shared device IDs</title>
<updated>2018-11-07T20:28:04Z</updated>
<author>
<name>Woods, Brian</name>
</author>
<published>2018-11-06T20:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dedf7dce4cec5c0abe69f4fa6938d5100398220b'/>
<id>urn:sha1:dedf7dce4cec5c0abe69f4fa6938d5100398220b</id>
<content type='text'>
Consolidate shared PCI_DEVICE_IDs that were scattered through k10temp
and amd_nb, and move them into pci_ids.

Signed-off-by: Brian Woods &lt;brian.woods@amd.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
CC: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
CC: Clemens Ladisch &lt;clemens@ladisch.de&gt;
CC: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
CC: Ingo Molnar &lt;mingo@redhat.com&gt;
CC: Jean Delvare &lt;jdelvare@suse.com&gt;
CC: Jia Zhang &lt;qianyue.zj@alibaba-inc.com&gt;
CC: &lt;linux-hwmon@vger.kernel.org&gt;
CC: &lt;linux-pci@vger.kernel.org&gt;
CC: Pu Wen &lt;puwen@hygon.cn&gt;
CC: Thomas Gleixner &lt;tglx@linutronix.de&gt;
CC: x86-ml &lt;x86@kernel.org&gt;
Link: http://lkml.kernel.org/r/20181106200754.60722-2-brian.woods@amd.com
</content>
</entry>
<entry>
<title>hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors</title>
<updated>2018-10-11T03:37:13Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2018-09-02T19:02:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53dfa0088edd2e2793afa21488532b12eb2dae48'/>
<id>urn:sha1:53dfa0088edd2e2793afa21488532b12eb2dae48</id>
<content type='text'>
BIOS developer guides refer to Family 15h Models 60h-6fh and Family 15h
Models 70h-7fh. So far the driver only checked for Models 60h and 70h.
However, there are now processors with other model numbers in the same
families. Example is A10-9620P family 15h model 65h. Follow the developer
guides and mask the lower 4 bit of the model number to determine the
registers to use for reading temperatures and temperature limits.

Reported-by: Guglielmo Fanini &lt;g.fanini@gmail.com&gt;
Cc: Guglielmo Fanini &lt;g.fanini@gmail.com&gt;
Acked-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: k10temp: Support Threadripper 2920X, 2970WX; simplify offset table</title>
<updated>2018-08-09T19:56:56Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2018-08-09T18:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd6a2064dbf9e485b80c54687f0ce91cca91a6df'/>
<id>urn:sha1:cd6a2064dbf9e485b80c54687f0ce91cca91a6df</id>
<content type='text'>
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 &lt;Michael@phoronix.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (k10temp) 27C Offset needed for Threadripper2</title>
<updated>2018-08-07T16:18:32Z</updated>
<author>
<name>Michael Larabel</name>
</author>
<published>2018-08-07T13:54:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=484a84f25ca7817c3662001316ba7d1e06b74ae2'/>
<id>urn:sha1:484a84f25ca7817c3662001316ba7d1e06b74ae2</id>
<content type='text'>
For at least the Threadripper 2950X and Threadripper 2990WX,
it's confirmed a 27 degree offset is needed.

Signed-off-by: Michael Larabel &lt;michael@phoronix.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (k10temp) Make function get_raw_temp static</title>
<updated>2018-06-01T15:56:35Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2018-06-01T13:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb8eefd3b4e6f79e0930fffff6640744699c6f1d'/>
<id>urn:sha1:fb8eefd3b4e6f79e0930fffff6640744699c6f1d</id>
<content type='text'>
The function get_raw_temp is local to the source and does not need to
be in global scope, so make it static.

Cleans up sparse warning:
drivers/hwmon/k10temp.c:149:14: warning: symbol 'get_raw_temp' was not
declared. Should it be static?

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (k10temp) Display both Tctl and Tdie</title>
<updated>2018-05-21T14:51:58Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2018-04-26T19:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f934c0599ecab63ec9cca0000315240c1202d20c'/>
<id>urn:sha1:f934c0599ecab63ec9cca0000315240c1202d20c</id>
<content type='text'>
On some AMD CPUs, there is a different between the die temperature
(Tdie) and the reported temperature (Tctl). Tdie is the real measured
temperature, and Tctl is used for fan control. Lets report both for
affected CPUs.

Tested-by: Gabriel Craciunescu &lt;nix.or.die@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
