[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2aa4d13a-83c5-7e15-261f-b8f69def5224@deltatee.com>
Date: Sat, 29 Dec 2018 12:18:03 -0700
From: Logan Gunthorpe <logang@...tatee.com>
To: Bjorn Helgaas <helgaas@...nel.org>, yu <kkndyu@...il.com>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Stephen Bates <sbates@...thlin.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Eric Wehage <Eric.Wehage@...wei.com>,
Alexander Duyck <alexander.h.duyck@...ux.intel.com>
Subject: Re: How to force RC to forward p2p TLPs
On 2018-12-28 7:29 p.m., Bjorn Helgaas wrote:
>> 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.
As far as I know, this is not possible with any RCs I've worked with.
For our work, we ensure we disable ACS on paths between peers that want
to communicate. This is why we introduced the 'disable_acs_redir' kernel
parameter[1] to selectively disable ACS for bridges along P2P paths.
>> So is there some spec or document to describe how to set the RC? Any
>> suggestion is appreciated.
If there is, it would be the documentation for your specific RC. Odds
are, the RC simply does not support this.
Logan
[1] https://patchwork.kernel.org/patch/10549279/
Powered by blists - more mailing lists