From: "Jan Beulich" Subject: Re: [PATCH 1/2 v5] iommu/amd: Fix logic for clearing the IOMMU interrupt bits Date: Fri, 14 Jun 2013 07:27:42 +0100 Message-ID: <51BAD3FE02000078000DE433@nat28.tlf.novell.com> References: <1370840751-11277-1-git-send-email-suravee.suthikulpanit@amd.com> <51B5CCF002000078000DC9A5@nat28.tlf.novell.com> <20130610121855.GE8802@ocelot.phlegethon.org> <51B5E58802000078000DCA7E@nat28.tlf.novell.com> <51B6E40A02000078000DCF6C@nat28.tlf<51B6E40A02000078000DCF6C@nat28.tlf.novell.com> <51B7ACB5.7070805@amd.com> <51B8303302000078000DD6B6@nat28.tlf.novell.com> <51B8F814.70202@amd.com> <51B923F1.7000802@amd.com> <51BA082C02000078000DE0C0@nat28.tlf.novell.com> <51B9F481.50204@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51B9F481.50204@amd.com> 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: Suravee Suthikulanit Cc: Tim Deegan , xen-devel@lists.xen.org, Jacob Shin , Sherry Hurwitz List-Id: xen-devel@lists.xenproject.org >>> On 13.06.13 at 18:34, Suravee Suthikulanit wrote: > Basically, the only different is this line that only appears in the "Bad" > version. > > (XEN) MSI 56 vec=28 fixed edge deassert phys cpu dest=00000001 mask=0/0/1 > > "xl debug-key i" also show the following information > > (XEN) IRQ: 56 affinity:1 vec:28 type=AMD-IOMMU-MSI status=00000000 mapped, unbound There are several questionable things here: - the interrupt being of "deassert" kind - destination mode being physical (while all others are logical) - the interrupt being unbound (i.e. there's no action associated with it, and hence no handler would ever get called) > Not sure what "status=0" means. This says that none of the IRQ_* flags are set in desc->status, which isn't in itself problematic for non-guest interrupts. Jan