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=256.
. 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=128, and after
hot-plugging the board, the pci port and the board stay with maxpayload=128.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html