public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>, linux-kernel@vger.kernel.org
Subject: Re: Dependent CPU core speed reporting not updated with CPUFREQ_SHARED_TYPE_HW?
Date: Sat, 2 Jun 2007 02:43:25 -0400	[thread overview]
Message-ID: <20070602064325.GB7445@redhat.com> (raw)
In-Reply-To: <653FFBB4508B9042B5D43DC9E18836F5F5B11F@scsmsx415.amr.corp.intel.com>

On Fri, Jun 01, 2007 at 06:59:25PM -0700, Venki Pallipadi wrote:

 > Hmmm. How about having a new cpufreq_sysfs entry to say
 > these CPUs are frequency dependent in hardware.

Wait, wasn't this the entire purpose of affected_cpus in the first
place? So we could see which CPUs would be affected by a frequency
change?  What went wrong here?

 > affected_cpus today has a single cpufreq directory for all affected_cpus
 > and we coordinate all CPUs in software. To change freq, we will have to
 > move among all affected_cpus and write an MSR.

This I think is where the problem started.  That these remained
independant.  Changing one should also affect the others that it
'affects'. Is that not the case?

 > Hardware coordination basically tells us that kernel can control
 > frequency
 > percpu, but underneath hardware will pick highest requested freq among a
 > group of CPUs. Instaed of handling this case as the existing software
 > coordination case above, we can add a new entry in cpufreq /sysfs
 > denoting
 > hardware coordinated CPU group.
 > 
 > Though it will be confusing with too many interfaces, I feel this is the
 > right way to go about here.

If 'affected_cpus' doesn't do the right thing, I'd vote for making it
do so over adding more interfaces.

	Dave

-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2007-06-02  6:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30  0:43 Dependent CPU core speed reporting not updated with CPUFREQ_SHARED_TYPE_HW? Darrick J. Wong
2007-03-30  1:06 ` Pallipadi, Venkatesh
2007-06-01 18:43   ` Darrick J. Wong
2007-06-01 21:37     ` Andi Kleen
2007-06-01 22:39       ` Darrick J. Wong
2007-06-02  1:59     ` Pallipadi, Venkatesh
2007-06-02  6:43       ` Dave Jones [this message]
2007-06-02 14:19         ` Dependent CPU core speed reporting not updated withCPUFREQ_SHARED_TYPE_HW? Pallipadi, Venkatesh
2007-06-04 17:07           ` Darrick J. Wong

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=20070602064325.GB7445@redhat.com \
    --to=davej@redhat.com \
    --cc=djwong@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=venkatesh.pallipadi@intel.com \
    /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