Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1681941imm; Thu, 20 Sep 2018 00:50:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYGuGN1GNduMtKewwLT5ru0EvmmuYIQm5oK0C/+6NriDI3HtFdY6RjwNUOP8NC5dkCFnlKJ X-Received: by 2002:a62:a216:: with SMTP id m22-v6mr39508754pff.163.1537429838457; Thu, 20 Sep 2018 00:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537429838; cv=none; d=google.com; s=arc-20160816; b=ufBBKDWKelSBR2mQrL9U9zPDSmmsy3N2YqNJogtsIRUxvacN1R2382+DWzoMEs7lTP j8uNGzX6nld9HhQUWXRT1h13v0x85F/LZzsn9lZ/KTpmpANz1+57p666/9J84z8esNXG MX2I3C7ELDiyUQZqsvQcr+z7iEcY/wUr7HFThoTquJL6YFPS8tlKO+dQvwN6enOMHmJm NYlo6omuJlC6LxhuOlxiqklwiKQDs4j4h9xFZtdbRiAaSzqxuj4MZg++sifQ0j4ZgpJ/ 7MenahbS80JILaJ3E7KB7ICm882Iyqop8NXUkjOVmL9vC7TbwsiWkorerFfCF7/C0f6d qVnQ== 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; bh=BgHK0g1TNeBP1LovKtjlx3BZ7u4dZzivFCtnc+HMrAA=; b=sZ/4xhMNYxqMxtXbugC8FJ80GWh/36sCustdgcPu69WNGZr01YyHB2BjvKzFGQVAbY 9/Lnh2Hj01mNn3AhT6nLMq+OHg67Yqc23hepl2ldXW00wTLVcLeCYF26q6QXDQeSba7X 6B+0VRWhpbkAgz8/kxk0r7HtGHMCb9DATDWoc11y9lpA43E0nmd1q6QLbDL30cVP6L2N POu4Gsbn+HuvRf3uTIMrfmA/kSlBqqSJ4ASNXl1cnRRtcijcQgneNc/J3tOVyNQyyVGO IgfCImueJ1nzntE9dio2NXnYqnRgQVTNMGwDMX7C70iob16XUhvkIUCZHpK0KGxYFm1L TEPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l127-v6si24701579pfc.135.2018.09.20.00.50.22; Thu, 20 Sep 2018 00:50:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730654AbeITNcT (ORCPT + 99 others); Thu, 20 Sep 2018 09:32:19 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:33369 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeITNcT (ORCPT ); Thu, 20 Sep 2018 09:32:19 -0400 Received: by mail-vs1-f68.google.com with SMTP id y12-v6so2664572vsm.0; Thu, 20 Sep 2018 00:50:10 -0700 (PDT) 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=BgHK0g1TNeBP1LovKtjlx3BZ7u4dZzivFCtnc+HMrAA=; b=PpMflKrEPIB5vnXGzdU+5J94HGg6c7HUfGBYcDy1XSpHe5HbXGS9PIuP2M58W/XJVl ug+cis/HCOHhZYACMkUZdLlQUcXQSTWG0iMOMT3HZJ5iWkMeZdEmZVPNGIYDYwmvyM1p EgmjLzbZqusKSMo/hjGUiZT5aj2VKPJgrVs00Cq7fKo0KIxzXfAWEYHGI2Kmb504eo6A jrLGy0jvgW7uFj7wXVh6vf24FKQBYXHH1cIx7NyoD2DXXfmZHA5AZ6s7KEqvU6uABM21 m80RGo+Rxuz9HU6MKuEwoqJ3BmxmXc49Utg9dODpEoE0mmc6piUUsLGLAxgc7d30bpfd Jfsw== X-Gm-Message-State: APzg51CELJQL5gD6ipbFSTNnkSIwuNGKekUpFLOfpeoNUpbY7RsVbSp8 bbVjyprUNEHS2IvY7E/XkX4rAjA1BS0arXUXFCk= X-Received: by 2002:a67:3481:: with SMTP id m1-v6mr10758044vsi.52.1537429810270; Thu, 20 Sep 2018 00:50:10 -0700 (PDT) MIME-Version: 1.0 References: <20180918165542.4691-1-miguel.ojeda.sandonis@gmail.com> <20180918165542.4691-3-miguel.ojeda.sandonis@gmail.com> <20180918173428.GA21591@kroah.com> <20180919211458.GA8757@kroah.com> <20180919230504.GA20280@nautica> <20180920001024.GD20280@nautica> <20180920072205.GC11963@kroah.com> <20180920073650.GA6001@nautica> In-Reply-To: <20180920073650.GA6001@nautica> From: Geert Uytterhoeven Date: Thu, 20 Sep 2018 09:49:58 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared To: asmadeus@codewreck.org Cc: Greg KH , Miguel Ojeda Sandonis , Linux Kernel Mailing List , Rasmus Villemoes , efriedma@codeaurora.org, Christopher Li , Kees Cook , Ingo Molnar , Masahiro Yamada , Joe Perches , "torvalds@linux-foundation.org" , linux-sparse@vger.kernel.org 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 Thu, Sep 20, 2018 at 9:37 AM Dominique Martinet wrote: > Greg Kroah-Hartman wrote on Thu, Sep 20, 2018: > > "Fixes:" is not just for stable, we use it wherever we have a patch that > > we know fixes a problem introduced in another patch. > > > > For this instance, I think we should just revert the offending patch, > > which should resolve the issue for everyone and then you can try to redo > > your series to get it right the next time. > > > > Sound good? > > Except that 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h > mutually exclusive") itself fixes cafa0010cd51 ("Raise the minimum > required gcc version to 4.6"), which breaks clang altogether (as used by > example by bcc for most BPF programs, that I caught before -rc1 got > released so we got both in rc1) > > I'm not aware of anything that would break if both were to be reverted, > I have no opinion on which way to go. I guess reverting them makes no difference for gcc >= 4.6. For older compilers (which were declared unsupported by cafa0010cd51), you also need https://lore.kernel.org/lkml/20180814160208.4f4dd7ca142912f5894ddddd@linux-foundation.org/ Been there, done that, happy gcc-4.1.2 ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds