From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398Ab2JPRDQ (ORCPT ); Tue, 16 Oct 2012 13:03:16 -0400 Received: from mail.skyhub.de ([78.46.96.112]:36294 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755325Ab2JPRDN (ORCPT ); Tue, 16 Oct 2012 13:03:13 -0400 Date: Tue, 16 Oct 2012 19:03:11 +0200 From: Borislav Petkov To: Fenghua Yu Cc: Ingo Molnar , Thomas Gleixner , H Peter Anvin , Linus Torvalds , Andrew Morton , Asit K Mallick , Tony Luck , Arjan Dan De Ven , Suresh B Siddha , Len Brown , "Srivatssa S. Bhat" , Randy Dunlap , Chen Gong , linux-kernel , linux-pm , x86 Subject: Re: [PATCH v9 03/12] x86, topology: Don't offline CPU0 if any PIC irq can not be migrated out of it Message-ID: <20121016170310.GC12694@x1.osrc.amd.com> Mail-Followup-To: Borislav Petkov , Fenghua Yu , Ingo Molnar , Thomas Gleixner , H Peter Anvin , Linus Torvalds , Andrew Morton , Asit K Mallick , Tony Luck , Arjan Dan De Ven , Suresh B Siddha , Len Brown , "Srivatssa S. Bhat" , Randy Dunlap , Chen Gong , linux-kernel , linux-pm , x86 References: <1350058189-6769-1-git-send-email-fenghua.yu@intel.com> <1350058189-6769-4-git-send-email-fenghua.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1350058189-6769-4-git-send-email-fenghua.yu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 12, 2012 at 09:09:40AM -0700, Fenghua Yu wrote: > From: Fenghua Yu > > If CONFIG_BOOTPARAM_HOTPLUG_CPU is turned on, CPU0 hotplug feature is enabled > by default. > > If CONFIG_BOOTPARAM_HOTPLUG_CPU is not turned on, CPU0 hotplug feature is not > enabled by default. The kernel parameter cpu0_hotplug can enable CPU0 hotplug > feature at boot. > > Currently the feature is supported on Intel platforms only. > > Signed-off-by: Fenghua Yu > --- > arch/x86/kernel/topology.c | 50 +++++++++++++++++++++++++++++++++++++------ It is just me or is this whole change better suited for arch/x86/kernel/cpu/topology.c where cpu-specific stuff lives anyway? Thanks. -- Regards/Gruss, Boris.