PCI: Warn if unsafe MPS settings detected
authorYijing Wang <wangyijing@huawei.com>
Mon, 26 Aug 2013 08:33:06 +0000 (16:33 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 26 Aug 2013 20:49:28 +0000 (14:49 -0600)
If a BIOS configures MPS incorrectly, devices may not work normally.
For example, if a bridge has MPS set larger than an endpoint below it,
the endpoint may discard packets.

To help diagnose this issue, print a warning if we find an endpoint
MPS setting different than that of the upstream bridge.

[bhelgaas: changelog, "bridge" temporary, warning text]
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60799
Reported-by: Joe Jin <joe.jin@oracle.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jon Mason <jdmason@kudzu.us>

No differences found