Return-path: Received: from [2002:a646:1c45::1] (helo=ebiederm.dsl.xmission.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1IxSoh-0001iz-3m for kexec@lists.infradead.org; Wed, 28 Nov 2007 19:43:27 +0000 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu References: <200711271445.56792.ak@suse.de> <474C64CB.7080004@redhat.com> <20071127194220.GG14887@hmsendeavour.rdu.redhat.com> <20071127200011.GA3703@redhat.com> <20071127222408.GH24223@one.firstfloor.org> <474CA733.9050908@redhat.com> <20071128153649.GC3192@redhat.com> <20071128160206.GA21286@hmsendeavour.rdu.redhat.com> <20071128190525.GD3192@redhat.com> Date: Wed, 28 Nov 2007 12:42:22 -0700 In-Reply-To: <20071128190525.GD3192@redhat.com> (Vivek Goyal's message of "Wed, 28 Nov 2007 14:05:25 -0500") Message-ID: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: Vivek Goyal Cc: Ben Woodard , Neil Horman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Andi Kleen , hbabu@us.ibm.com, Andi Kleen Vivek Goyal writes: > Ok. Got it. So in this case we route the interrupts directly through LAPIC > and put LVT0 in ExtInt mode and IOAPIC is bypassed. > > I am looking at Intel Multiprocessor specification v1.4 and as per figure > 3-3 on page 3-9, 8259 is connected to LINTIN0 line, which in turn is > connected to LINTIN0 pin on all processors. If that is the case, even in > this mode, all the CPU should see the timer interrupts (which is coming > from 8259)? However things are implemented completely differently now. I don't think the coherent hypertransport domain of AMD processors actually routes ExtINT interrupts to all cpus but instead one (the default route?) is picked. So I think for the kdump case we pretty much need to use an IOAPIC in virtual wire mode for recent AMD systems. For current Intel systems I believe either scenario still works. > Can you print the LAPIC registers (print_local_APIC) during normal boot > and during kdump boot and paste here? It's worth a look. I still think we need to just use apic mode at kernel startup, and be done with it. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec