* [24/91] x86, apic: Fix apic=debug boot crash
[not found] <20100824224617.GA5440@kroah.com>
@ 2010-08-24 22:41 ` Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2010-08-24 22:41 UTC (permalink / raw)
To: linux-kernel, stable
Cc: jeremy, xen-devel, konrad.wilk, Ingo Molnar, alan, akpm, torvalds,
stable-review, Daniel Kiper
2.6.34-stable review patch. If anyone has any objections, please let us know.
------------------
From: Daniel Kiper <dkiper@net-space.pl>
commit 05e407603e527f9d808dd3866d3a17c2ce4dfcc5 upstream.
Fix a boot crash when apic=debug is used and the APIC is
not properly initialized.
This issue appears during Xen Dom0 kernel boot but the
fix is generic and the crash could occur on real hardware
as well.
Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
Cc: xen-devel@lists.xensource.com
Cc: konrad.wilk@oracle.com
Cc: jeremy@goop.org
LKML-Reference: <20100819224616.GB9967@router-fw-old.local.net-space.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/x86/kernel/apic/io_apic.c | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -1732,6 +1732,8 @@ __apicdebuginit(void) print_IO_APIC(void
struct irq_pin_list *entry;
cfg = desc->chip_data;
+ if (!cfg)
+ continue;
entry = cfg->irq_2_pin;
if (!entry)
continue;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-24 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100824224617.GA5440@kroah.com>
2010-08-24 22:41 ` [24/91] x86, apic: Fix apic=debug boot crash Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).