From: "Jan Beulich" Subject: Re: APIC handling on x86-64 Date: Mon, 20 Mar 2006 14:53:53 +0100 Message-ID: <441EB3F20200007800013DC5@emea1-mh.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: 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: Keir.Fraser@cl.cam.ac.uk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >Yes, that's what stopped me taking x86/64 Linux code originally. I >wonder if we can take just the IPI code from x86/64, plus whatever >small changes we need to fix problems like this x460 bug. IPI code is >reasonably self contained relative to the bulk of the apic code in >apic.c. The x86/64 IPI code was a bunch cleaner than the i386 code last >time I looked, and I don't think there are lurking legacy 32-bit issues >in that area that would bite us? Hmm, I'm not sure. Both because it wouldn't address all issues (the I/O APIC redirection table entries also need to be programmed in physical mode) and because I'm not so certain about legacy 32-bit issues (on 32-bits you still have to account for the PentiumPro/II/III behavior, namely the only 4-bit wide IDs, as that at least seems to imply different cut-off criteria for the decision what destination mode to use). Jan