From: Herbert Xu Subject: Re: x86-64: Maintain 16-byte stack alignment Date: Fri, 13 Jan 2017 16:43:49 +0800 Message-ID: <20170113084349.GE22022@gondor.apana.org.au> References: <20170112140215.rh247gwk55fjzmg7@treble> <20170112201511.yj5ekqmj76r2yv6t@treble> <20170113031107.mgitq54fmjnrvi6f@treble> <20170113042758.whof5fk6eu7myctq@treble> <20170113050709.yrdtfet5d4sebubi@treble> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Linux Crypto Mailing List , Thomas Gleixner , Andy Lutomirski , Ingo Molnar , Andy Lutomirski , Linux Kernel Mailing List , Ard Biesheuvel To: Josh Poimboeuf Return-path: Received: from helcar.hengli.com.au ([209.40.204.226]:34325 "EHLO helcar.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751222AbdAMIo1 (ORCPT ); Fri, 13 Jan 2017 03:44:27 -0500 Content-Disposition: inline In-Reply-To: <20170113050709.yrdtfet5d4sebubi@treble> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Thu, Jan 12, 2017 at 11:07:09PM -0600, Josh Poimboeuf wrote: > > Disabling frame pointers didn't seem to help, but I finally got it to > misalign with a different test case. I think it had been aligning the > array, so instead I made it push a register. Right. If you start manipulating the stack directly then all bets are off. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt