login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
24
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
Date: Tuesday, August 24, 2010 - 2:47 pm
On 08/24/2010 02:39 PM, Daniel Kiper wrote:
quoted text
> Hello, > > On 08/23/2010 07:54 AM, H. Peter Anvin wrote: >> It's already applied. > > Thx. > > On Mon, Aug 23, 2010 at 10:59:19AM -0700, Yinghai Lu wrote: > [...] >>>>>> x86, apic: Fix apic=debug boot crash >>>>>> >>>>>> 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. >>>>> >>>>> Do you have any report on real hardware? >>>>> that could not happen on real hardware. >>>> >>>> Till now no, however I think it is good idea >>>> to apply this patch now. It is not worth to wait >>>> for another null pointer dereference. >> >> no, we should add BUG_ON() etc debug info there to see why that null cfg could happen. >> because according to code, we should have null there. > > I think that BUG_ON() is too strong here because > it is "debug" function and it should work also > with let's say "invalid" data (in Xen case it is > normal because APIC state is managed directly > by hypervisor). > > Additionally, with this patch it is easy to > differentiate between cfg != NULL and > cfg == NULL. Please look below: > > cfg != NULL: > IRQ to pin mappings: > IRQ0 -> 0:2 > IRQ1 -> 0:1 > IRQ3 -> 0:3 > IRQ4 -> 0:4 > IRQ5 -> 0:5 > IRQ6 -> 0:6 > IRQ7 -> 0:7 > IRQ8 -> 0:8 > IRQ9 -> 0:9 > IRQ10 -> 0:10 > IRQ11 -> 0:11 > IRQ12 -> 0:12 > IRQ13 -> 0:13 > IRQ14 -> 0:14 > IRQ15 -> 0:15 > .................................... done. > > cfg == NULL: > IRQ to pin mappings: > .................................... done. > > If I missed something or if you have any > questions please drop me a line.
I mean you should figure out why xen ops could have null cfg. Yinghai --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] arch/x86/kernel/apic/io_apic.c: Fix for crash when ...
, Daniel Kiper
, (Thu Aug 19, 3:46 pm)
[tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, tip-bot for Daniel Kiper
, (Fri Aug 20, 5:41 am)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Yinghai Lu
, (Fri Aug 20, 12:24 pm)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Daniel Kiper
, (Mon Aug 23, 1:12 am)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, H. Peter Anvin
, (Mon Aug 23, 7:54 am)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Yinghai Lu
, (Mon Aug 23, 10:59 am)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Daniel Kiper
, (Tue Aug 24, 2:39 pm)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Yinghai Lu
, (Tue Aug 24, 2:47 pm)
Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
, Daniel Kiper
, (Wed Aug 25, 6:51 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rusty Russell
Re: 2.6.22-rc3-mm1
Bill Fink
Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32
Jeffrey V. Merkey
Re: Versioning file system
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
PCI hotplug: acpiphp: remove superfluous _HPP/_HPX evaluation
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Rafael J. Wysocki
Re: [PATCH] igb: fix kexec with igb
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
webmaster Maintenance
联系系统管理员
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Jack J. Woehr
Re: Real men don't attack straw men
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Tony Abernethy
Re: The Atheros story in much fewer words
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Shawn O. Pearce
Re: Bugs in Gitosis
Alex Riesen
Re: git exclude patterns for directory
David Kastrup
Re: I'm a total push-over..
Colocation donated by:
Syndicate