mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: "Stephane GONAUER" <stephane.gonauer@sofrelog.com>
Cc: <linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<achiang@hp.com>, <kaneshige.kenji@jp.fujitsu.com>,
	<David.Woodhouse@intel.com>
Subject: Re: PCIexpress Slot_Power_Limit and Power budgetting.
Date: Fri, 4 Dec 2009 15:33:51 -0800	[thread overview]
Message-ID: <20091204153351.3752feea@jbarnes-piketon> (raw)
In-Reply-To: <001401ca6901$f9c03ed0$ed40bc70$@gonauer@sofrelog.com>

On Thu, 19 Nov 2009 11:20:50 +0100
"Stephane GONAUER" <stephane.gonauer@sofrelog.com> wrote:
> I am a embedded system designer and currently working on the
> preliminary design of a PCIepress expansion board to be used on x86
> motherboard.
> 
> My board is to be an x1 PCie board. Thus according to the PCIe
> electromechanical specifications,  the board may consume 10Watts by
> default, and 25Watts after correct dialog is established with upper
> bridges and the root complex. (which after acknowledging the request
> should send a Slot_Power_Limit message to the board to allow for
> higher power consumption).
> 
> The board is based on a PEX8311 PCIe to local bus chip from PLX tech.
> This component is able to present its request for more power using
> the power budgeting capability as defined by the PCIe standard.
> 
> However this doesn’t seems to have effect on the system (running
> latest ubuntu with 2.6.31 kernel) and from my understanding of the
> kernel sources this is not supported. Is that correct ?
> 
> Are there ways that I’m not aware to request for more power in the
> existing source base ?

Not in PCIe that I'm aware of, aside from the existing ASPM support,
but that's a bit different.

> I’ve been reading the PCIE-port driver source to try to find a way to
> achieve my goal. My understanding is that this driver is very generic
> and as such shouldn’t be able to support power budgeting. I believe
> adding Power budgeting to it would require to match more closely the
> motherboard hardware. Am I correct ?

Yeah, we'd need to get power budget info from the firmware or platform
somehow, which means we'd have to add a platform specific portion to
the PCIe port driver, or at the very least some basic power
initialization routines that could be called from platform specific
code.

> Perhaps you have better ideas on the subject than me.
> 
> I’d be very glad if I could get some comments on this issue. I hope I
> haven’t been writing to the wrong people.

Given how long it's taken me to reply, maybe you have an implementation
already. :)

We'd definitely be interested in adding such a feature if your platform
supports it and has need of it.

-- 
Jesse Barnes, Intel Open Source Technology Center

           reply	other threads:[~2009-12-04 23:34 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <001401ca6901$f9c03ed0$ed40bc70$@gonauer@sofrelog.com>]

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=20091204153351.3752feea@jbarnes-piketon \
    --to=jbarnes@virtuousgeek.org \
    --cc=David.Woodhouse@intel.com \
    --cc=achiang@hp.com \
    --cc=kaneshige.kenji@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=stephane.gonauer@sofrelog.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

all inboxes | Powered by JetHome®