From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23EFBC2B9F4 for ; Sat, 19 Jun 2021 11:26:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE7B360FEE for ; Sat, 19 Jun 2021 11:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233766AbhFSL3C (ORCPT ); Sat, 19 Jun 2021 07:29:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233146AbhFSL3A (ORCPT ); Sat, 19 Jun 2021 07:29:00 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C35DC061574; Sat, 19 Jun 2021 04:26:48 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id f70so17668132qke.13; Sat, 19 Jun 2021 04:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3qptZHIBpv3JxNQPkyiO+mSheyAcYqB/CsUvSm+UpOU=; b=vdXQ0zFaCYeb3u6QxofEl6GX56wlrAOqgRXV8CZe9Vlc7Uevz6a5sP5aeuPNNrxx1j /8iJsG8vNyasPhbG87LpsE5NTTvPhTAEgZGtLUruqLYIrPg+ZjibFeQUKZNubCHUpRoo HtZqojcW3xs35EeNV9lFWLCgFJ2HngBTnMux0lsScchul7xMlpGLiKIUrAhzqd3KPrPv emCjGqcHpuKkj9GOC9eeVzdr8bj8a312siQrobqErLBk8g7FGNchsLNwZJ4B7F0Vta+G vcwJcnkVa0A0wQJXFWcZoo+Rpn0YAkfWlpvYq6veEgt1u6lg2Cp5x5hROb11Kj1eIHbL d58w== 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=3qptZHIBpv3JxNQPkyiO+mSheyAcYqB/CsUvSm+UpOU=; b=lC8LBk8PpKKw6vW3mDE/lFbyr3sq7ya/Hg+2YriiW3LdMplVMxUxrKydD1C1DUWOkc JUcFMcUE+Ymk9yYwvBiuI/N+Dd0jXcEvMsRoJhhiTVEd6wBS7Ylu9tu7B6c81vKqdECS bjSfRDSno9lhgcEp1gjr+gi0h4RQb/yAJDxYml3h6VGxlzyEz51HMsP+VYAsb8IGZIkg vwaCI/ASHdsl+C8/hQV23Qa7HL+UBassWwI6t0Y8Z+9ml8aU8T4M+uFuUQv67SrVgEyn /8Oxmz2F8i2JhPV/8wl0ODzN8RowEI9nnkl51PSmZvCGfoWopVEUp8PLjV7CVOQtK0Zf vpDA== X-Gm-Message-State: AOAM531MxG7f6wqepoWGH+Rx6isf490chOyYwdljTuIRvdra0F9p2vFl LxVWF+RWrUEM3jNXlH3lyLPTCOTcs40kPk3KvYk= X-Google-Smtp-Source: ABdhPJy1asqv8Q5Z5vk+ewOuWO+vnAY3L/cXdjdtq+Yq0qTpukFXoDsNrmSnALn1koXZNPc6uasYqmp5kayEy3tGsM4= X-Received: by 2002:a5b:892:: with SMTP id e18mr19183246ybq.22.1624102007702; Sat, 19 Jun 2021 04:26:47 -0700 (PDT) MIME-Version: 1.0 References: <20210618233023.1360185-1-ndesaulniers@google.com> <20210618233023.1360185-2-ndesaulniers@google.com> In-Reply-To: <20210618233023.1360185-2-ndesaulniers@google.com> From: Miguel Ojeda Date: Sat, 19 Jun 2021 13:26:37 +0200 Message-ID: Subject: Re: [PATCH 1/2] compiler_attributes.h: define __no_profile, add to noinstr To: Nick Desaulniers Cc: Kees Cook , Peter Zijlstra , Bill Wendling , Sami Tolvanen , Peter Oberparleiter , Masahiro Yamada , Nathan Chancellor , Luc Van Oostenryck , Ard Biesheuvel , Will Deacon , Arnd Bergmann , Andrew Morton , Rasmus Villemoes , linux-kernel , clang-built-linux , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Borislav Petkov , Martin Liska , Marco Elver , Jonathan Corbet , Fangrui Song , Linux Doc Mailing List , Linux Kbuild mailing list , Dmitry Vyukov , johannes.berg@intel.com, linux-toolchains@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 19, 2021 at 1:30 AM Nick Desaulniers wrote: > > +/* > + * Optional: only supported since clang >= 13 > + * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 > + * clang: https://clang.llvm.org/docs/AttributeReference.html#no_profile > + */ I am not sure if it is best or not to have the GCC link in order to be consistent with the rest of the links (they are for the docs only). Do we know if GCC going to implement it soon? Otherwise, it looks good to me. Cheers, Miguel