From: "Jan Beulich" Subject: Re: Xen-unstable-staging: Xen BUG at iommu_map.c:455 Date: Tue, 21 Apr 2015 09:11:07 +0100 Message-ID: <5536223B0200007800074240@mail.emea.novell.com> References: <55294CA8.2070208@citrix.com> <55294DF9.9040207@citrix.com> <1189087521.20150411192519@eikelenboom.it> <55295B7D.4020107@citrix.com> <4810067032.20150411194249@eikelenboom.it> <55296730.30802@citrix.com> <1468678653.20150411213342@eikelenboom.it> <55298278.2080406@citrix.com> <1698372572.20150411230533@eikelenboom.it> <55299391.4030900@citrix.com> <20150416092830.GD13443@deinos.phlegethon.org> <5535415E0200007800073E9D@mail.emea.novell.com> <199680392.20150420205037@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YkTGw-0000Xz-Ll for xen-devel@lists.xenproject.org; Tue, 21 Apr 2015 08:11:10 +0000 In-Reply-To: <199680392.20150420205037@eikelenboom.it> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: Andrew Cooper , Paul Durrant , Tim Deegan , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 20.04.15 at 20:50, wrote: > Monday, April 20, 2015, 6:11:42 PM, you wrote: >>>>> On 16.04.15 at 11:28, wrote: >>> At 22:35 +0100 on 11 Apr (1428791713), Andrew Cooper wrote: >>>> At least we now understand why it happens. I will defer to others CC'd >>>> on this thread for their opinions in the matter. >>> >>> The patch semes like a pretty good check to me, though I'm not >>> convinced it's race-free. At the least I'd cache the m2p lookup so we >>> use the same value for the checks and the map_page() call. >>> >>> And IMO update_paging_mode() ought to log and reject bogus GFNs as >>> well. > >> could you give the patch below a try, namely also in the context >> of seeing again the issue originally fixed by Andrew's initial patch? >> Please make sure you try a debug build and you have >> "iommu=debug" on the Xen command line. > > I'm running with it now, have seen no issues so far ! Interesting - didn't you say that as a side effect of Andrew's patch you saw massive log spam? Jan