mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Fenghua Yu <fenghua.yu@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	H Peter Anvin <hpa@zytor.com>, Len Brown <lenb@kernel.org>,
	Chen Gong <gong.chen@linux.intel.com>,
	Jean Delvare <khali@linux-fr.org>,
	Huaxu Wan <huaxu.wan@intel.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	lm-sensors <lm-sensors@lm-sensors.org>
Subject: Re: [PATH V2 2/5] Package Level Thermal Control and Power Limit Notification: pkgtemp hwmon driver
Date: Wed, 28 Jul 2010 12:25:47 -0700	[thread overview]
Message-ID: <1280345147.1830.57.camel@groeck-laptop> (raw)
In-Reply-To: <1280343653-26380-3-git-send-email-fenghua.yu@intel.com>

On Wed, 2010-07-28 at 15:00 -0400, Fenghua Yu wrote:
> From: Fenghua Yu <fenghua.yu@intel.com>
> 
> This patch adds a hwmon driver for package level thermal control. The driver
> dumps package level thermal information through sysfs interface so that upper
> level application (e.g. lm_sensor) can retrive the information.
> 
> Instead of having the package level hwmon code in coretemp, I write a seperate
> driver pkgtemp because:
> 
> First, package level thermal sensors include not only sensors for each core,
> but also sensors for uncore, memory controller or other components in the
> package. Logically it will be clear to have a seperate hwmon driver for package
> level hwmon to monitor wider range of sensors in a package. Merging package
> thermal driver into core thermal driver doesn't make sense and may mislead.
> 
> Secondly, merging the two drivers together may cause coding mess. It's easier
> to include various package level sensors info if more sensor information is
> implemented. Coretemp code needs to consider a lot of legacy machine cases.
> Pkgtemp code only considers platform starting from Sandy Bridge.
> 
> On a 1Sx4Cx2T Sandy Bridge platform, lm-sensors dumps the pkgtemp and coretemp:
> 
> pkgtemp-isa-0000
> Adapter: ISA adapter
> physical id 0: +33.0°C  (high = +79.0°C, crit = +99.0°C)
> 
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
> 
> coretemp-isa-0001
> Adapter: ISA adapter
> Core 1:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
> 
> coretemp-isa-0002
> Adapter: ISA adapter
> Core 2:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
> 
> coretemp-isa-0003
> Adapter: ISA adapter
> Core 3:      +32.0°C  (high = +79.0°C, crit = +99.0°C)
> 
> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
> Reviewed-by: Len Brown <len.brown@intel.com>
> Reviewed-by: Guenter Roeck <guenter.roeck@ericsson.com>

That I provided feedback does not mean that I endorsed a "Reviewed-by"
signature. It is inappropriate to add such a signature without my
approval.

Guenter



  reply	other threads:[~2010-07-28 19:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 19:00 [PATH V2 0/5] Package Level Thermal Control and Power Limit Notification Fenghua Yu
2010-07-28 19:00 ` [PATH V2 1/5] Package Level Thermal Control and Power Limit Notification: enable features Fenghua Yu
2010-07-28 19:00 ` [PATH V2 2/5] Package Level Thermal Control and Power Limit Notification: pkgtemp hwmon driver Fenghua Yu
2010-07-28 19:25   ` Guenter Roeck [this message]
2010-07-28 19:00 ` [PATH V2 3/5] Package Level Thermal Control and Power Limit Notification: thermal throttling handler Fenghua Yu
2010-07-28 19:00 ` [PATH V2 4/5] Package Level Thermal Control and Power Limit Notification: power limit Fenghua Yu
2010-07-28 21:17   ` Guenter Roeck
2010-07-28 23:15     ` Fenghua Yu
2010-07-28 19:00 ` [PATH V2 5/5] Package Level Thermal Control and Power Limit Notification: pkgtemp doc Fenghua Yu
2010-07-28 19:24   ` Guenter Roeck

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=1280345147.1830.57.camel@groeck-laptop \
    --to=guenter.roeck@ericsson.com \
    --cc=fenghua.yu@intel.com \
    --cc=gong.chen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=huaxu.wan@intel.com \
    --cc=khali@linux-fr.org \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®