Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp993785rwb; Thu, 4 Aug 2022 15:09:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JThnkj3nR2yPaxitZORcdI3m15m4TG1WX2ND6vpfk8Jpot6FdiMSCjCq3w7NmmFyq1sZa X-Received: by 2002:a17:907:2856:b0:730:882d:a0fb with SMTP id el22-20020a170907285600b00730882da0fbmr2932787ejc.252.1659650990748; Thu, 04 Aug 2022 15:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659650990; cv=none; d=google.com; s=arc-20160816; b=SMFwfFXhIGhRZMYvU2yfP7cCsCBjlNZIX52A/KaYbViDXrTbsNqfr75P4qmy8ctKm2 QoDNzfK3dGBLo9n7GJgy+7K+QycJLPqYNBKhoqzhBgixSC5xmb+arm0UtQEllmf3h+9O ZdA0D8dPDCog3UUfB8A8dATpDmKqd4Ub6JxS7zyL9nrw60EZgMuDgEjxWgnL8uLCvVL8 Wv0iunlZ+RZpiAyIqkMUuNloLz3MsKX7V2DXiCCEUfgNa8fVW+ZClYiSBG8YjwLuhLat hy0Ja6+/GmslaAsOQQsXg2BNAcVpT0e375B723JbvYM32RC31YkSzNyj+k2gB5DCbSgy m08A== 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=IcNrO1+0hMqd184OyaCGXcplDsRzgmMXiA2NSTUXMiA=; b=ptFz0fHtPu97AgIWdLb66heT20RWdqVLDC1EKk8AvUZFRe/6g9t8JLbznC/ODLAWms z25vkXfLoQWomwIQnkhe2xCHmRMieVRtlgBkaN5AL/Ka+hLvr5rwYdz27qAkKEX8eWID e5YcyzziAFwam+VCQCGQUcjCbpmKy4SuagPclWw6RIX8W6FEQEFTzNHOfsyFB0Uyu3Cm nutdvtUevgCT54ihHF1r4E+0HBkaDBrMhexfQmCNlA34UspVTz5qeX7KOW7609G+rGEJ G3N7yhmMo4QuhDz02OdaO2zBYAAubx3aaei5H5CzDbydouYorTKDhK0a04fnYexCDzgs nu1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DgUfEmbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd30-20020a170907629e00b00711bc35fedfsi1682656ejc.957.2022.08.04.15.09.25; Thu, 04 Aug 2022 15:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DgUfEmbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235320AbiHDV7W (ORCPT + 99 others); Thu, 4 Aug 2022 17:59:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231321AbiHDV7V (ORCPT ); Thu, 4 Aug 2022 17:59:21 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F24C1B794 for ; Thu, 4 Aug 2022 14:59:20 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id uj29so1808273ejc.0 for ; Thu, 04 Aug 2022 14:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=IcNrO1+0hMqd184OyaCGXcplDsRzgmMXiA2NSTUXMiA=; b=DgUfEmbFi+7iccqebXv/ZmxHK9r9RdQFXNZ8Dr8nUqVqSFRu1k1i4dkyHQybTDWbVO sp+j5Hqj+Tzo+GWbTEgXuKCuNQljNQ9hMiFfoJp1J9Mgms1GKmSOP/+HzKIHuHs4qy4O 3hYvbGIWtatQX31kWhmvlVBT2gIyBbOi9AxB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=IcNrO1+0hMqd184OyaCGXcplDsRzgmMXiA2NSTUXMiA=; b=zdmga2gWThQ7R3YxCdInB9aGD6o6iLYRvyd2vRrMtF7OI6SSqlku5H6OQ9S9yyS5fd KP3mcebJa1XPAVzctCBfYrYbXwC+4fO4jQYwbhB7vNkNQFAAhrfZOstTe20HE4CnxenK cZdWhzZjE8B1wO5tSRI+hA5pxHMBBlsZSglqEjBCjOhZbnlwlnGuLCJrS7SPEy2VHW73 VKYtBKYDjMnkFTaUxl89SiitQcfCHRk44VlK4CHfqmHRL5LLUy9yXQ/1Yw6VNm6Lu5xX GDgT157u3buxCub7eIiuoottZohlM2cxACWIFUv2LBad2BDJlEPNwsM2+ek8xg9pkwh0 p/lA== X-Gm-Message-State: ACgBeo3T6mvVG9A5rvP++m0fZpqImSsFvemf9svAzxnWHGV5S+E+3t2X E3SDGDUT+XucnsX64tmlWYWDc376O3Nx6Gfa X-Received: by 2002:a17:906:8a74:b0:730:7aa8:69eb with SMTP id hy20-20020a1709068a7400b007307aa869ebmr2759733ejc.573.1659650358576; Thu, 04 Aug 2022 14:59:18 -0700 (PDT) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com. [209.85.221.44]) by smtp.gmail.com with ESMTPSA id ky12-20020a170907778c00b0072af930cf97sm758116ejc.115.2022.08.04.14.59.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Aug 2022 14:59:18 -0700 (PDT) Received: by mail-wr1-f44.google.com with SMTP id l4so1201796wrm.13 for ; Thu, 04 Aug 2022 14:59:17 -0700 (PDT) X-Received: by 2002:a5d:638b:0:b0:220:6e1a:8794 with SMTP id p11-20020a5d638b000000b002206e1a8794mr2534090wru.193.1659650357549; Thu, 04 Aug 2022 14:59:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Thu, 4 Aug 2022 14:59:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: mainline build failure for x86_64 allmodconfig with clang To: Nathan Chancellor Cc: Arnd Bergmann , "Sudip Mukherjee (Codethink)" , clang-built-linux , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx list , dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 4, 2022 at 1:43 PM Nathan Chancellor wrote: > > I do note that commit 1b54a0121dba ("drm/amd/display: Reduce stack size > in the mode support function") did have a workaround for GCC. It appears > clang will still inline mode_support_configuration(). If I mark it as > 'noinline', the warning disappears in that file. That sounds like probably the best option for now. Gcc does not inline that function (at least for allmodconfig builds in my testing), so if that makes clang match what gcc does, it seems a reasonable thing to do. Linus