Re: AMD IOMMU causing filesystem corruption

2017-04-03 Thread Samuel Sieb
On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine? Yes, that works, thank you! Now I'm

AMD IOMMU causing filesystem corruption

2017-04-03 Thread Samuel Sieb
I filed a bug in bugzilla, but I wasn't sure what category to put it in, so I suspect I ended up picking one that doesn't get looked at much. https://bugzilla.kernel.org/show_bug.cgi?id=195051 The issue is that on a specific Acer laptop with a dual-core A9, if I don't disable the IOMMU using

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Samuel Sieb
On 04/03/2017 08:37 PM, Samuel Sieb wrote: On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Samuel Sieb
On 04/04/2017 12:32 AM, Joerg Roedel wrote: On Tue, Apr 04, 2017 at 12:11:31AM -0700, Samuel Sieb wrote: Unfortunately, that turned out to be a bit premature. After compiling a kernel on it remotely over ssh (not interacting with the logged in desktop), a reboot failed with endless completion

Re: AMD IOMMU causing filesystem corruption

2017-04-08 Thread Samuel Sieb
On 04/07/2017 03:22 AM, Joerg Roedel wrote: Can you please send me output of 'lspci -nv' on your system? I have to figure out how to rebuild the system and find the time to do it before I can test that patch, but here's the lspci output: 00:00.0 0600: 1022:1576 Subsystem: 1025:1099

Re: AMD IOMMU causing filesystem corruption

2017-04-26 Thread Samuel Sieb
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

Re: AMD IOMMU causing filesystem corruption

2017-04-25 Thread Samuel Sieb
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

Re: [PATCH] acer-wmi: setup accelerometer when appropriate acpi device was found

2017-04-28 Thread Samuel Sieb
On 04/28/2017 01:23 AM, Lee, Chun-Yi wrote: Fixes: 98d610c3739a ("acer-wmi: setup accelerometer when machine has appropriate notify event") Reference: https://bugzilla.kernel.org/show_bug.cgi?id=193761 Reported-by: Samuel Sieb <samuel-kb...@sieb.net> Signed-off-by: "Lee, Ch

Re: AMD IOMMU causing filesystem corruption

2017-04-27 Thread Samuel Sieb
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

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

2017-05-26 Thread Samuel Sieb
; Daniel Drake; Samuel Sieb Subject: Re: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs Hi Alexander, On Tue, May 23, 2017 at 07:54:12PM +, Deucher, Alexander wrote: I finally got an answer from the hw team and we validated ATS on stoney as well so in theory this patch shouldn’t

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

2017-06-15 Thread Samuel Sieb
On 06/15/2017 07:04 AM, Joerg Roedel wrote: Hi Bjorn, On Fri, Apr 07, 2017 at 04:32:18PM +0200, Joerg Roedel wrote: From: Joerg Roedel ATS is broken on this hardware and causes IOMMU stalls and system failure. Disable ATS on these devices to make them usable again with IOMMU

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

2017-08-29 Thread Samuel Sieb
On 07/12/2017 07:56 PM, Bjorn Helgaas wrote: On Fri, Apr 07, 2017 at 04:32:18PM +0200, Joerg Roedel wrote: From: Joerg Roedel ATS is broken on this hardware and causes IOMMU stalls and system failure. Disable ATS on these devices to make them usable again with IOMMU enabled.

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

2017-08-29 Thread Samuel Sieb
On 07/12/2017 07:56 PM, Bjorn Helgaas wrote: On Fri, Apr 07, 2017 at 04:32:18PM +0200, Joerg Roedel wrote: From: Joerg Roedel ATS is broken on this hardware and causes IOMMU stalls and system failure. Disable ATS on these devices to make them usable again with IOMMU enabled. Note that the

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

2017-05-26 Thread Samuel Sieb
; Daniel Drake; Samuel Sieb Subject: Re: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs Hi Alexander, On Tue, May 23, 2017 at 07:54:12PM +, Deucher, Alexander wrote: I finally got an answer from the hw team and we validated ATS on stoney as well so in theory this patch shouldn’t

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

2017-06-15 Thread Samuel Sieb
On 06/15/2017 07:04 AM, Joerg Roedel wrote: Hi Bjorn, On Fri, Apr 07, 2017 at 04:32:18PM +0200, Joerg Roedel wrote: From: Joerg Roedel ATS is broken on this hardware and causes IOMMU stalls and system failure. Disable ATS on these devices to make them usable again with IOMMU enabled. Note

Re: AMD IOMMU causing filesystem corruption

2017-04-08 Thread Samuel Sieb
On 04/07/2017 03:22 AM, Joerg Roedel wrote: Can you please send me output of 'lspci -nv' on your system? I have to figure out how to rebuild the system and find the time to do it before I can test that patch, but here's the lspci output: 00:00.0 0600: 1022:1576 Subsystem: 1025:1099

Re: AMD IOMMU causing filesystem corruption

2017-04-25 Thread Samuel Sieb
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

Re: AMD IOMMU causing filesystem corruption

2017-04-26 Thread Samuel Sieb
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

Re: AMD IOMMU causing filesystem corruption

2017-04-27 Thread Samuel Sieb
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

Re: [PATCH] acer-wmi: setup accelerometer when appropriate acpi device was found

2017-04-28 Thread Samuel Sieb
On 04/28/2017 01:23 AM, Lee, Chun-Yi wrote: Fixes: 98d610c3739a ("acer-wmi: setup accelerometer when machine has appropriate notify event") Reference: https://bugzilla.kernel.org/show_bug.cgi?id=193761 Reported-by: Samuel Sieb Signed-off-by: "Lee, Chun-Yi" I have veri

AMD IOMMU causing filesystem corruption

2017-04-03 Thread Samuel Sieb
I filed a bug in bugzilla, but I wasn't sure what category to put it in, so I suspect I ended up picking one that doesn't get looked at much. https://bugzilla.kernel.org/show_bug.cgi?id=195051 The issue is that on a specific Acer laptop with a dual-core A9, if I don't disable the IOMMU using

Re: AMD IOMMU causing filesystem corruption

2017-04-03 Thread Samuel Sieb
On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine? Yes, that works, thank you! Now I'm

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Samuel Sieb
On 04/03/2017 08:37 PM, Samuel Sieb wrote: On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Samuel Sieb
On 04/04/2017 12:32 AM, Joerg Roedel wrote: On Tue, Apr 04, 2017 at 12:11:31AM -0700, Samuel Sieb wrote: Unfortunately, that turned out to be a bit premature. After compiling a kernel on it remotely over ssh (not interacting with the logged in desktop), a reboot failed with endless completion