diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:53:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:53:37 -0400 |
commit | 3cf59142bcd391680beb6932838fe09a73947705 (patch) | |
tree | 4067c594861e86b6000e83e4b34c75d210093621 | |
parent | 154d6f18a48e00dec2dc84a96914fe1a24669577 (diff) | |
parent | ec0159503ae74aeb834e78366bdf4b9663ca1129 (diff) |
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull second round of hwmon updates from Guenter Roeck:
"Add support for AMD F16 M30h processor to k10temp driver.
This adds one more patch which had secondary dependencies. The branch
point is arbitrary, but I did run a full set of build and qemu tests
on it. While there are some new build failures (6 out of 122 in my
builds), none are due to this commit"
* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (k10temp) Add support for AMD F16 M30h processor
-rw-r--r-- | Documentation/hwmon/k10temp | 6 | ||||
-rw-r--r-- | drivers/hwmon/Kconfig | 4 | ||||
-rw-r--r-- | drivers/hwmon/k10temp.c | 1 |
3 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/hwmon/k10temp b/Documentation/hwmon/k10temp index 4dfdc8f83633..ee6d30ec1522 100644 --- a/Documentation/hwmon/k10temp +++ b/Documentation/hwmon/k10temp | |||
@@ -11,8 +11,8 @@ Supported chips: | |||
11 | Socket S1G2: Athlon (X2), Sempron (X2), Turion X2 (Ultra) | 11 | Socket S1G2: Athlon (X2), Sempron (X2), Turion X2 (Ultra) |
12 | * AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series) | 12 | * AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series) |
13 | * AMD Family 14h processors: "Brazos" (C/E/G/Z-Series) | 13 | * AMD Family 14h processors: "Brazos" (C/E/G/Z-Series) |
14 | * AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity" | 14 | * AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri" |
15 | * AMD Family 16h processors: "Kabini" | 15 | * AMD Family 16h processors: "Kabini", "Mullins" |
16 | 16 | ||
17 | Prefix: 'k10temp' | 17 | Prefix: 'k10temp' |
18 | Addresses scanned: PCI space | 18 | Addresses scanned: PCI space |
@@ -46,7 +46,7 @@ Description | |||
46 | ----------- | 46 | ----------- |
47 | 47 | ||
48 | This driver permits reading of the internal temperature sensor of AMD | 48 | This driver permits reading of the internal temperature sensor of AMD |
49 | Family 10h/11h/12h/14h/15h processors. | 49 | Family 10h/11h/12h/14h/15h/16h processors. |
50 | 50 | ||
51 | All these processors have a sensor, but on those for Socket F or AM2+, | 51 | All these processors have a sensor, but on those for Socket F or AM2+, |
52 | the sensor may return inconsistent values (erratum 319). The driver | 52 | the sensor may return inconsistent values (erratum 319). The driver |
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index b53d87958710..b13172cfbeef 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -280,8 +280,8 @@ config SENSORS_K10TEMP | |||
280 | If you say yes here you get support for the temperature | 280 | If you say yes here you get support for the temperature |
281 | sensor(s) inside your CPU. Supported are later revisions of | 281 | sensor(s) inside your CPU. Supported are later revisions of |
282 | the AMD Family 10h and all revisions of the AMD Family 11h, | 282 | the AMD Family 10h and all revisions of the AMD Family 11h, |
283 | 12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity) and | 283 | 12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity/Kaveri) and |
284 | 16h (Kabini) microarchitectures. | 284 | 16h (Kabini/Mullins) microarchitectures. |
285 | 285 | ||
286 | This driver can also be built as a module. If so, the module | 286 | This driver can also be built as a module. If so, the module |
287 | will be called k10temp. | 287 | will be called k10temp. |
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index baf375b5ab0d..f7b46f68ef43 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c | |||
@@ -212,6 +212,7 @@ static const struct pci_device_id k10temp_id_table[] = { | |||
212 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M10H_F3) }, | 212 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M10H_F3) }, |
213 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F3) }, | 213 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F3) }, |
214 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) }, | 214 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) }, |
215 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) }, | ||
215 | {} | 216 | {} |
216 | }; | 217 | }; |
217 | MODULE_DEVICE_TABLE(pci, k10temp_id_table); | 218 | MODULE_DEVICE_TABLE(pci, k10temp_id_table); |