linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pciehp: Setting maxpayload after hot_plug ?
@ 2010-11-09 17:10 Xavier Bru
  0 siblings, 0 replies; only message in thread
From: Xavier Bru @ 2010-11-09 17:10 UTC (permalink / raw)
  To: linux-hotplug

Hello,

I have a concern around hot-plugging a pci adapter that sits behind a 
pci switch port, using the pciehp driver:
     . When  I boot with the adapter plugged, the maxpayload is set to 
256 (as the pci switch upstream port is connected to a port that has the 
capability maxpayload%6.
     . In case  I hot-replace this adapter, after hot-plugging the 
adapter, the maxpayload value is set to the default value (128).
     . In case there was no adapter plugged at boot time, the 
corresponding pci port has a default maxpayload\x128, and after 
hot-plugging the board, the pci port and the board stay with maxpayload\x128.

So, here is my question: should the pciehp driver be aware of the 
maxpayload, and re-initialize it in the pci bus hierarchy and on the 
board (has it is done I suppose by BIOS initialization when the board is 
present ) ? Else, who is in charge to reinitialize the maxpayload to the 
right value ?

Thanks in advance for your help.

Xavier



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-09 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 17:10 pciehp: Setting maxpayload after hot_plug ? Xavier Bru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).