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.7 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, URIBL_BLOCKED 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 02C41C64E69 for ; Thu, 19 Nov 2020 17:05:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A9D9524655 for ; Thu, 19 Nov 2020 17:05:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nFrkjPYj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728412AbgKSRFL (ORCPT ); Thu, 19 Nov 2020 12:05:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbgKSRFL (ORCPT ); Thu, 19 Nov 2020 12:05:11 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9306EC0613CF; Thu, 19 Nov 2020 09:05:10 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id b17so6974747ljf.12; Thu, 19 Nov 2020 09:05:10 -0800 (PST) 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=Pdp2px/iS7YqbK+0lbuHDAjLg5kKmJIdvkTVN3rm+HA=; b=nFrkjPYj5vl0YiVByyuAPfx+cb+3H+MDG1Ianvgu4Z3URGmiV/WLvmnINr9f48kYUc IicByixTxjFT5pH2OUi+DWW31g+xU1ygpPrqSPGe8cvlFDjvlHmg0J4TTFJheDpVMYCY ChwdeoTwJqwOzksjwYT+9ij7EPq4qX+/a0ovn/RRQ7U4Ae9gmV6CY3MkHAAel72nvxp5 osb3wGZD8j0TB5Y/sDFl2svkDZavV2/tegJ2IL8GMsN01D0ew9RSdsUySK7Q4tLxWUw8 NocXBsPOvWw0fNXh4njlqGJ2RBlH2XWFKHwQG6NwMuf6FpfavlKjrx77OH9dkAsEx+JS WNCw== 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=Pdp2px/iS7YqbK+0lbuHDAjLg5kKmJIdvkTVN3rm+HA=; b=V24MVvuunDRgfciNGS4mVmmM0zWZw7NS2HP6FolAi5Fh1PaLwBo6Qao9JQu3EvNhEw RcdnyDreVs3NENE7UvhGGfAhuDJ42CkNELwyAY/RkK/Uso5uL3ZO8OWDnD55SBeXlLO8 UdEj5aZH8jOXbubmRCbeNuRXBosz2EuOSmEFRM/CsBp4iP6qfhFTw9QZgE2/AN2+ZrA0 S6fqNcpdXKgn9S+ZUvFLdFB4UxOC4ZY7Yh2T6KXXY4nKC2FrsCHL0q4tJsUrVfzJ2MvJ t1m8ppwGgvXbNNThfsLit3Uq5QjxX6pLFo5vG0Xtfw5mCvkrPD3opaADzVj4YONst9dz cJFw== X-Gm-Message-State: AOAM533UNG9XHJhX4NOsYni9RRz7dSywNbAAnbNVi/W2I7cLOmOoZJmE CZUaaTyqJLX9YpfTrnxRDXy0kw2sInsqVaW/q3w= X-Google-Smtp-Source: ABdhPJz84FHFdyN0TSp9MADPx8nbmsZjfZw5H5CotVdL+2BNemeMDX8r8YbIfwGewwb0rZZYIvJ0RyMGCdRdeeoHSHk= X-Received: by 2002:a2e:b1c9:: with SMTP id e9mr5441355lja.283.1605805508987; Thu, 19 Nov 2020 09:05:08 -0800 (PST) MIME-Version: 1.0 References: <375636043.48251.1605642440621.JavaMail.zimbra@efficios.com> <20201117153451.3015c5c9@gandalf.local.home> <20201118132136.GJ3121378@hirez.programming.kicks-ass.net> <20201118121730.12ee645b@gandalf.local.home> <20201118181226.GK2672@gate.crashing.org> <87o8jutt2h.fsf@mid.deneb.enyo.de> <20201118135823.3f0d24b7@gandalf.local.home> <20201118191127.GM2672@gate.crashing.org> <20201119083648.GE3121392@hirez.programming.kicks-ass.net> <20201119143735.GU2672@gate.crashing.org> <20201119095951.30269233@gandalf.local.home> In-Reply-To: <20201119095951.30269233@gandalf.local.home> From: Alexei Starovoitov Date: Thu, 19 Nov 2020 09:04:57 -0800 Message-ID: Subject: Re: violating function pointer signature To: Steven Rostedt Cc: Segher Boessenkool , Peter Zijlstra , Florian Weimer , Nick Desaulniers , Sami Tolvanen , Mathieu Desnoyers , linux-kernel , Matt Mullins , Ingo Molnar , Alexei Starovoitov , Daniel Borkmann , Dmitry Vyukov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , netdev , bpf , Kees Cook , Josh Poimboeuf , linux-toolchains@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-toolchains@vger.kernel.org On Thu, Nov 19, 2020 at 6:59 AM Steven Rostedt wrote: > Linux obviously > supports multiple architectures (more than any other OS), but it is pretty > stuck to gcc as a compiler (with LLVM just starting to work too). > > We are fine with being stuck to a compiler if it gives us what we want. I beg to disagree. android, chrome and others changed their kernel builds to "make LLVM=1" some time ago. It's absolutely vital for the health of the kernel to be built with both gcc and llvm.