From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754296AbbCaQm6 (ORCPT ); Tue, 31 Mar 2015 12:42:58 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:23422 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675AbbCaQm4 (ORCPT ); Tue, 31 Mar 2015 12:42:56 -0400 Message-ID: <551ACE18.4070501@oracle.com> Date: Tue, 31 Mar 2015 12:40:56 -0400 From: Boris Ostrovsky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Ingo Molnar CC: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, luto@amacapital.net Subject: Re: [PATCH] x86: Factor out common CPU initialization code References: <1427809518-31433-1-git-send-email-boris.ostrovsky@oracle.com> <20150331155549.GA30951@gmail.com> In-Reply-To: <20150331155549.GA30951@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/31/2015 11:55 AM, Ingo Molnar wrote: > > * Boris Ostrovsky wrote: > >> Some of x86 bare-metal and Xen CPU initialization code is common between the two >> and therefore can be factored out to avoid code duplication. >> >> As a side effect, doing so will also extend the fix provided by commit >> a7fcf28d431e ("x86/asm/entry: Replace this_cpu_sp0() with current_top_of_stack() >> to x86_32") to 32-bit Xen PV guests. >> >> Signed-off-by: Boris Ostrovsky >> --- >> arch/x86/include/asm/smp.h | 1 + >> arch/x86/kernel/smpboot.c | 39 +++++++++++++++++++++++---------------- >> arch/x86/xen/smp.c | 14 +------------- >> 3 files changed, 25 insertions(+), 29 deletions(-) > > This does not apply to the latest x86 tree (tip:master). > > Thanks, > > Ingo > Yes, I was somewhat out-of-date, sorry. Let me re-test this and submit v2. -boris