lkml.org 
[lkml]   [2018]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 04/10] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches


On 01/03/18 04:15 PM, Bjorn Helgaas wrote:
> The question is what the relevant switch is. We call pci_enable_acs()
> on every PCI device, including Root Ports. It looks like this relies
> on get_upstream_bridge_port() to filter out some things. I don't
> think get_upstream_bridge_port() is doing the right thing, so we need
> to sort that out first, I guess.

Yes, well if a port has an upstream bridge port and that port has an
upstream bridge port we are almost certainly looking at a port in a
switch. If you have a better suggestion to only disable ACS bits on
downstream switch ports I'd be happy to consider it.


> This might be a good start, but whatever the implications are, they
> need to be distilled and made clear directly in the changelog and the
> Kconfig help text.

Well, I tried. I'll expand on it for v3.

Logan

\
 
 \ /
  Last update: 2018-03-02 00:59    [W:0.135 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site