PCI: Disable Relaxed Ordering Attributes for AMD A1100
authordingtianhong <dingtianhong@huawei.com>
Tue, 15 Aug 2017 03:23:25 +0000 (11:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 05:14:50 +0000 (22:14 -0700)
commit077fa19c5dfa06a6ae04fb1661680940ff837612
tree3d9c86d18e4cb9912644551cf7ec4f9a2b80ccb5
parent87e09cdec4dae08acdb4aa49beb793c19d73e73e
PCI: Disable Relaxed Ordering Attributes for AMD A1100

Casey reported that the AMD ARM A1100 SoC has a bug in its PCIe
Root Port where Upstream Transaction Layer Packets with the Relaxed
Ordering Attribute clear are allowed to bypass earlier TLPs with
Relaxed Ordering set, it would cause Data Corruption, so we need
to disable Relaxed Ordering Attribute when Upstream TLPs to the
Root Port.

Reported-and-suggested-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Acked-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/pci/quirks.c