]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: enable MPS "performance" setting to properly handle bridge MPS
authorJon Mason <mason@myri.com>
Fri, 14 Oct 2011 19:56:14 +0000 (14:56 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 27 Oct 2011 19:45:43 +0000 (12:45 -0700)
commit3be7fc60aa5aaf545b2729606dcf2c9b08e890cf
tree3392e1c0b10f851df98b18797c0637608887d624
parent6c0a2e705bc0f92056c318069113f285b21ee96e
PCI: enable MPS "performance" setting to properly handle bridge MPS

Rework the "performance" MPS option to configure the device MPS with the
smaller of the device MPSS or the bridge MPS (which is assumed to be
properly configured at this point to the largest allowable MPS based on
its parent bus).

Also, rework the MRRS setting to report an inability to set the MRRS to
a valid setting.

Signed-off-by: Jon Mason <mason@myri.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c