tegra-pcie 10003000.pcie-controller: PCIE: Response decoding error, signature: 51000000

  1. NXP IMX6 as ep and connect to TX2.
  2. PCI enumerate IMX6 successful
  3. NXP IMX6 configure BAR0 8MB and set local memory remap.
  4. load test pcie driver, map BAR0 to CPU memory address space, write then read
  5. exception occurs as “tegra-pcie 10003000.pcie-controller: PCIE: Response decoding error, signature: 51000000”

URL:http://pan.baidu.com/s/1slM8KjV pass:bu9j
URL:http://pan.baidu.com/s/1o8oOV9o pass:akp2

containing driver sample and test log

URL:http://pan.baidu.com/s/1dF8JYZf PASS:2im7

Please check this screen shot.

7 = INT_CODE_DFPCI_DECERR : Interrupt code for PCIe2 response to downstream request when the downstream
FPCI address does not fall in a claimable downstream region

write , read occurs this exception

I was missed here.

I check the sample driver and can not find any clues.

Dose this error occurs internally in TX2 or route successful to end point device then respond to TX2 this error ?

I found some clues.

It may be caused by PICE switch plugged in or not.

I will update later on.