From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759922AbYFJJyu (ORCPT ); Tue, 10 Jun 2008 05:54:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759479AbYFJJy3 (ORCPT ); Tue, 10 Jun 2008 05:54:29 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:40013 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759465AbYFJJy1 (ORCPT ); Tue, 10 Jun 2008 05:54:27 -0400 Date: Tue, 10 Jun 2008 11:53:59 +0200 From: Ingo Molnar To: Yinghai Lu Cc: Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86: introduce max_physical_apicid for bigsmp switching Message-ID: <20080610095359.GD27706@elte.hu> References: <200806050309.11197.yhlu.kernel@gmail.com> <200806061441.59984.yhlu.kernel@gmail.com> <200806070031.35322.yhlu.kernel@gmail.com> <200806081829.22866.yhlu.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806081829.22866.yhlu.kernel@gmail.com> 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 * Yinghai Lu wrote: > one multi-sockets system with 3 or 4 ioapics, when 4 dualcore cpus or > 2 quadcore cpus installed, need to switch to bigsmp or physflat. > because cpu apic id is [4,11] instead of [0,7], and we need to check > max apic id instead of cpu numbers. > > also add check for 32 bit when acpi is not compiled in or acpi=off applied to tip/x86/mpparse, thanks. Ingo