All of lore.kernel.org
 help / color / mirror / Atom feed
* How to force RC to forward p2p TLPs
@ 2018-12-22  4:50 yu
  2018-12-29  2:29 ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: yu @ 2018-12-22  4:50 UTC (permalink / raw)
  To: linux-pci; +Cc: linux-kernel, kkndyu

Hi all,

We have a PCIE card which has a PEX8732 switch on-board,  and there
are two endpoint SOCs like graphic decoder behind the switch, and by
default the ACS is enabled in 8732.

We use the p2p DMA to transfer data between these two endpoint SOCs,
and if the host server is not enable ACS in BIOS, the p2p works well,
but when ACS is enabled in BIOS, the p2p is always failed. With the
help of a protocol analyzer, we can see that the TLP is redirected to
RC, and RC just discard it.

I tried to find how to make RC forward redirected TLP to its original
target, but nothing found, it seems this is highly related to the RC
vendors.

In the PCIE 4.0 spec, the section of the RC behavior of the p2p
request redirect  said that ''implementation-specific logic within the
RC that determines whether the request is directed towards its
original target, or blocked as an ACS Violation error. the algorithms
and specific controls for making this determination are not
architected by this spec''.


So is there some spec or document to describe how to set the RC? Any
suggestion is appreciated.

Regards,
Eric

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-02  1:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-22  4:50 How to force RC to forward p2p TLPs yu
2018-12-29  2:29 ` Bjorn Helgaas
2018-12-29 19:18   ` Logan Gunthorpe
2019-01-01  6:20   ` Eric Wehage
2019-01-02  1:07     ` Stephen  Bates

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.