]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: Set PCIE maxpayload for card during hotplug insertion
authorJordan_Hargrave@Dell.com <Jordan_Hargrave@Dell.com>
Mon, 9 May 2011 20:24:55 +0000 (15:24 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:20:44 +0000 (11:20 -0400)
commitd99563ef3f1ce4427a8360c8daba821c0840a7ec
treed23972de0ca0c7031a3d1c1aad9735e38e8f9306
parent411ddb158e3e9eb8c03994551d21c9a2d4f6652e
PCI: Set PCIE maxpayload for card during hotplug insertion

commit e522a7126c7c144a1dd14c6f217ac31e71082b1d upstream.

The following patch sets the MaxPayload setting to match the parent
reading when inserting a PCIE card into a hotplug slot.  On our system,
the upstream bridge is set to 256, but when inserting a card, the card
setting defaults to 128.  As soon as I/O is performed to the card it
starts receiving errors since the payload size is too small.

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jordan Hargrave <jordan_hargrave@dell.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/pci/hotplug/pcihp_slot.c