From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1437464AbdDZKOQ (ORCPT ); Wed, 26 Apr 2017 06:14:16 -0400 Received: from 8bytes.org ([81.169.241.247]:58783 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1437449AbdDZKOI (ORCPT ); Wed, 26 Apr 2017 06:14:08 -0400 Date: Wed, 26 Apr 2017 12:14:05 +0200 From: Joerg Roedel To: Samuel Sieb Cc: Linux Kernel Subject: Re: AMD IOMMU causing filesystem corruption Message-ID: <20170426101405.GJ7266@8bytes.org> References: <5ea65f55-e5eb-11a5-14ab-e721d2f95ed6@sieb.net> <20170403213909.GR7266@8bytes.org> <32afc9d1-a2db-f9dc-bbe0-d894967dc8ad@sieb.net> <935473d9-e75b-c019-0dde-063855067858@sieb.net> <20170404073215.GS7266@8bytes.org> <5838b65d-0f2f-86b1-1041-a28d42fc9881@sieb.net> <20170407102739.GY7266@8bytes.org> <4e1ccc54-440b-b848-5623-2c5849e2d0c1@sieb.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e1ccc54-440b-b848-5623-2c5849e2d0c1@sieb.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 " should give you that info. Joerg