Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755324AbcCBW2t (ORCPT ); Wed, 2 Mar 2016 17:28:49 -0500 Received: from mail.skyhub.de ([78.46.96.112]:33982 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbcCBW2s (ORCPT ); Wed, 2 Mar 2016 17:28:48 -0500 Date: Wed, 2 Mar 2016 23:28:42 +0100 From: Borislav Petkov To: "H. Peter Anvin" Cc: Brian Gerst , X86 ML , LKML , Tom Lendacky Subject: Re: [RFC PATCH] x86: Make sure verify_cpu has a good stack Message-ID: <20160302222842.GM8362@pd.tnic> References: <20160302162530.GA8362@pd.tnic> <086BE61B-DCCC-4105-90A2-295A487C7F6F@zytor.com> <20160302181556.GD8362@pd.tnic> <56D73349.3020609@zytor.com> <20160302195053.GG8362@pd.tnic> <56D75C8D.90800@zytor.com> <20160302214654.GK8362@pd.tnic> <56D7612A.4080107@zytor.com> <20160302220954.GL8362@pd.tnic> <56D76527.5020806@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56D76527.5020806@zytor.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 371 Lines: 12 On Wed, Mar 02, 2016 at 02:11:51PM -0800, H. Peter Anvin wrote: > Not sure if we need a reference to _text here. Ah, so stack_start is in .ref.data, I guess we can add a __ref_data marker in vmlinux.lds.S to denote the start of the .ref.data section and use that for calculating the delta... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.