Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp733279pxb; Sat, 11 Sep 2021 20:07:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEbqK6DbplMQb60lusdzrecfD2XVW8yGoGjoAixDrXHadiO+fRGvbFri0vqf9LJiaYY/VB X-Received: by 2002:a05:6402:5107:: with SMTP id m7mr5979098edd.63.1631416026638; Sat, 11 Sep 2021 20:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631416026; cv=none; d=google.com; s=arc-20160816; b=KqkbEsIsRMQQU+kSktSCbL6i/tP5QlPXpYJeDFJLTrcJG34HTp1Y0iFpEdYxlKvfK0 J/aNXVZuB107ocJtM6IuzmanI6hcsGAm1fUFUovif3mkP8bUKidtAWHuyp4ePav+Mp0B IJ3OwuZRNJeHcA2Gl/nHu2tuQS2YBvubVBWIYcmPA+bZEGf1ZrDvxn2eiKMJuASxOImS XyFrPH+FcmM4O2kq9U/3S6eglbRyHVuzHGDlDZ2xbv3Yo1lWtIHFpmepLtigiPEtUGrA vKhyld3TPRq6Oir3mUOKc+GP+3Jrgf5KXOQD98980Sqz+/De7TacttmUCFqyi8rGhYe9 MVAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Sd5WF+pIcO5DhcoFv/B3hGgVVb1vEUiUbaxcHE8vxMU=; b=o5ce56OLJWepvIQ+giQs8ty5Y/uOi4ATNctlsC+/DJdmysCVaerNIp/lL+/hScFZ9A xSEHw4SyuqAjNS06tt2W35BPez7iOYyDD/6BByL/dx/sJAjbp2VrT77JONpTLscIjYy2 Mr07qU0/4yr19OWb3wBnWu96dia9gKBKvxP4RNzTTU0jv4BhQDGujEDhuvtBwjcJe4eO hDzm35ImVHsVSF76nt2x4doDxQ8jxe33c4LlHIun1kxz2U9uKLdR8WKmjy+tMVqhxtWl 5RTRoVcfG9yXJBbcp7RrVssotIF+7lnefBGA2ee4AlQrcZsX896mGVg5+WOO0k4ZyMt3 yTUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B+4CSmBg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si3081651ede.481.2021.09.11.20.06.41; Sat, 11 Sep 2021 20:07:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B+4CSmBg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232766AbhILDGh (ORCPT + 99 others); Sat, 11 Sep 2021 23:06:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbhILDGh (ORCPT ); Sat, 11 Sep 2021 23:06:37 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FCC6C061574 for ; Sat, 11 Sep 2021 20:05:23 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id t6so7204828edi.9 for ; Sat, 11 Sep 2021 20:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Sd5WF+pIcO5DhcoFv/B3hGgVVb1vEUiUbaxcHE8vxMU=; b=B+4CSmBgsYiW+AwniIyTYkaAPXBby22GaaGzVbP5WI4XE6SNgGuAI2ywXMVO7Gt5Fp 8WRHCCvJNyi/cki0pJhLfppO13sT/2TPS32KMgYOhYzUAfeaohf7qBlZi4POsT/uuMzc 1+LkGID0kTpGpaFJpkrTxL+5kmesiZYp7HfZMTcwccrz0lKQdNn5Tm/n1rBKCl/L2Hkj bBiZ1mk46IaSGEu6oT/SZ9e0xm/dcBWLca4PpzXJvcKLusqTlEpnYMBOLfyd1YDXdjly y3NaPNUJ5EScxTYQhJg0sWKMEToNVOFZaUGFBnjVOlsHjSJ2P3/iOz4HI0ajEKKr/AUh hxfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sd5WF+pIcO5DhcoFv/B3hGgVVb1vEUiUbaxcHE8vxMU=; b=Y5cK1IAH6yYgxXCmQF7tVPh8JtnK+iVwt/3W1ZDNaxbVmLGISl8JI2NYePSIId9nWZ k5ChuuWCQ9yChW1Ac1bOSas9LWv7qa1pyLdfnkN3gPGuaW+Wmyb+HkHO+5LZ0cucgWC1 OZ8TECkPX87W/jc1bxRed38oUBeJzFN1cyrD8WuUrKKZkOnujd4vGP08Vs8DcSg+zgC5 4NH7mR1zqj3if28gEUt8ROWVYCUguhr7y93ra7n156GiR7EJKWFB4UibD2Lt9sSFODv7 4XB7/PbDby2GwkjNIdjOJf/BSkgPl4zMqj8GiQ/8Xf5ea/VtSFnZTPsfX0bgTO5arDOo FfJw== X-Gm-Message-State: AOAM5313WXwYN/oGDz6r10GEbA29G1hM1Htv5zQ5iMPvvYFJM62wIkgV YKzt16D4WNoP0g6bl+6XgDo16knD0clTKI4Mp/Y= X-Received: by 2002:aa7:d592:: with SMTP id r18mr6041634edq.172.1631415921224; Sat, 11 Sep 2021 20:05:21 -0700 (PDT) MIME-Version: 1.0 References: <20210912025235.3514761-1-linux@roeck-us.net> In-Reply-To: <20210912025235.3514761-1-linux@roeck-us.net> From: Max Filippov Date: Sat, 11 Sep 2021 20:05:09 -0700 Message-ID: Subject: Re: [PATCH] xtensa: Increase size of gcc stack frame check To: Guenter Roeck Cc: Andrew Morton , Masahiro Yamada , "open list:TENSILICA XTENSA PORT (xtensa)" , LKML , Chris Zankel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 11, 2021 at 7:52 PM Guenter Roeck wrote: > > xtensa frame size is larger than the frame size for almost all other > architectures. This results in more than 50 "the frame size of is > larger than 1024 bytes" errors when trying to build xtensa:allmodconfig. > > Increase frame size for xtensa to 1536 bytes to avoid compile errors > due to frame size limits. > > Cc: Chris Zankel > Cc: Max Filippov > Signed-off-by: Guenter Roeck > --- > lib/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index ed4a31e34098..afad11e57d6b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -346,7 +346,7 @@ config FRAME_WARN > int "Warn for stack frames larger than" > range 0 8192 > default 2048 if GCC_PLUGIN_LATENT_ENTROPY > - default 1536 if (!64BIT && PARISC) > + default 1536 if (!64BIT && (PARISC || XTENSA)) > default 1024 if (!64BIT && !PARISC) Shouldn't that line also be changed to default 1024 if (!64BIT && !(PARISC || XTENSA)) ? > default 2048 if 64BIT > help > -- > 2.33.0 > -- Thanks. -- Max