Skip to contentSkip to conversation

PCIexpress Slot_Power_Limit and Power budgetting.

DISCUSSION Jesse Barnes 1 participant 1 message Dec 4, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 001401ca6901$f9c03ed0$ed40bc70$@[email protected]

#1 lore raw
Quoted 15 lines · On Thu, 19 Nov 2009 11:20:50 +0100 "Stephane GONAUER"…

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.

Quoted 6 lines

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.

Quoted 5 lines

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.

Quoted 4 lines

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.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center