Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965113AbcJRWRo (ORCPT ); Tue, 18 Oct 2016 18:17:44 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33060 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934141AbcJRWRf (ORCPT ); Tue, 18 Oct 2016 18:17:35 -0400 Date: Wed, 19 Oct 2016 00:17:07 +0200 From: Emese Revfy To: Kees Cook Cc: kbuild test robot , kbuild-all@01.org, LKML , "pageexec@freemail.hu" , "spender@grsecurity.net" Subject: Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes Message-Id: <20161019001707.68ed4a9bffb8a8fd6991c832@gmail.com> In-Reply-To: References: <201610160608.eB1Owrn3%fengguang.wu@intel.com> <20161017233752.68d20a89dbc9b0ff8841c9b3@gmail.com> <20161018233645.ed29e83f81404f09a627287e@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 24 On Tue, 18 Oct 2016 15:05:39 -0700 Kees Cook wrote: > On Tue, Oct 18, 2016 at 2:36 PM, Emese Revfy wrote: > > On Tue, 18 Oct 2016 13:57:35 -0700 > > Kees Cook wrote: > > > >> This is controlled by CONFIG_FRAME_WARN. I don't think this is a > >> particular problem or should be avoided, but perhaps we can set the > >> default to 2048 (as done on 64BIT) if we're building with the entropy > >> plugin. > > > > This is probably a gcc code generation bug on i386 when a plugin uses too many 64 bit variables > > so I think PaX Team's patch will be the best solution. > > Okay, cool. If you're able, please CC me with the fix when it happens. :) This is the plugin side fix: https://github.com/ephox-gcc-plugins/latent_entropy/commit/12776eab89861239d5194a9241a98e48e3b3e8ae The kernel side fix will be released in PaX for linux 4.8. -- Emese