]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: layerscape: Change default error response behavior
authorMinghuan Lian <Minghuan.Lian@nxp.com>
Thu, 12 Oct 2017 09:44:48 +0000 (17:44 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Oct 2017 18:26:27 +0000 (13:26 -0500)
commit8c709ae3c461fa27e3b1b0ecefd3545c24ccb480
treea6981fea893bcbdacd120b8435c30d89b725962b
parenta83b2bd89b2d4bb764cf407650a067ef2dec64ff
PCI: layerscape: Change default error response behavior

By default, when the PCIe controller experiences an erroneous completion
from an external completer for its outbound non-posted request, it sends
an OKAY response to the device's internal AXI slave system interface.
However, this default system error response behavior cannot be used for
other types of outbound non-posted requests.  For example, the outbound
memory read transaction requires an actual ERROR response, like UR
completion or completion timeout.

Fix this by forwarding the error response of the non-posted request.

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