Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1630837 > unrolled thread

Re: AMD IOMMU causing filesystem corruption

Started bySamuel Sieb <samuel@sieb.net>
First post2017-04-25 20:00 +0200
Last post2017-04-27 21:40 +0200
Articles 5 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: AMD IOMMU causing filesystem corruption Samuel Sieb <samuel@sieb.net> - 2017-04-25 20:00 +0200
    Re: AMD IOMMU causing filesystem corruption Joerg Roedel <joro@8bytes.org> - 2017-04-26 12:20 +0200
      Re: AMD IOMMU causing filesystem corruption Samuel Sieb <samuel@sieb.net> - 2017-04-26 23:40 +0200
        Re: AMD IOMMU causing filesystem corruption Joerg Roedel <joro@8bytes.org> - 2017-04-26 23:50 +0200
          Re: AMD IOMMU causing filesystem corruption Samuel Sieb <samuel@sieb.net> - 2017-04-27 21:40 +0200

#1630837 — Re: AMD IOMMU causing filesystem corruption

FromSamuel Sieb <samuel@sieb.net>
Date2017-04-25 20:00 +0200
SubjectRe: AMD IOMMU causing filesystem corruption
Message-ID<tAcUO-7ME-17@gated-at.bofh.it>
On 04/07/2017 03:27 AM, Joerg Roedel wrote:
> Also, please try the attached debug-diff on your kernel. It completly
> disables the use of ATS in the amd-iommu driver.
> 
I applied this patch to 4.11.0 rc8 and then stress tested the laptop 
with another kernel build while running graphical applications and there 
appears to be no damage to the filesystem.  Is there any way to 
determine if ATS is enabled or disabled?

[toc] | [next] | [standalone]


#1631345

FromJoerg Roedel <joro@8bytes.org>
Date2017-04-26 12:20 +0200
Message-ID<tAsdb-UH-3@gated-at.bofh.it>
In reply to#1630837
Hi Samuel,

On Tue, Apr 25, 2017 at 10:55:24AM -0700, Samuel Sieb wrote:
> On 04/07/2017 03:27 AM, Joerg Roedel wrote:
> >Also, please try the attached debug-diff on your kernel. It completly
> >disables the use of ATS in the amd-iommu driver.
> >
> I applied this patch to 4.11.0 rc8 and then stress tested the laptop
> with another kernel build while running graphical applications and
> there appears to be no damage to the filesystem.  Is there any way
> to determine if ATS is enabled or disabled?

Great, thanks for testing the patch. The lspci tool should be able to
tell you whether the ATS capability is enabled on the GPU. With a
'lspci -vvv -s <GPUDEV>" should give you that info.


	Joerg

[toc] | [prev] | [next] | [standalone]


#1631739

FromSamuel Sieb <samuel@sieb.net>
Date2017-04-26 23:40 +0200
Message-ID<tACPg-7UA-13@gated-at.bofh.it>
In reply to#1631345
On 04/26/2017 03:14 AM, Joerg Roedel wrote:
> On Tue, Apr 25, 2017 at 10:55:24AM -0700, Samuel Sieb wrote:
>> On 04/07/2017 03:27 AM, Joerg Roedel wrote:
>>> Also, please try the attached debug-diff on your kernel. It completly
>>> disables the use of ATS in the amd-iommu driver.
>>>
>> I applied this patch to 4.11.0 rc8 and then stress tested the laptop
>> with another kernel build while running graphical applications and
>> there appears to be no damage to the filesystem.  Is there any way
>> to determine if ATS is enabled or disabled?
> 
> Great, thanks for testing the patch. The lspci tool should be able to
> tell you whether the ATS capability is enabled on the GPU. With a
> 'lspci -vvv -s <GPUDEV>" should give you that info.
> 
This test was done with the patch that always disables ATS.  Which is 
the current patch to selectively disable it?  The last patch I tried 
didn't seem to work.

[toc] | [prev] | [next] | [standalone]


#1631748

FromJoerg Roedel <joro@8bytes.org>
Date2017-04-26 23:50 +0200
Message-ID<tACYV-81s-5@gated-at.bofh.it>
In reply to#1631739
On Wed, Apr 26, 2017 at 02:31:40PM -0700, Samuel Sieb wrote:
> This test was done with the patch that always disables ATS.  Which
> is the current patch to selectively disable it?  The last patch I
> tried didn't seem to work.

Its

	[PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs


You should have received it as you were on the Cc list.



	Joerg

[toc] | [prev] | [next] | [standalone]


#1632346

FromSamuel Sieb <samuel@sieb.net>
Date2017-04-27 21:40 +0200
Message-ID<tAXqF-54u-7@gated-at.bofh.it>
In reply to#1631748
On 04/26/2017 02:43 PM, Joerg Roedel wrote:
> On Wed, Apr 26, 2017 at 02:31:40PM -0700, Samuel Sieb wrote:
>> This test was done with the patch that always disables ATS.  Which
>> is the current patch to selectively disable it?  The last patch I
>> tried didn't seem to work.
> 
> Its
> 
> 	[PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs
> 
> 
> You should have received it as you were on the Cc list.
> 
Yes, but there was some discussion about it, so I wanted to make sure 
that was the latest.  I can verify that the patch works.  ATS is 
disabled and there is no filesystem corruption.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web