From: Bjorn Helgaas <helgaas@kernel.org>
To: Nikolai Kostrigin <nickel@altlinux.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
jroedel@suse.de, Alex Deucher <alexander.deucher@amd.com>
Subject: Re: [PATCH RESEND 1/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs
Date: Tue, 9 Apr 2019 16:59:28 -0500 [thread overview]
Message-ID: <20190409215927.GC256045@google.com> (raw)
In-Reply-To: <20190408103725.30426-2-nickel@altlinux.org>
[+cc Alex]
This claims to be a resend, but I don't see a previous posting.
There *was* discussion when the quirk was added two years ago for a
different device. As part of that, Alex thought only that device
would be affected and ATS was validated on other GPUs:
https://lore.kernel.org/lkml/BN6PR12MB165278346BE8A76B1E4412AFF7EA0@BN6PR12MB1652.namprd12.prod.outlook.com/
On Mon, Apr 08, 2019 at 01:37:25PM +0300, Nikolai Kostrigin wrote:
> ATS is broken on this hardware (at least for Stoney Ridge
> based laptop) and causes IOMMU stalls and
> system failure. Disable ATS on these devices to make them
> usable again with IOMMU enabled
> Thanks to Joerg Roedel <jroedel@suse.de> for help.
>
> https://bugzilla.kernel.org/show_bug.cgi?id=194521
>
> Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
Joerg, I'm happy to merge this if you would review or ack it. I don't
know enough to conclude that this is the root cause. It'd be nice to
have an actual AMD erratum. Maybe it would even have a list of
affected devices so we could get them all at once so people wouldn't
have to trip over them one by one.
> ---
> drivers/pci/quirks.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index 4700d24e5d55..abb2532e16bf 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -4876,6 +4876,7 @@ static void quirk_no_ats(struct pci_dev *pdev)
>
> /* AMD Stoney platform GPU */
> DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x98e4, quirk_no_ats);
> +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x6900, quirk_no_ats);
> #endif /* CONFIG_PCI_ATS */
>
> /* Freescale PCIe doesn't support MSI in RC mode */
> --
> 2.21.0
>
next prev parent reply other threads:[~2019-04-09 21:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-08 10:37 [PATCH RESEND 0/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs Nikolai Kostrigin
2019-04-08 10:37 ` [PATCH RESEND 1/1] " Nikolai Kostrigin
2019-04-09 21:59 ` Bjorn Helgaas [this message]
[not found] ` <8b4659c8-3f49-de62-a616-a35a1d0c68b9@basealt.ru>
2019-04-10 8:03 ` Nikolai Kostrigin
2019-04-10 21:26 ` Bjorn Helgaas
2019-04-10 14:46 ` Deucher, Alexander
2019-04-10 15:59 ` Deucher, Alexander
2019-04-11 12:36 ` jroedel
2019-04-11 12:38 ` Joerg Roedel
2019-04-11 13:59 ` Bjorn Helgaas
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=20190409215927.GC256045@google.com \
--to=helgaas@kernel.org \
--cc=alexander.deucher@amd.com \
--cc=jroedel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=nickel@altlinux.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