From: Sander Eikelenboom Subject: Re: [PATCH] amd iommu: Dump flags of IO page faults Date: Fri, 7 Sep 2012 12:15:11 +0200 Message-ID: <148712299.20120907121511@eikelenboom.it> References: <504764E2.4000809@amd.com> <326589347.20120906005936@eikelenboom.it> <5048A603.3070207@amd.com> <483486315.20120906155001@eikelenboom.it> <5048BB29.4040900@amd.com> <488803362.20120907093241@eikelenboom.it> <5049E0400200007800099B05@nat28.tlf.novell.com> <1188497031.20120907120041@eikelenboom.it> <5049E3470200007800099B3F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5049E3470200007800099B3F@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Wei Wang , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Friday, September 7, 2012, 12:06:31 PM, you wrote: >>>> On 07.09.12 at 12:00, Sander Eikelenboom wrote: >> Friday, September 7, 2012, 11:53:36 AM, you wrote: >> >>>>>> On 07.09.12 at 09:32, Sander Eikelenboom wrote: >>>> 4.1: Capabilities: [54] MSI: Enable- Count=1/1 Maskable- 64bit+ >>>> 4.2: Capabilities: [54] MSI: Enable+ Count=1/1 Maskable- 64bit+ >> >>> No surprise you're not seeing any faults on 4.1 - there's no way >>> they could get reported. I'm somewhat hesitant to pull the >>> workaround patch from 4.2 into 4.1, as it's wrong for the kernel >>> to touch the MSI setting of the IOMMU (which is under the >>> control of Xen) in the first place, but the kernel side patch I had >>> submitted a while ago wasn't received well. And that patch isn't >>> really small, and it would remain to be seen what other >>> dependencies it would have... >> >> Ok so that would mean that in the 4.1 case, the IOMMU is doing nothing ? > No, it just can't report faults (they would need to be polled for). > Also, saying "in the 4.1 case" is wrong here - this really depends > on whether you have an affected Dom0 kernel. Things work fine > if the Dom0 kernel doesn't trample over Xen's setup. Except for the IO PAGE FAULT in xl dmesg, which is reported before the kernel even gets loaded with xen-4.2. I don't see that one on 4.1 either, so that wouldn't add up to it being a dom0 kernel problem only ... > Jan