* [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor
@ 2014-03-11 21:25 Aravind Gopalakrishnan
2014-03-12 3:06 ` Guenter Roeck
0 siblings, 1 reply; 4+ messages in thread
From: Aravind Gopalakrishnan @ 2014-03-11 21:25 UTC (permalink / raw)
To: clemens, jdelvare, linux, rob, lm-sensors, linux-doc,
linux-kernel
Cc: andre, Aravind Gopalakrishnan
Adding new PCI ID to support AMD F16 M30h processor (Mullins).
While at it, modify Kconfig and Doc files to reflect the
support for newer processors
Note: PCI ID for this processor will make it into pci_ids.h
as part of this patch:
http://marc.info/?l=linux-kernel&m=139291362126057&w=2
which should be pulled into 3.15 when merge window opens
(It currently sits in 'for-next' branch of bp.git-
https://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=for-next)
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
---
Documentation/hwmon/k10temp | 6 +++---
drivers/hwmon/Kconfig | 4 ++--
drivers/hwmon/k10temp.c | 1 +
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Documentation/hwmon/k10temp b/Documentation/hwmon/k10temp
index 4dfdc8f..ee6d30e 100644
--- a/Documentation/hwmon/k10temp
+++ b/Documentation/hwmon/k10temp
@@ -11,8 +11,8 @@ Supported chips:
Socket S1G2: Athlon (X2), Sempron (X2), Turion X2 (Ultra)
* AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series)
* AMD Family 14h processors: "Brazos" (C/E/G/Z-Series)
-* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity"
-* AMD Family 16h processors: "Kabini"
+* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri"
+* AMD Family 16h processors: "Kabini", "Mullins"
Prefix: 'k10temp'
Addresses scanned: PCI space
@@ -46,7 +46,7 @@ Description
-----------
This driver permits reading of the internal temperature sensor of AMD
-Family 10h/11h/12h/14h/15h processors.
+Family 10h/11h/12h/14h/15h/16h processors.
All these processors have a sensor, but on those for Socket F or AM2+,
the sensor may return inconsistent values (erratum 319). The driver
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 5ce43d8..83db056 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -296,8 +296,8 @@ config SENSORS_K10TEMP
If you say yes here you get support for the temperature
sensor(s) inside your CPU. Supported are later revisions of
the AMD Family 10h and all revisions of the AMD Family 11h,
- 12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity) and
- 16h (Kabini) microarchitectures.
+ 12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity/Kaveri) and
+ 16h (Kabini/Mullins) microarchitectures.
This driver can also be built as a module. If so, the module
will be called k10temp.
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index baf375b..f7b46f6 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -212,6 +212,7 @@ static const struct pci_device_id k10temp_id_table[] = {
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M10H_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) },
{}
};
MODULE_DEVICE_TABLE(pci, k10temp_id_table);
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor
2014-03-11 21:25 [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor Aravind Gopalakrishnan
@ 2014-03-12 3:06 ` Guenter Roeck
2014-03-12 9:25 ` Jean Delvare
0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2014-03-12 3:06 UTC (permalink / raw)
To: Aravind Gopalakrishnan, clemens, jdelvare, rob, lm-sensors,
linux-doc, linux-kernel
Cc: andre
On 03/11/2014 02:25 PM, Aravind Gopalakrishnan wrote:
> Adding new PCI ID to support AMD F16 M30h processor (Mullins).
> While at it, modify Kconfig and Doc files to reflect the
> support for newer processors
>
> Note: PCI ID for this processor will make it into pci_ids.h
> as part of this patch:
> http://marc.info/?l=linux-kernel&m=139291362126057&w=2
> which should be pulled into 3.15 when merge window opens
> (It currently sits in 'for-next' branch of bp.git-
> https://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=for-next)
>
> Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Looks good. We'll have to see how we can apply this; probably after 3.15-rc1
comes out. I'll put it into my -staging branch for now and pull in the other
patch as well to make sure it compiles.
Guenter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor
2014-03-12 3:06 ` Guenter Roeck
@ 2014-03-12 9:25 ` Jean Delvare
2014-03-12 14:34 ` Aravind Gopalakrishnan
0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2014-03-12 9:25 UTC (permalink / raw)
To: Guenter Roeck
Cc: Aravind Gopalakrishnan, clemens, rob, lm-sensors, linux-doc,
linux-kernel, andre
On Tue, 11 Mar 2014 20:06:37 -0700, Guenter Roeck wrote:
> On 03/11/2014 02:25 PM, Aravind Gopalakrishnan wrote:
> > Adding new PCI ID to support AMD F16 M30h processor (Mullins).
> > While at it, modify Kconfig and Doc files to reflect the
> > support for newer processors
> >
> > Note: PCI ID for this processor will make it into pci_ids.h
> > as part of this patch:
> > http://marc.info/?l=linux-kernel&m=139291362126057&w=2
> > which should be pulled into 3.15 when merge window opens
> > (It currently sits in 'for-next' branch of bp.git-
> > https://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=for-next)
> >
> > Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
>
> Looks good. We'll have to see how we can apply this; probably after 3.15-rc1
> comes out. I'll put it into my -staging branch for now and pull in the other
> patch as well to make sure it compiles.
I've updated the wiki accordingly, as well as sensors-detect.
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor
2014-03-12 9:25 ` Jean Delvare
@ 2014-03-12 14:34 ` Aravind Gopalakrishnan
0 siblings, 0 replies; 4+ messages in thread
From: Aravind Gopalakrishnan @ 2014-03-12 14:34 UTC (permalink / raw)
To: Jean Delvare, Guenter Roeck
Cc: clemens, rob, lm-sensors, linux-doc, linux-kernel, andre
On 3/12/2014 4:25 AM, Jean Delvare wrote:
> On Tue, 11 Mar 2014 20:06:37 -0700, Guenter Roeck wrote:
>>
>> Looks good. We'll have to see how we can apply this; probably after 3.15-rc1
>> comes out. I'll put it into my -staging branch for now and pull in the other
>> patch as well to make sure it compiles.
> I've updated the wiki accordingly, as well as sensors-detect.
>
Thanks!
-Aravind.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-12 14:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 21:25 [PATCH] hwmon, k10temp: Add support for AMD F16 M30h processor Aravind Gopalakrishnan
2014-03-12 3:06 ` Guenter Roeck
2014-03-12 9:25 ` Jean Delvare
2014-03-12 14:34 ` Aravind Gopalakrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox