From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756603AbZBVRVz (ORCPT ); Sun, 22 Feb 2009 12:21:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754637AbZBVRVq (ORCPT ); Sun, 22 Feb 2009 12:21:46 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:47095 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754250AbZBVRVp (ORCPT ); Sun, 22 Feb 2009 12:21:45 -0500 Date: Sun, 22 Feb 2009 18:21:23 +0100 From: Ingo Molnar To: Suresh Siddha Cc: Yinghai Lu , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86: enable x2apic early at the first point Message-ID: <20090222172123.GE6570@elte.hu> References: <499DD40F.40102@kernel.org> <20090220095127.GK24555@elte.hu> <20090220095530.GA15186@elte.hu> <1235255001.14523.76.camel@vayu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1235255001.14523.76.camel@vayu> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Suresh Siddha wrote: > On Fri, 2009-02-20 at 01:55 -0800, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > > > arch/x86/kernel/apic/apic.c | 3 +-- > > > > arch/x86/kernel/apic/x2apic_cluster.c | 5 ++++- > > > > arch/x86/kernel/apic/x2apic_phys.c | 5 ++++- > > > > arch/x86/kernel/apic/x2apic_uv_x.c | 4 +++- > > > > drivers/pci/dmar.c | 3 ++- > > > > 5 files changed, 14 insertions(+), 6 deletions(-) > > > > > > I've applied it because it fixes a real bug, but this code > > > really needs a cleanup. Look at the repeat patterns: > > > > unapplied it again as it breaks the build: > > > > arch/x86/kernel/apic/x2apic_cluster.c: In function 'x2apic_acpi_madt_oem_check': > > arch/x86/kernel/apic/x2apic_cluster.c:17: error: 'disable_x2apic' undeclared (first use in this function) > > arch/x86/kernel/apic/x2apic_cluster.c:17: error: (Each undeclared identifier is reported only once > > arch/x86/kernel/apic/x2apic_cluster.c:17: error: for each function it appears in.) > > > > so please resend the fixed and cleaned up version. > > From: Suresh Siddha > Subject: x86: select x2apic ops in early apic probe only if x2apic mode is enabled Applied to tip:x86/apic, thanks Suresh! Ingo