Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2829117rwd; Fri, 19 May 2023 10:41:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6FmeQ4CFrkoc/BjBJbzgm/xjSp9N+42pQABccw5JbSR+bPJ5aEbwi1w5c0BO8MhqP+Oahn X-Received: by 2002:a05:6a00:1988:b0:64d:2c58:f881 with SMTP id d8-20020a056a00198800b0064d2c58f881mr4220339pfl.17.1684518091613; Fri, 19 May 2023 10:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684518091; cv=none; d=google.com; s=arc-20160816; b=saVNP5RksvkcFvAsK54NQ3WaXi/5DpL4LoWAG1b2bn4WsXsKUL/nGZSeEP13eHLtMv VIYPt5ioUDVaH1URz7ogWyskAAiXRR89uUmG4YRvPkg4vR/Mc4h/GjfZSWyHAF8WBhpv hriGmA1qFnyWocQLNB/RKxZdbqgh5qgI5NBx0MqrFz9/SwUPcOwS/Bq6eEWTCJcw9gaP a8BOu0nXW1cHZwskMlOY8JJXuv44jhxicvRCGO2OICxRfHEu/WZrLHG48yDWXvUo6yy3 rwWqc81IvLNEvk7PpZUCMH7sdyN3HmcKFIlt3ROC7jrLtI9qVd7F0jzPGPmRXMoZePUY 9ZrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Vn3pb3ky6n4pf56znsEup8Qsq33kfGGXMaRQqXwj8cQ=; b=mYcit8zUrQkEzDPJWVGpwz0PXNipBF6T3zZcq8gW5m4gX8KwU4s0rJnR/K4p1qKmFJ Ij1GFx4TkmLWBq3rriTzs4mPTj94vFRdEYwchBtSIn0iS/E7ACyddRtbXA6TTijRUTQK G2U0kX6EPghYxMbF68V26W7aRKaOtOrpLyQEBSv/gs5TI3gnlMySG6furSWVLVC+KrEc hGP8uRZLUCzIGvZYgjdOSKSrttv5uvUF6mJmORW4gTjEpNqyC4/egO7lLxAw3x0BB7Dk ohLLV/9ZpX7gTLY2Vwr3CGBJ41hYbDl1deyxNgpYB+9Hs0ZcRgUg3UXLCFQwS/9F+Jhb 3PHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=VHiqiiu5; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a636cc2000000b005346bd7dee9si3826627pgc.682.2023.05.19.10.41.16; Fri, 19 May 2023 10:41:31 -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=@google.com header.s=20221208 header.b=VHiqiiu5; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231490AbjESRS6 (ORCPT + 99 others); Fri, 19 May 2023 13:18:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231173AbjESRSz (ORCPT ); Fri, 19 May 2023 13:18:55 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B047D13D for ; Fri, 19 May 2023 10:18:52 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-75776686671so183942185a.1 for ; Fri, 19 May 2023 10:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1684516732; x=1687108732; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Vn3pb3ky6n4pf56znsEup8Qsq33kfGGXMaRQqXwj8cQ=; b=VHiqiiu5vIGZNTPeNu0FhkJvwL+2BjFAoNow/g3ICbSBEwihkmZjAb3qKLzE19Rvim QjNLO+8LOXTmbFl/HZuTAe2Op6Xpsg9hnk1pJkDnZpkmy+Z8sPDIH3QOt6Iz1Ibr61OQ FVpqIcl+LsdOccTS04B8LtvChbvAoqna+VTteCz5t71xR6kFv4amEAK28zCz6PnceO8o 0U9S3XPyZTLiZv5n/uFm/BoP+J0Su9IJ+036XYPyqzMzxs9fumCUh8pKqeUCMS2fzERb gLu6CsSXV7NsbNNCEi1tyHq+Fci6HiXqwBugxo6yJVQjcT1KLtYOq86MbCfFETX2+ekl 19Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684516732; x=1687108732; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vn3pb3ky6n4pf56znsEup8Qsq33kfGGXMaRQqXwj8cQ=; b=gC7CPZsU+w6Nr5wNZ3+OHv4YdToAnvQDqw96ugdOOnlsz16uOQVh/J6Bo9JGIu0aLV KkCud0Jd7ABz5yIRkO8yCznsewMaNzdFD974cPEMMmdlRtuqgYEdwHnga8ZmgvsSXcmP fWoxpNMUGANakEBhV0dnswHcuvkxPyDb8o8tJjGoH6NS+eOJlVguUxbVrF6Vj9QYmd6M YgMwWV93D91ONT2SMNoYLXERFC10t5BUpN9gEP8x3SY85YjWDHDfj9nmz8E+s0bpwycG jnCXKIm0ZWGiSGUaIYLEWefkwo7N4TNFpCg/eWrFbB09kEA0kKA0jIv99uIHQ3rj210b LDlw== X-Gm-Message-State: AC+VfDxujBPp00oDvRi3zhVNWhUa0zrBhu3OtAtzcGNSKj5urBR4JGXK 4z0aVzVR1YNVI5ib6v0SDuSE5us3SjthwoWTKWyRlg== X-Received: by 2002:a05:6214:e6e:b0:623:9218:58e1 with SMTP id jz14-20020a0562140e6e00b00623921858e1mr6374017qvb.31.1684516731558; Fri, 19 May 2023 10:18:51 -0700 (PDT) MIME-Version: 1.0 References: <20230412-no_stackp-v2-1-116f9fe4bbe7@google.com> <168440808395.404.16801982965854981978.tip-bot2@tip-bot2> <20230519171120.GA1939377@maniforge> In-Reply-To: <20230519171120.GA1939377@maniforge> From: Nick Desaulniers Date: Fri, 19 May 2023 10:18:40 -0700 Message-ID: Subject: Re: [tip: objtool/core] start_kernel: Add __no_stack_protector function attribute To: void@manifault.com Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Nathan Chancellor , Michael Ellerman , Miguel Ojeda , "Peter Zijlstra (Intel)" , Josh Poimboeuf , x86@kernel.org, Linus Torvalds , clang-built-linux Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=unavailable 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 Fri, May 19, 2023 at 10:11=E2=80=AFAM David Vernet = wrote: > > On Thu, May 18, 2023 at 11:08:03AM -0000, tip-bot2 for ndesaulniers@googl= e.com wrote: > > The following commit has been merged into the objtool/core branch of ti= p: > > > > Commit-ID: 514ca14ed5444b911de59ed3381dfd195d99fe4b > > Gitweb: https://git.kernel.org/tip/514ca14ed5444b911de59ed3381df= d195d99fe4b > > Author: ndesaulniers@google.com > > AuthorDate: Mon, 17 Apr 2023 15:00:05 -07:00 > > Committer: Josh Poimboeuf > > Hi Nick, Josh, Peter, > > Do you have an ETA for when this will make its way to Linus' tree? > clang-17 built kernels have failed to boot since [0], so it would be > nice to get this in sooner rather than later if possible. David, Can you confirm that your version of clang-17 is updated? clang-17 is unreleased; ToT will become clang-17. https://reviews.llvm.org/rGfc4494dffa5422b2be5442c235554e76bed79c8a should have fixed any boot failures related to stack protectors. That is to say that Josh's series is irrelevant to anyone using either an existing release of clang, or something closer to ToT than April 13. LLVM commit fc4494dffa54 ("[StackProtector] don't check stack protector before calling nounwind functions") landed April 13, so please check that your build of clang-17 is after that = date. Either way, thanks for testing with clang, and the report. You can always file a bug at our issue tracker: https://github.com/ClangBuiltLinux/linux/issues or see our page for more ways to get in touch: https://clangbuiltlinux.github.io/ We're very active on our mailing list, and on IRC. > > [0]: https://lore.kernel.org/all/7194ed8a989a85b98d92e62df660f4a90435a723= .1681342859.git.jpoimboe@kernel.org/ > > Thanks, > David --=20 Thanks, ~Nick Desaulniers