]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:28:39 +0000 (15:28 -0700)
commitf7dc0fb69f5041ddc35f505ac21fa2a77648be77
tree4ede594686d503fa2a528cc0c8f6937359d0492d
parent96716ea2f66e763fdedece78e0a2229b9f36bbee
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pcihp_slot.c