public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: Len Brown <lenb@kernel.org>
Cc: "linux-acpi@vger" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 6/8] [-mm] ACPI: add ACPI Processor_throttling sysfs interface
Date: Thu, 22 Mar 2007 14:12:44 +0800	[thread overview]
Message-ID: <1174543964.8833.159.camel@localhost.localdomain> (raw)
In-Reply-To: <200703220055.38215.lenb@kernel.org>

On Thu, 2007-03-22 at 00:55 -0400, Len Brown wrote:
> On Tuesday 20 March 2007 05:21, Zhang Rui wrote:
> > From: Zhang Rui <rui.zhang@intel.com>
> > 
> > Add ACPI Processor throttling control sysfs interface.
> > 
> > Attribute	Mode	Description
> > state_count	RO	Maximum throttling state supported by this
> > 			processor.
> > active_state	RW	the current throttling state.
> 
> I like this better than the procfs interface.
> In particular, this is simple levels and doesn't get tangled up in percentages.
> 
> However, this gives the user the impression that they can actually
> change these values and they will stick -- which may be a lie.
> 
> Firmware sometimes messes with throttling behind our back.
> Thermal management can change throttling levels on us
> and it isn't clear what happens to the user-request in that context.
> Finally, something like the p4-clockmod driver can take over throttling
> at the request of the cpufreq sub-system.
> 
> Plus, we have the _TCP enhancements coming from Luming.
> 
Yep. I've discussed with Luming and we only need to add another
attribute like "platform_limit".
It exports a value "n" which means that only Tn~Tmax throttling states
are available currently.

> I think we need to sort through these issues before we
> can possibly propose the appropriate API for exporting
> processor throttling control to user-space.
> 
Agree. Maybe we need a processor throttling state driver just like we do
for processor power/performance state control(cpui_dle and cpu_freq).

Thanks,
Rui

      reply	other threads:[~2007-03-22  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  9:21 [PATCH 6/8] [-mm] ACPI: add ACPI Processor_throttling sysfs interface Zhang Rui
2007-03-22  4:55 ` Len Brown
2007-03-22  6:12   ` Zhang Rui [this message]

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=1174543964.8833.159.camel@localhost.localdomain \
    --to=rui.zhang@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox