From: "Jan Beulich" Subject: RE: x2apic mode vs. interrupt remapping Date: Wed, 03 Mar 2010 13:51:10 +0000 Message-ID: <4B8E775E0200007800032723@vpn.id2.novell.com> References: <4B8E6E3802000078000326ED@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xiantao Zhang Cc: "xen-devel@lists.xensource.com" , Dexuan Cui List-Id: xen-devel@lists.xenproject.org >>> "Zhang, Xiantao" 03.03.10 14:32 >>> >According to the #Cset20168, x2apic is only enabled when all VT-d >engines support IR and EIM support, so the policy should be same >with Linux's. I would say that c/s has the intended behavior you describe, but since iommu_setup() runs after enable_x2apic(), the call to iommu_supports_eim() still returns true (iommu_enabled, iommu_qinval, and iommu_inremap all have an initial value of 1, and with no drhd present the function returns 1. Jan