From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752115AbbCKLWc (ORCPT ); Wed, 11 Mar 2015 07:22:32 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54672 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbbCKLWb (ORCPT ); Wed, 11 Mar 2015 07:22:31 -0400 Date: Wed, 11 Mar 2015 12:21:07 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Oleg Nesterov , Denys Vlasenko Subject: Re: [PATCH 2/3] x86: Unify and fix init sp0 Message-ID: <20150311112107.GC16419@pd.tnic> References: <1b810c1d2e797e27bb4a7708c426101161edd1f6.1426009661.git.luto@amacapital.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1b810c1d2e797e27bb4a7708c426101161edd1f6.1426009661.git.luto@amacapital.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2015 at 11:05:59AM -0700, Andy Lutomirski wrote: > x86_32 and x86_64 need slightly different sp0 values, and x86_32's was > incorrect for init. (This never mattered -- the init thread never > runs user code, so we never used sp0 for anything.) Damn old x86 cruft - sp0 is the stack pointer for CPL0 in the TSS. Had to go dig that out. > Fix it and mostly unify them. > > Signed-off-by: Andy Lutomirski Acked-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --