From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934550AbcALQxP (ORCPT ); Tue, 12 Jan 2016 11:53:15 -0500 Received: from mail.skyhub.de ([78.46.96.112]:32960 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934239AbcALQxN (ORCPT ); Tue, 12 Jan 2016 11:53:13 -0500 Date: Tue, 12 Jan 2016 17:53:00 +0100 From: Borislav Petkov To: Josh Poimboeuf Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Michal Marek , Peter Zijlstra , Andy Lutomirski , Linus Torvalds , Andi Kleen , Pedro Alves , Namhyung Kim , Bernd Petrovitsch , Chris J Arges , Andrew Morton , Jiri Slaby , Arnaldo Carvalho de Melo , Herbert Xu , "David S. Miller" , Mathias Krause Subject: Re: [PATCH v15 15/25] x86/asm/crypto: Create stack frames in aesni-intel_asm.S Message-ID: <20160112165300.GE22699@pd.tnic> References: <66c5ddef85d4bc81ff59bfa43435e192103ec897.1450442274.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <66c5ddef85d4bc81ff59bfa43435e192103ec897.1450442274.git.jpoimboe@redhat.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 On Fri, Dec 18, 2015 at 06:39:29AM -0600, Josh Poimboeuf wrote: > aesni-intel_asm.S has several callable non-leaf functions which don't > honor CONFIG_FRAME_POINTER, which can result in bad stack traces. > > Create stack frames for them when CONFIG_FRAME_POINTER is enabled. > > Signed-off-by: Josh Poimboeuf > Cc: Herbert Xu > Cc: David S. Miller > Cc: Mathias Krause > --- > arch/x86/crypto/aesni-intel_asm.S | 73 ++++++++++++++++++++++++--------------- > 1 file changed, 46 insertions(+), 27 deletions(-) After this one it says stacktool: arch/x86/crypto/aesni-intel_asm.o: _aesni_inc_init(): can't find starting instruction stacktool: arch/x86/crypto/aesni-intel_asm.o: _aesni_inc_init()+0x24: return instruction outside of a callable function -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.