All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] sensors-detect: Add detection of AMD
Date: Fri, 18 Feb 2011 12:39:08 +0000	[thread overview]
Message-ID: <20110218123908.GA27034@ericsson.com> (raw)
In-Reply-To: <20110217195640.GA20934@ericsson.com>

On Fri, Feb 18, 2011 at 07:09:45AM -0500, Jean Delvare wrote:
> Hi Guenter,
> 
> On Thu, 17 Feb 2011 11:56:40 -0800, Guenter Roeck wrote:
> > Index: CHANGES
> > =================================> > --- CHANGES	(revision 5932)
> > +++ CHANGES	(working copy)
> > @@ -27,6 +27,7 @@
> >                          EMC1072, EMC1073, EMC1074, EMC1402, and EMC1424
> >                    Fixed address ranges checked for SMSC EMC1403 and EMC1404.
> >                    Fix detection of SPD EEPROM on DDR3 memory modules
> > +                  Add detection of AMD family 12h and 14h thermal sensors
> >  
> >  3.2.0 (2010-10-10)
> >    libsensors: Increase MAX_SENSORS_PER_TYPE to 24
> > Index: prog/detect/sensors-detect
> > =================================> > --- prog/detect/sensors-detect	(revision 5932)
> > +++ prog/detect/sensors-detect	(working copy)
> > @@ -2128,6 +2128,10 @@
> >  		driver => "k10temp",
> >  		detect => \&fam11h_pci_detect,
> >  	}, {
> > +		name => "AMD Family 12h and 14h thermal sensors",
> > +		driver => "k10temp",
> > +		detect => \&fam12h_14h_pci_detect,
> > +	}, {
> >  		name => "Intel digital thermal sensor",
> >  		driver => "coretemp",
> >  		detect => \&coretemp_detect,
> > @@ -6028,6 +6032,12 @@
> >  	return 9;
> >  }
> >  
> > +sub fam12h_14h_pci_detect
> > +{
> > +	return unless exists $pci_list{'1022:1703'};
> > +	return 9;
> > +}
> > +
> >  sub intel_amb_detect
> >  {
> >  	if ((exists $pci_list{'8086:25f0'}) ||	# Intel 5000
> > 
> 
> The code looks good and the ID is in line with Clemens' patch. Please
> commit and update wiki/Devices accordingly [1].
> 
> That being said, I'm a little curious about a couple things. Why
> PCI_DEVICE_ID_AMD_CNB17H_F3 and PCI device ID 0x1703 if the supported
> CPUs are family 12h and 14h (and not 17h)?
> 
I don't know. I wondered about it too, so I looked up the device ID
(http://pci-ids.ucw.cz/read/PC/1022) and confirmed that it applies
to family 12h/14h. Per commit log this is the Northbridge on the
respective CPUs.

0x1603 is for AMD CPU family 15h, as the define indicates. I have no idea
about its capabilities, nor how to find out.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2011-02-18 12:39 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 19:56 [lm-sensors] [PATCH] sensors-detect: Add detection of AMD family Guenter Roeck
2011-02-18 12:09 ` [lm-sensors] [PATCH] sensors-detect: Add detection of AMD Jean Delvare
2011-02-18 12:29 ` Clemens Ladisch
2011-02-18 12:39 ` Guenter Roeck [this message]
2011-05-25 16:56 ` [lm-sensors] [PATCH] sensors-detect: Add detection of MAX6642 Per Dalén
2011-05-26  4:09 ` Guenter Roeck
2012-01-22 23:31 ` [lm-sensors] [PATCH] sensors-detect: Add detection of G781 and G781-1 Guenter Roeck
2012-01-23  9:16 ` Jean Delvare
2012-01-23 16:35 ` [lm-sensors] [PATCH] sensors-detect: Add detection of G781 Guenter Roeck
2012-01-23 16:58 ` Jean Delvare
2012-01-28 18:37 ` [lm-sensors] [PATCH] sensors-detect: Add detection of LM96080 Jean Delvare
2012-01-28 19:23 ` Guenter Roeck
2012-01-28 20:04 ` Jean Delvare
2012-01-28 20:31 ` Frans Meulenbroeks
2012-01-30 17:03 ` Guenter Roeck
2012-01-30 19:03 ` Guenter Roeck
2012-01-30 19:49 ` Jean Delvare
2012-01-30 20:08 ` Guenter Roeck
2012-01-31  7:37 ` Frans Meulenbroeks
2012-01-31  8:08 ` Jean Delvare
2012-03-04 15:59 ` [lm-sensors] [PATCH] sensors-detect: Add detection of ITE IT8510E, IT8511E, IT8513E, and IT8518E Guenter Roeck
2012-03-04 17:11 ` Jean Delvare
2012-03-05 13:29 ` [lm-sensors] [PATCH] sensors-detect: Add detection of ST Mircoelectronics STTS2002 and STTS3000 Jean Delvare
2012-03-05 16:32 ` Guenter Roeck
2012-03-05 17:00 ` Jean Delvare
2012-03-05 17:23 ` Guenter Roeck
2012-05-21  0:59 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6779D and NCT6102D/NCT6106D Guenter Roeck
2012-05-31 18:00 ` [lm-sensors] [PATCH] sensors-detect: Add detection of SMSC LPC47N217 and SIO10N268 Guenter Roeck
2012-05-31 19:53 ` Jean Delvare
2012-05-31 20:52 ` Guenter Roeck
2013-06-24 20:19 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6791D Guenter Roeck
2013-07-01  5:05 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6681D, NCT6682D, and NCT6683D Guenter Roeck
2013-07-02  8:24 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6791D Jean Delvare
2013-07-02  8:35 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6681D, NCT6682D, and NCT6683D Jean Delvare
2013-07-02 14:36 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6791D Guenter Roeck
2013-07-02 14:36 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6681D, NCT6682D, and NCT6683D Guenter Roeck
2013-07-02 16:10 ` [lm-sensors] [PATCH] sensors-detect: Add detection of NCT6791D David Bartley
2013-07-03  2:52 ` Guenter Roeck
2013-07-03  2:56 ` killghost
2013-07-03  4:02 ` Guenter Roeck
2013-07-03  6:23 ` Jean Delvare
2013-07-03  6:32 ` killghost
2013-07-03  6:42 ` David Bartley
2013-07-03  8:26 ` killghost
2013-07-05  7:16 ` David Bartley
2013-07-05 10:08 ` killghost
2014-01-25 17:54 ` [lm-sensors] [PATCH] sensors-detect: Add detection of TI ADC128D818 Guenter Roeck
2014-01-25 22:05 ` Jean Delvare
2014-01-26  0:13 ` Guenter Roeck
2014-01-26 13:22 ` Jean Delvare
2014-01-26 18:33 ` Guenter Roeck
2014-01-26 18:55 ` Jean Delvare
2015-01-16 21:45 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8786E Guenter Roeck
2015-01-18 18:34 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8780F Guenter Roeck
2015-01-18 22:48 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8731F and IT8732F Guenter Roeck
2015-01-23  6:58 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8786E Jean Delvare
2015-01-23  6:59 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8780F Jean Delvare
2015-01-23  7:04 ` [lm-sensors] [PATCH] sensors-detect: Add detection of IT8731F and IT8732F Jean Delvare
2015-08-31  3:57 ` [lm-sensors] [PATCH] sensors-detect: Add detection of Novoton NCT6793D Guenter Roeck
2015-08-31  7:26 ` Jean Delvare
2015-08-31  7:38 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110218123908.GA27034@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.