From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754857AbYL1Jqn (ORCPT ); Sun, 28 Dec 2008 04:46:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753040AbYL1Jqe (ORCPT ); Sun, 28 Dec 2008 04:46:34 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:42948 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752795AbYL1Jqe (ORCPT ); Sun, 28 Dec 2008 04:46:34 -0500 Date: Sun, 28 Dec 2008 10:46:05 +0100 From: Ingo Molnar To: Rusty Russell Cc: Yinghai Lu , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Jeremy Fitzhardinge , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86: clean up setup_clear/force_cpu_cap handling Message-ID: <20081228094605.GE9022@elte.hu> References: <49509418.6040905@kernel.org> <20081227102234.GD14639@elte.hu> <200812282008.58544.rusty@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812282008.58544.rusty@rustcorp.com.au> 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 * Rusty Russell wrote: > On Saturday 27 December 2008 20:52:34 Ingo Molnar wrote: > > > > * Yinghai Lu wrote: > > > > > Impact: fix and cleanup > > > > > > setup_force_cpu_cap() only have one user xen > > > but it should not reuse cleared_cpu_cpus. it will have problem > > > for smp. > > > > > > need to have cpu_cpus_set array too. > > > also need to setup handling before all cpus cap AND > > > > > > Signed-off-by: Yinghai Lu > > > > > > --- > > > arch/x86/include/asm/cpufeature.h | 4 ++-- > > > arch/x86/include/asm/processor.h | 3 ++- > > > arch/x86/kernel/cpu/common.c | 17 ++++++++++++----- > > > 3 files changed, 16 insertions(+), 8 deletions(-) > > > > Rusty, you'll carry this patch in your linux-2.6-boot-params.git tree, > > right? Merging this in the x86 tree would just needlessly complicate your > > logistics, right? > > Yep, if you're happy to ack, I'm happy to carry. yeah. And if it breaks, that's your fault ;-) Acked-by: Ingo Molnar Ingo