Re: [PATCH v4 12/18] PCI/P2PDMA: Honor ACS egress control vectors

[email protected]
Newsgroups org.kernel.vger.linux-pci
Message-ID <[email protected]>
> From: Leon Romanovsky <[email protected]>
> 
> An enabled Egress Control bit does not by itself redirect a peer Request.
> The result depends on the vector bit for the target port; a set bit without
> Request Redirect is an ACS Violation, while a clear bit permits direct
> routing.
> 
> Evaluate controls only at the path divergence: Request Redirect and Egress
> Control on the client-side port, and Completion Redirect on the
> provider-side port. Below it, traffic toward the other branch already
> routes upstream.
> 
> Reject unreadable vectors and ACS Violations. Neither condition redirects
> the transaction upstream, so a host-bridge mapping cannot make the path
> usable.
> 
> Tested-by: Tushar Dave <[email protected]>
> Fixes: 52916982af48 ("PCI/P2PDMA: Support peer-to-peer memory")
> Signed-off-by: Leon Romanovsky <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=12
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.