Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538016

Re: [RFC] PCI: Change default MPS behavior

From Keith Busch <keith.busch@intel.com>
Newsgroups linux.kernel
Subject Re: [RFC] PCI: Change default MPS behavior
Date 2016-12-07 20:10 +0100
Message-ID <sLPLj-46c-39@gated-at.bofh.it> (permalink)
References <sLyr7-Nn-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 06, 2016 at 07:20:27PM -0500, Jon Mason wrote:
> Not all systems have a BIOS or firmware to preconfigure the PCIE MPS
> prior to Linux booting.  Without any firmware to pre-setup the MPS, the
> PCIE_BUS_DEFAULT will simply set everything to 0 (128b).  This behavior
> causes these systems to have non-optimal MPS values.  To get around this
> issue, change the default value of pcie_bus_config to be PCIE_BUS_SAFE.
> This configures all systems to use better values for the MPS, at the
> expense of any potential HW errata that might not like being changed.

Wouldn't it be better to provide the kernel parameter to override the
default on such platforms? The PCIE_BUS_SAFE sets the MPS to the lowest
common denominator below the root port, which may be less optimal than
the default behavior for hot plug.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC] PCI: Change default MPS behavior Jon Mason <jon.mason@broadcom.com> - 2016-12-07 01:40 +0100
  Re: [RFC] PCI: Change default MPS behavior Keith Busch <keith.busch@intel.com> - 2016-12-07 20:10 +0100

csiph-web