]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: dra7xx: Workaround for errata id i870
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 27 Mar 2017 09:45:11 +0000 (15:15 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Apr 2017 15:23:18 +0000 (10:23 -0500)
commit491147a5eda1f8cee724e108b849c3f046179f7e
treeb5d51ac2e92f66382054829e48d48b69b507b048
parent440e7354a90eb62ddf386b45951bb536c015b5c2
PCI: dwc: dra7xx: Workaround for errata id i870

According to errata i870, access to the PCIe slave port that are not 32-bit
aligned will result in incorrect mapping to TLP Address and Byte enable
fields.

Accessing non 32-bit aligned data causes incorrect data in the target
buffer if memcpy is used. Implement the workaround for this errata here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pci-dra7xx.c