]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwmon: (k10temp) Add support for F15h M60h
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Thu, 14 Aug 2014 23:15:27 +0000 (18:15 -0500)
committerJiri Slaby <jslaby@suse.cz>
Tue, 2 Jun 2015 09:42:53 +0000 (11:42 +0200)
commit41771451c8448d5c4a7770b596c199e3ce0d5517
treeb351f4c06206d22a4a61d3946727c57a5e3d06c0
parent0fc90046c26f0deef817d6f25b8c32205af2b2af
hwmon: (k10temp) Add support for F15h M60h

commit f89ce2706d8341c921b96e13a00b951a10eed308 upstream.

This patch adds temperature monitoring support for F15h M60h processor.
 - Add new pci device id for the relevant processor
 - The functionality of REG_REPORTED_TEMPERATURE is moved to
   D0F0xBC_xD820_0CA4 [Reported Temperature Control]
   - So, use this to get CUR_TEMP value
   - Since we need an indirect register access, protect this with
     a mutex lock
 - Add Kconfig, Doc entries to indicate support for this processor.

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
[Guenter Roeck: Declare new mutex and function static]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Documentation/hwmon/k10temp
drivers/hwmon/Kconfig
drivers/hwmon/k10temp.c