]> git.kernelconcepts.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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:54 +0000 (13:54 -0700)
commite9ca82ad156fc553d935d3e11b63b377c87f92e7
tree31cdc0625b36f4db6f628e1ddf9020939abc05e3
parent03e5ad56ab9cd164f7363a26a56c16c11c3ba758
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/pci/hotplug/pcihp_slot.c