login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
25
Re: [REGRESSION] x86: support for new UV apic
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Gabriel C
Subject:
Re: [REGRESSION] x86: support for new UV apic
Date: Friday, April 25, 2008 - 2:11 am
Ingo Molnar wrote:
quoted text
> * Priit Laes <plaes@plaes.org> wrote: > >> Hey, >> >> I am getting two following warnings (probable one per each CPU core) >> using the latest Linus's git: >> >> WARNING: at arch/x86/kernel/genapic_64.c:86 read_apic_id+0x30/0x62() >> Modules linked in: >> Pid: 1, comm: swapper Not tainted 2.6.25-03563-gf7288b1 #20 > > thanks - could you check the patch below, does it fix the warnings?
Hi Ingo , I got the same warning on my Core2Quad Q9300 box , your patch fixes the warning for me.
quoted text
> > Ingo > > ---------------> > Subject: x86: disable preemption in native_smp_prepare_cpus > From: Ingo Molnar <mingo@elte.hu> > Date: Fri Apr 18 11:07:10 CEST 2008 > > Priit Laes reported the following warning: > > Call Trace: > [<ffffffff8022f1e1>] warn_on_slowpath+0x51/0x63 > [<ffffffff80282e48>] sys_ioctl+0x2d/0x5d > [<ffffffff805185ff>] _spin_lock+0xe/0x24 > [<ffffffff80227459>] task_rq_lock+0x3d/0x73 > [<ffffffff805133c3>] set_cpu_sibling_map+0x336/0x350 > [<ffffffff8021c1b8>] read_apic_id+0x30/0x62 > [<ffffffff806d921d>] verify_local_APIC+0x90/0x138 > [<ffffffff806d84b5>] native_smp_prepare_cpus+0x1f9/0x305 > [<ffffffff806ce7b1>] kernel_init+0x59/0x2d9 > [<ffffffff80518a26>] _spin_unlock_irq+0x11/0x2b > [<ffffffff8020bf48>] child_rip+0xa/0x12 > [<ffffffff806ce758>] kernel_init+0x0/0x2d9 > [<ffffffff8020bf3e>] child_rip+0x0/0x12 > > fix this by generally disabling preemption in native_smp_prepare_cpus(). > > Reported-and-bisected-by: Priit Laes <plaes@plaes.org> > Signed-off-by: Ingo Molnar <mingo@elte.hu> > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > --- > arch/x86/kernel/smpboot.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > Index: linux-x86.q/arch/x86/kernel/smpboot.c > =================================================================== > --- linux-x86.q.orig/arch/x86/kernel/smpboot.c > +++ linux-x86.q/arch/x86/kernel/smpboot.c > @@ -1181,6 +1181,7 @@ static void __init smp_cpu_index_default > */ > void __init native_smp_prepare_cpus(unsigned int max_cpus) > { > + preempt_disable(); > nmi_watchdog_default(); > smp_cpu_index_default(); > current_cpu_data = boot_cpu_data; > @@ -1197,7 +1198,7 @@ void __init native_smp_prepare_cpus(unsi > if (smp_sanity_check(max_cpus) < 0) { > printk(KERN_INFO "SMP disabled\n"); > disable_smp(); > - return; > + goto out; > } > > preempt_disable(); > @@ -1237,6 +1238,8 @@ void __init native_smp_prepare_cpus(unsi > printk(KERN_INFO "CPU%d: ", 0); > print_cpu_info(&cpu_data(0)); > setup_boot_clock(); > +out: > + preempt_enable(); > } > /* > * Early setup to make printk work.
Regards, Gabriel --
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:
[REGRESSION] x86: support for new UV apic
, Priit Laes
, (Thu Apr 24, 9:43 pm)
Re: [REGRESSION] x86: support for new UV apic
, Ingo Molnar
, (Thu Apr 24, 11:44 pm)
Re: [REGRESSION] x86: support for new UV apic
, Gabriel C
, (Fri Apr 25, 2:11 am)
Re: [REGRESSION] x86: support for new UV apic
, Priit Laes
, (Fri Apr 25, 2:19 am)
Re: [REGRESSION] x86: support for new UV apic
, Andi Kleen
, (Fri Apr 25, 2:45 am)
Re: [REGRESSION] x86: support for new UV apic
, Gabriel C
, (Fri Apr 25, 4:21 am)
Re: [REGRESSION] x86: support for new UV apic
, Gabriel C
, (Fri Apr 25, 4:41 am)
Re: [REGRESSION] x86: support for new UV apic
, Priit Laes
, (Fri Apr 25, 8:53 am)
Re: [REGRESSION] x86: support for new UV apic
, Ingo Molnar
, (Mon Apr 28, 10:41 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate