Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751894AbbGOGZd (ORCPT ); Wed, 15 Jul 2015 02:25:33 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:48894 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750772AbbGOGZb convert rfc822-to-8bit (ORCPT ); Wed, 15 Jul 2015 02:25:31 -0400 X-IronPort-AV: E=Sophos;i="5.13,665,1427731200"; d="scan'208";a="98460422" Message-ID: <55A5FD04.1090003@cn.fujitsu.com> Date: Wed, 15 Jul 2015 14:26:12 +0800 From: Tang Chen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Jiang Liu , =?UTF-8?B?TWlrYSBQZW50dGlsw6Q=?= CC: , , , , , Subject: Re: [PATCH 3/5] x86, acpi, cpu-hotplug: Introduce apicid_to_cpuid[] array to store persistent cpuid <-> apicid mapping. References: <1436261425-29881-1-git-send-email-tangchen@cn.fujitsu.com> <1436261425-29881-4-git-send-email-tangchen@cn.fujitsu.com> <55A5D4A5.8040806@cn.fujitsu.com> <55A5F109.3020705@linux.intel.com> In-Reply-To: <55A5F109.3020705@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 31 On 07/15/2015 01:35 PM, Jiang Liu wrote: > On 2015/7/15 11:33, Tang Chen wrote: >> Hi Mika, >> >> On 07/07/2015 07:14 PM, Mika Penttilä wrote: >>> I think you forgot to reserve CPU 0 for BSP in cpuid mask. >> Sorry for the late reply. >> >> I'm not familiar with BSP. Do you mean in get_cpuid(), >> I should reserve 0 for physical cpu0 in BSP ? >> >> Would you please share more detail ? > BSP stands for "Bootstrapping Processor". In other word, > BSP is CPU0. > . > Ha, how foolish I am. And yes, cpu0 is not reserved when apicid == boot_cpu_physical_apicid comes true. Will update the patch. Thanks. :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/