Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Horman
Date: Friday, December 7, 2007 - 8:53 am

On Fri, Dec 07, 2007 at 10:16:23AM -0500, Vivek Goyal wrote:
See disable_APIC_timer().  It seems to set the mask bit in the APIC_LVTT entry.

I understand your desire, but clearly, something prevents it.  Note our earlier
conversation, this bit doesn't actually force a unicast of an interrupt packet,
but simply masks the destination field.  When set to zero, it simply means that
the ht interrupt packet destination field is restricted to 4 bits rather than 8.
So its not like when its set to zero we are guaranteed that it is forced to a
single processor anyway.  All setting this bit does is ensure that if any apics
out on a system are addresed using an extended apic id, that interrupts can
reach them.  Thats why it was suggested that this bit only be forcibly set if
bit 18 is also set.

It doesn't! When booting normally getting interrupts to apics that use 4 bit
apic ids is sufficient since cpu0 is in that set, but if we crash on a cpu with
an extended id, we hang.

It doesnt!  It hangs in the kdump kernel.  It works well normally because
interrupts are delivered to cpus who's apic ids fit into 4 bits.


Its not a forced broadcast, its a mask on the apic id.  The IOAPIC still
addresses specific cpus.

The IOAPIC handles that.

Regards
Neil


-- 
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@redhat.com
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Mon Nov 26, 9:12 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 4:19 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 6:28 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 7:56 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 8:30 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 3:38 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 5:15 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Nov 27, 5:43 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Wed Nov 28, 10:36 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Wed Nov 28, 12:42 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Thu Nov 29, 7:54 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Neil Horman, (Fri Dec 7, 8:53 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Fri Dec 7, 11:36 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Fri Dec 7, 11:46 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Mon Dec 10, 6:08 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Mon Dec 10, 6:17 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Mon Dec 10, 9:48 pm)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Dec 11, 8:29 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Tue Dec 11, 11:46 am)
Re: [PATCH] k8: Enable legacy irqs with extended cpu ids, Eric W. Biederman, (Wed Dec 12, 1:43 am)
Re: [PATCH] kexec: force x86_64 arches to boot kdump kerne ..., Eric W. Biederman, (Wed Dec 12, 2:32 pm)