From: Andreas Hartmann <andihartmann@01019freenet.de>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: ryzen X370: iommu - unusable huge groups
Date: Sun, 16 Jul 2017 21:39:59 +0200 [thread overview]
Message-ID: <7b5757d3-d0dc-e70a-2c15-954d252a9834@01019freenet.de> (raw)
In-Reply-To: <20170716125630.7cfcec1c@w520.home>
On 07/16/2017 at 08:56 PM, Alex Williamson wrote:
> On Sun, 16 Jul 2017 18:53:11 +0200
> Andreas Hartmann <andihartmann@01019freenet.de> wrote:
>
>> Hello Alex!
>>
>> Nice to hear you again :-)
>>
>>
>>
>> On 07/16/2017 at 04:53 PM Alex Williamson wrote:
>>> On Sun, 16 Jul 2017 07:44:01 +0200
>>> Andreas Hartmann <andihartmann@01019freenet.de> wrote:
>>>
>>>> Hello!
>>>>
>>>> I've got a Asus X370-Pro motherboard with enabled iommu. Unfortunately,
>>>> the group 0 is mostly all of the system :-).
>>>>
>>>> [ 2.602426] iommu: Adding device 0000:00:01.0 to group 0
>>>> [ 2.602440] iommu: Adding device 0000:00:01.3 to group 0
>>>> [ 2.603368] iommu: Adding device 0000:03:00.0 to group 0
>>>> [ 2.603377] iommu: Adding device 0000:03:00.1 to group 0
>>>> [ 2.603385] iommu: Adding device 0000:03:00.2 to group 0
>>>> [ 2.603396] iommu: Adding device 0000:1d:00.0 to group 0
>>>> [ 2.603406] iommu: Adding device 0000:1d:02.0 to group 0
>>>> [ 2.603417] iommu: Adding device 0000:1d:03.0 to group 0
>>>> [ 2.603428] iommu: Adding device 0000:1d:04.0 to group 0
>>>> [ 2.603439] iommu: Adding device 0000:1d:06.0 to group 0
>>>> [ 2.603450] iommu: Adding device 0000:1d:07.0 to group 0
>>>> [ 2.603466] iommu: Adding device 0000:24:00.0 to group 0
>>>> [ 2.603481] iommu: Adding device 0000:25:00.0 to group 0
>>>> [ 2.603498] iommu: Adding device 0000:26:00.0 to group 0
>>>> [ 2.603513] iommu: Adding device 0000:27:00.0 to group 0
>>>
>>>
>>> Update your motherboard BIOS, AMD AGESA 1.0.0.6 is supposed to
>>> enable ACS in the PCIe root ports. Thanks,
>>
>> Group 0 is now group 10 - that's mostly all :-( - no significant change.
>> (Version 805 which should contain AGESA 1.0.0.6).
>>
>>
>> [ 2.600097] iommu: Adding device 0000:03:00.0 to group 10
>> [ 2.600117] iommu: Adding device 0000:03:00.1 to group 10
>> [ 2.600136] iommu: Adding device 0000:03:00.2 to group 10
>> [ 2.600148] iommu: Adding device 0000:1d:00.0 to group 10
>> [ 2.600158] iommu: Adding device 0000:1d:02.0 to group 10
>> [ 2.600169] iommu: Adding device 0000:1d:03.0 to group 10
>> [ 2.600180] iommu: Adding device 0000:1d:04.0 to group 10
>> [ 2.600190] iommu: Adding device 0000:1d:06.0 to group 10
>> [ 2.600201] iommu: Adding device 0000:1d:07.0 to group 10
>> [ 2.600216] iommu: Adding device 0000:24:00.0 to group 10
>> [ 2.600233] iommu: Adding device 0000:25:00.0 to group 10
>> [ 2.600249] iommu: Adding device 0000:26:00.0 to group 10
>> [ 2.600266] iommu: Adding device 0000:27:00.0 to group 10
>>
>>
>> All devices that are used are in the same group again.
>>
>> Isn't it possible to allow them to put to VM anyway if there is no peer
>> to peer communication - same as it was possible with the previous
>> chipset (990xa)?
>
> Ah, I see you have a PCIe switch with downstream ports 1d.*.0 where
> the downstream switch ports don't support ACS (not surprising for
> something reporting ASMedia as a subsystem capability). So ACS was
> broken at multiple levels and now that it's exposed at the root port
> it's still broken by the non-ACS switch. The endpoints downstream of
> the switch are not sufficiently isolated to separate between VMs,
> sorry, the hardware isn't up to the task at hand. Thanks,
In other words, you're telling, that there can't be done anything to get
it working? Do you know any other board, which doesn't have this problem
and could work?
Gigabyte? Asrock?
Thanks,
Andreas
next prev parent reply other threads:[~2017-07-16 19:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-16 5:44 ryzen X370: iommu - unusable huge groups Andreas Hartmann
2017-07-16 14:53 ` Alex Williamson
2017-07-16 16:53 ` Andreas Hartmann
2017-07-16 18:56 ` Alex Williamson
2017-07-16 19:39 ` Andreas Hartmann [this message]
2017-07-17 13:52 ` Suravee Suthikulpanit
2018-09-08 14:59 ` Andreas Hartmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7b5757d3-d0dc-e70a-2c15-954d252a9834@01019freenet.de \
--to=andihartmann@01019freenet.de \
--cc=alex.williamson@redhat.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).