From: David Vrabel Subject: Re: [PATCH v2] x86: Factor out common CPU initialization code Date: Wed, 1 Apr 2015 15:14:08 +0100 Message-ID: <551BFD30.9010300__40251.8395022073$1427898017$gmane$org@citrix.com> References: <1427897534-5086-1-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YdJTF-0006tL-7O for xen-devel@lists.xenproject.org; Wed, 01 Apr 2015 14:18:17 +0000 In-Reply-To: <1427897534-5086-1-git-send-email-boris.ostrovsky@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Boris Ostrovsky , mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, konrad.wilk@oracle.com Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, luto@amacapital.net List-Id: xen-devel@lists.xenproject.org On 01/04/15 15:12, 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. Reviewed-by: David Vrabel David