]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/pci/probe.c
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)
commit62f392ea5b5f87b641e16e61a4cedda21ef7341f
tree3392e1c0b10f851df98b18797c0637608887d624
parentd387a8d66670371e6be3b6d6bde2e38b8cade076
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