From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764265AbYDVNcy (ORCPT ); Tue, 22 Apr 2008 09:32:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758642AbYDVNcp (ORCPT ); Tue, 22 Apr 2008 09:32:45 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53414 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757325AbYDVNcp convert rfc822-to-8bit (ORCPT ); Tue, 22 Apr 2008 09:32:45 -0400 From: Jean Delvare Organization: SuSE Linux To: Jesse Barnes Subject: Re: PCI MSI breaks when booting with nosmp Date: Tue, 22 Apr 2008 15:27:02 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Andi Kleen , linux-pci@atrey.karlin.mff.cuni.cz, LKML , Pavel Machek , Tejun Heo , Tom Long Nguyen , Randy Dunlap , Jeff Garzik References: <200804172140.02311.jdelvare@suse.de> <20080421210909.GC21028@one.firstfloor.org> <200804211414.45629.jbarnes@virtuousgeek.org> In-Reply-To: <200804211414.45629.jbarnes@virtuousgeek.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200804221527.03169.jdelvare@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jesse, Le lundi 21 avril 2008, Jesse Barnes a écrit : > This might be closer to a real fix. Can you confirm that this works for you > Jean? > > Thanks, > Jesse > > diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c > index e6abe8a..7cdf930 100644 > --- a/arch/x86/kernel/smpboot.c > +++ b/arch/x86/kernel/smpboot.c > @@ -1138,14 +1138,10 @@ static int __init smp_sanity_check(unsigned max_cpus) > "forcing use of dummy APIC emulation.\n"); > smpboot_clear_io_apic(); > #ifdef CONFIG_X86_32 > - if (nmi_watchdog == NMI_LOCAL_APIC) { > - printk(KERN_INFO "activating minimal APIC for" > - "NMI watchdog use.\n"); > - connect_bsp_APIC(); > - setup_local_APIC(); > - end_local_APIC_setup(); > - } > + connect_bsp_APIC(); > #endif > + setup_local_APIC(); > + end_local_APIC_setup(); > return -1; > } > > What tree is this patch against? I have no arch/x86/kernel/smpboot.c in 2.6.25. -- Jean Delvare Suse L3