Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp947072ybz; Fri, 17 Apr 2020 12:55:28 -0700 (PDT) X-Google-Smtp-Source: APiQypJf5CtW+hOcey9cBqsiizxyzUsVAIbYea8lf0YMPfiv73RFELdj1iOqsM94Acug/DDr9QM6 X-Received: by 2002:a17:906:30c5:: with SMTP id b5mr4885922ejb.102.1587153328217; Fri, 17 Apr 2020 12:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587153328; cv=none; d=google.com; s=arc-20160816; b=viNYX9hTC5Bppuru+UwMSRVqIFnILechPSI4pD51g0Z7RXNV8Ua8Gzdx8OuCDFnvGV gSlUKC+Gc8mPbjoVJuqeg66jvedJNAPshpcpK4g/Z8igfsxvZxdU5iR7Ykr/k+78XMd8 U9UyLBxtKGv+SNLpthMDmL4RrMvaSneFysqeVQuCJfqXVrh8+INYn3Rq9GUvW/U3MLBw e/LhIFQRAUhDqZHeXn6IUS7+unVOTswRndXpBJR6kuzAD0+DR627OeZRT6enLiIXAZU5 gtCHtg0EuqBXqo2SwFJj7vBRoUUB2QExy39zC3yFlL1A7se6zQ70Qx7RBYh71TxHNEoX MKJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LsrPPfYxwItsmip54/tCqhEs0XC/U9zLPh4nWIbHOOU=; b=ejQdK5jeH0Khz1LNSR2nfQsi+hr0d3PZEBWxvYTffFhi5BAdxsZmJE4gCULAV0sWue 8Q+ZJyFH0JBdp6rWbyVWGlksi5JwSL2M21mtg0fL9M/1AlmOQqRbAYXO4VLdW0fqB5ci 0vDdjMfJ9Ld6BNcNfhwOPCGpA8TnBjvpXXG74ZQysLy1QiHrclfUlAWD+O+I1dTuNmug +SCqw6kOGFIyxEy3RS+Y09rFkG/b7Z2uO/uC2jY8et7dtvuBpQm3s1XM7gS888sLmh7/ 5EIlGQ3DQdbKBHK350OathicyidzjkYIvMgwgpLPgJ1SwcTW5gSI8i1B3s3XbOe+4KrS yvkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cI0+m7FY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a72si15330234edf.28.2020.04.17.12.55.04; Fri, 17 Apr 2020 12:55:28 -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=@google.com header.s=20161025 header.b=cI0+m7FY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730887AbgDQTxg (ORCPT + 99 others); Fri, 17 Apr 2020 15:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730590AbgDQTxf (ORCPT ); Fri, 17 Apr 2020 15:53:35 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62CC1C061A0C for ; Fri, 17 Apr 2020 12:53:35 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id q8so762466pgq.6 for ; Fri, 17 Apr 2020 12:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LsrPPfYxwItsmip54/tCqhEs0XC/U9zLPh4nWIbHOOU=; b=cI0+m7FYdP7wOyBGGE2O+tjvQpcrM1isTtp7DTmJOMQNIjDLN3pWSqJGZvMY5kUPCF 4U8up179+ywtoPROaUW3U6un7dkXJF4PP8kbI7Pad3xfZtozpkDO4EhWdReH2INb1g1r W06xifEx+SAY2kfrV8qYKn0tgQBzg2AhcO1+iqtzf+xgdqtdoNJ9X0m8xFnR6pWQ+G9b XNimhsJay/34n0BTs6PR7AuamlIPxNo/LCstFyifq6zJ+h/ygoRNzFc4w+8N0X61jcwf hCQd2iWAP0BaToXCqdsB6Q7gxquUpDTRxGYicYI2g9+D9rRD31WztYZ63f74mKnqmASb bBWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LsrPPfYxwItsmip54/tCqhEs0XC/U9zLPh4nWIbHOOU=; b=okSvgWQG/evZzOrGQUwtxk6vvBdW3Y6haIn5R+GC/dBQU6xOxDP7PFHEVqzEi9pQul xx7Y6dmDiIgHWcaBjvGfFkX0L83yvTIjGfX/A07kp1vsm9fzWzFc7lFweShstsLrM7LC rFbW5/43Ku8T3iDldMAjDG/1U8fO1EUmKzOS+kx60Xt/pG+diKoPalOi/OcUdZiQJpmI bqKfnQkRUE8u/pUOJrZx+Ee5qtb+/5tbxWqig+0mNXVMBq3PLANmR2jcXY20aEB9jClP ZZUlRkLMg8XrcMm7pStnNlHGH1kdwjQjyFdYqltJ5VwtJnsWvGyms7lNCvdCRsArBVtJ F7pA== X-Gm-Message-State: AGi0Pua+ZKNoArSRTr2hn+A0bcRpsvUrB151LyZnXrhRHJ0GhL2yUyiZ YCtEyvwa8ghS1p4//uEuL6mZ1G9/Zeq78/QxvPjfYA== X-Received: by 2002:a63:6604:: with SMTP id a4mr4415486pgc.381.1587153214766; Fri, 17 Apr 2020 12:53:34 -0700 (PDT) MIME-Version: 1.0 References: <20200415074842.GA31016@zn.tnic> <20200415231930.19755bc7@sf> <20200417075739.GA7322@zn.tnic> <20200417080726.GS2424@tucnak> <20200417084224.GB7322@zn.tnic> <20200417085859.GU2424@tucnak> <20200417090909.GC7322@zn.tnic> <20200417190607.GY2424@tucnak> In-Reply-To: From: Nick Desaulniers Date: Fri, 17 Apr 2020 12:53:22 -0700 Message-ID: Subject: Re: [PATCH v2] x86: fix early boot crash on gcc-10 To: Jakub Jelinek Cc: Borislav Petkov , Sergei Trofimovich , Michael Matz , LKML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 12:49 PM Nick Desaulniers wrote: > > Ah seems we do have __attribute__((no_selector)) Sigh, can't type today. __attribute__((no_stack_protector)). I'll send a patch along for that. > (https://reviews.llvm.org/D46300, > https://releases.llvm.org/7.0.0/tools/clang/docs/AttributeReference.html#no-stack-protector-clang-no-stack-protector-clang-no-stack-protector) > which differs from GCC attribute name. -- Thanks, ~Nick Desaulniers