From: "Jan Beulich" Subject: RE: x2apic mode vs. interrupt remapping Date: Wed, 03 Mar 2010 14:14:04 +0000 Message-ID: <4B8E7CBC020000780003276E@vpn.id2.novell.com> References: <4B8E6E3802000078000326ED@vpn.id2.novell.com> <4B8E775E0200007800032723@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 15:09 >>> >When iommu_supports_eim is called in enable_x2apic, drhd is already >parsed in acpi_boot_init, Provided there is any - in the given case there is none. Perhaps the function should also return 0 if the list of drhd-s is empty? >so iommu_supports_eim should return hardware's real capability. That >is to say, if eim is no supported on platform, x2apic shouldn't be >enabled at all.=20 Jan