]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Disable MPS configuration by default
authorJon Mason <mason@myri.com>
Mon, 3 Oct 2011 14:50:20 +0000 (09:50 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 4 Oct 2011 16:52:28 +0000 (09:52 -0700)
commit511aca649b8bad8b1a364ce8ce0108acbd807143
treee9d69f2f465daeca7cdc452a3b19d702f15e98b0
parent5a78ac32b35fa7ea28f125f90bf407e1f3155cd5
PCI: Disable MPS configuration by default

Add the ability to disable PCI-E MPS turning and using the BIOS
configured MPS defaults.  Due to the number of issues recently
discovered on some x86 chipsets, make this the default behavior.

Also, add the option for peer to peer DMA MPS configuration.  Peer to
peer DMA is outside the scope of this patch, but MPS configuration could
prevent it from working by having the MPS on one root port different
than the MPS on another.  To work around this, simply make the system
wide MPS the smallest possible value (128B).

Signed-off-by: Jon Mason <mason@myri.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/pci.c
drivers/pci/probe.c
include/linux/pci.h