linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Devices behind a non-ACS switch are assigned different iommu-groups
@ 2017-10-29  7:56 Ilya Lesokhin
  2017-11-06 20:52 ` Alex Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Ilya Lesokhin @ 2017-10-29  7:56 UTC (permalink / raw)
  To: alex.williamson@redhat.com, linux-pci@vger.kernel.org

Hi,
I was testing devices assignment behind a non-ACS switch and to my surprise=
,
Devices connected to different ports were assigned different iommu-groups.

The reason for this behavior is that pci_acs_enabled(...) considers the swi=
tch=20
Upstream port to have ACS enabled.
http://elixir.free-electrons.com/linux/v4.13.1/source/drivers/pci/pci.c#L29=
14
(the upstream port is not a multifunction device).

I'm not sure what the correct solution is but I believe, the upstream port
Shouldn't be considered in pci_acs_path_enable(...).

Thanks,
Ilya

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

end of thread, other threads:[~2017-11-06 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29  7:56 Devices behind a non-ACS switch are assigned different iommu-groups Ilya Lesokhin
2017-11-06 20:52 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).