From: Keith Busch <keith.busch@intel.com>
To: Jon Mason <jon.mason@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
Keith Busch <keith.busch@intel.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Yijing Wang <wangyijing@huawei.com>
Subject: Re: Debugging incorrect mps settings detected
Date: Thu, 5 Jun 2014 10:41:30 -0600 (MDT) [thread overview]
Message-ID: <alpine.LRH.2.03.1406051037580.11244@AMR> (raw)
In-Reply-To: <20140604174440.GA17837@jonmason-lab>
On Wed, 4 Jun 2014, Jon Mason wrote:
> On Tue, Jun 03, 2014 at 03:01:31PM -0600, Bjorn Helgaas wrote:
>> [+cc Yijing, Jon]
>> The PCI core should be doing something intelligent here. If we can't
>> configure MPS safely, we should prevent the device from being enabled.
>> But this is stuff the PCI core doesn't implement yet.
>
> The tuning of the MPS is disabled by default, which is why the warning
> is there. Now, we can attempt to tune it regardless of whether tuning
> is enabled (assuming this device is the only one under the root port),
> we can fail to all the hotplug, or we can enable "safe" tuning by
> default. The first option seems a bit hacky. The second will fail
> too often, since the MPSS of the hotplugged device would have to match
> the MPS setting of slot/fabric. The third seems like the best option.
>
>> It's hard to reconfigure MPS after boot because it affects other
>> devices in the system, and I don't think we can always change the
>> settings of other devices while they're active.
>
> Unless the slot is under its own root port, otherwise the MPS will
> have to be floored. This is the behavior in the "safe" tuning.
>
> I suggest that the "safe" tuning get made the default behavior and we
> let it soak for a little while to shake out any issues that there may
> be.
Thanks for all the info. I've tried different tunings on several different
platforms that were all failing before. The 'safe' tuning was the only
one successful on all platforms, so just providing a data point that
this appears to be a good direction to go.
next prev parent reply other threads:[~2014-06-05 16:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 20:04 Debugging incorrect mps settings detected Keith Busch
2014-06-03 21:01 ` Bjorn Helgaas
2014-06-04 2:43 ` Yijing Wang
2014-06-04 17:44 ` Jon Mason
2014-06-05 16:41 ` Keith Busch [this message]
2014-07-28 19:59 ` Jordan_Hargrave
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.03.1406051037580.11244@AMR \
--to=keith.busch@intel.com \
--cc=bhelgaas@google.com \
--cc=jon.mason@intel.com \
--cc=linux-pci@vger.kernel.org \
--cc=wangyijing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).