]> 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)
commit7d50daca93a7ed17fc89d315821e5aa80434a0ad
tree9ba46aa432943770bfc6495dc5a985f239354a0a
parent64a0cae1036dfdad28baee3c0515c949626e11eb
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