]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: layerscape: Fix MSG TLP drop setting
authorMinghuan Lian <Minghuan.Lian@nxp.com>
Mon, 29 Feb 2016 23:24:15 +0000 (17:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Feb 2016 23:24:15 +0000 (17:24 -0600)
commit98cf979cc048727165a6d285b1e99197e1ecae97
tree9ba46aa432943770bfc6495dc5a985f239354a0a
parent71a1ecb0170bd702a7d9088cb7c179da187d76aa
PCI: layerscape: Fix MSG TLP drop setting

Some kinds of Layerscape PCIe controllers will forward the received message
TLPs to system application address space, which could corrupt system memory
or lead to a system hang.  Enable MSG_DROP to fix this issue.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-layerscape.c