On 08/05/18 01:17 AM, Christian KÃnig wrote:
AMD APUs mandatory need the ACS flag set for the GPU integrated in theWell, given that the current set only disables ACS bits on bridges
CPU when IOMMU is enabled or otherwise you will break SVM.
(previous versions were only on switches) this shouldn't be an issue for
integrated devices. We do not disable ACS flags globally.
And what exactly is the problem here? I'm currently testing P2P withIn addition to Stephen's comments, seeing we've established a general
GPUs in different IOMMU domains and at least with AMD IOMMUs that works
perfectly fine.
need to avoid the root complex (until we have a whitelist at least) we
must have ACS disabled along the path between the devices. Otherwise,
all TLPs will go through the root complex and if there is no support it
will fail.
If the consensus is we want a command line option, then so be it. But
we'll have to deny pretty much all P2P transactions unless the user
correctly disables ACS along the path using the command line option and
this is really annoying for users of this functionality to understand
how to do that correctly.
Logan