public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Vaidyanathan Srinivasan <svaidy@linux•vnet.ibm.com>
To: Dipankar Sarma <dipankar@in•ibm.com>
Cc: Paul Mackerras <paulus@samba•org>,
	Anton Blanchard <anton@samba•org>,
	linuxppc-dev@ozlabs•org
Subject: Re: [RFC] powerpc: add support for new hcall H_BEST_ENERGY
Date: Wed, 10 Mar 2010 10:00:02 +0530	[thread overview]
Message-ID: <20100310043002.GA15046@dirshya.in.ibm.com> (raw)
In-Reply-To: <20100308192826.GJ10402@in.ibm.com>

* Dipankar Sarma <dipankar@in•ibm.com> [2010-03-09 00:58:26]:

> On Mon, Mar 08, 2010 at 12:20:06PM +0530, Vaidyanathan Srinivasan wrote:
> > * Dipankar Sarma <dipankar@in•ibm.com> [2010-03-06 00:48:11]:
> > 
> > > Shouldn't we create this only for supported platforms ?
> > 
> > Hi Dipankar,
> > 
> > Yes we will need a check like
> > firmware_has_feature(FW_FEATURE_BEST_ENERGY) to avoid sysfs files in
> > unsupported platforms.  I will add that check in the next iteration.
> 
> Also, given that this module isn't likely to provide anything on
> older platforms, it should get loaded only on newer platforms.

Yes, I will explore methods to achieve this.  I could not yet find
a trigger to load modules based on firmware feature.

--Vaidy

  reply	other threads:[~2010-03-10  4:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 18:18 [RFC] powerpc: add support for new hcall H_BEST_ENERGY Vaidyanathan Srinivasan
2010-03-05 19:18 ` Dipankar Sarma
2010-03-08  6:50   ` Vaidyanathan Srinivasan
2010-03-08 19:28     ` Dipankar Sarma
2010-03-10  4:30       ` Vaidyanathan Srinivasan [this message]
2010-04-07  2:04 ` Benjamin Herrenschmidt
2010-04-07  4:57   ` Vaidyanathan Srinivasan
2010-04-07  5:13     ` Benjamin Herrenschmidt

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=20100310043002.GA15046@dirshya.in.ibm.com \
    --to=svaidy@linux$(echo .)vnet.ibm.com \
    --cc=anton@samba$(echo .)org \
    --cc=dipankar@in$(echo .)ibm.com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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