Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5415699imm; Tue, 18 Sep 2018 09:10:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWEAx3UeiMY1kwzdH8dp5ZCZA0jXYLqw9rX/1vn1C3MqbGGms06NkvQFwV1ubKfQP4TVPN X-Received: by 2002:a62:c90a:: with SMTP id k10-v6mr31483564pfg.180.1537287042557; Tue, 18 Sep 2018 09:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537287042; cv=none; d=google.com; s=arc-20160816; b=OrbI66pYSnyQxUmbZEBZLZT4ObRQVaXBmhZY27eiwSqFKYhBQYnWmNAAXGHKzpZQTR iU2JBPvL+xqfIgnGtXmZFUaleQFrV3kelKr6dz2FkIeKXBXC7LnoCT6jW3rhLPexIQrf iXVdmhXOSvIDwinzFDDk0R4gKHblhllE4EEhyOP9CXAuilKZIJsXm61Pnh+pqYbQI5FL PtJKqMbh/YkvM2bkbxU9h9Xt5RvZ87WIsBYDapm/Hh9qW8adOIXNBaOJ56PDxusfWRhX 2sgDgvO7asFtjUvakn5jiLcSGiEYFsMKDLsT0M2Nkq8pcu/0D7wbExMF7zX6y2Hk52r0 TBtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=3oqXhLdQSRFGXH/IjF86ZThN1kTAlHC49oqoN88lyHo=; b=pulflXteNhR9vVTkFy/JzzLyEl2Tb9mCRyNLDLD68ADBSUqW7738SEICbtZbt4jO0N 4LljgWxPDu/03UikQcwxT1sTI1DPUiuog5PHYa07wJ0nwJjvvIpLewRBdb0ZAB7OUs+J sBzOpNXnlN19vRMFFmSUub2SFqlLT6xNukC0SEMhn4OKo5BGbwuVLqHZmKyVKr91/4P2 a5/sbqm3bQ7JsgZblW8+jBmR33BTXuzp11syZya7koQHTvkap0Yh5n5bUrOX94PtRoHF lT6dFpKI2S9BpVgolDAX4YjtVJ40L2gr3TlvV4pJJy0vn+0FHRkEeZJM8Uef9tCWkVNT 77Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z3N7LGvs; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15-v6si18155480pgm.502.2018.09.18.09.10.27; Tue, 18 Sep 2018 09:10:42 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z3N7LGvs; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730176AbeIRVkg (ORCPT + 99 others); Tue, 18 Sep 2018 17:40:36 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:41661 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729819AbeIRVkg (ORCPT ); Tue, 18 Sep 2018 17:40:36 -0400 Received: by mail-qt0-f196.google.com with SMTP id t39-v6so2182022qtc.8; Tue, 18 Sep 2018 09:07:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3oqXhLdQSRFGXH/IjF86ZThN1kTAlHC49oqoN88lyHo=; b=Z3N7LGvs/9K0sELpzLoDBf4rOipe5njAdzAXnu6pPgNPv5Ni4GK3ZGLb2DgPtp/DSv oNSEKpp350loqhmt9VlqVjb6cLdjnY/mFGVnMjv2UxjdLbt0JNDW2MskdoMq8ePpIOIr eX2nERAYquYDvecVEDgDs55PZP64oOUoLOkPCM/gnAl+tz0bS9a81ec1OLAF6H4hHhuu JsluozZ3morgp8Pz93GD+tt9ub46dz/1LMIfckPdnT3YnbuuBhzzBwQuMPTNKltzUGz3 G/VlHlHYw52nkuHy6/W95V+jevLVpkuHHlnW4ciaqx5iZ1m9pWcc/Y1toCK14Ywcfdee gZWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3oqXhLdQSRFGXH/IjF86ZThN1kTAlHC49oqoN88lyHo=; b=AQ2BqPHB7zU1UYsBPof+XUN4d/2BqJ600na2Ph4qxnqHR5I98kUWuFhoLAF+c6gVBP uO5WspAVC88CP92FB/7+czVqao8dVANwzm8xQkbKJo/sD9TqcOwParztAFPQEqXm9RNS cvhikbP1BybSdmAn9jedpUtoUQ72aHeM1djJPrgPlOCca0ZWdqKRKMOEbEwS6qYUbj0s OFhKXbIUHG9w2BVzHKvh68wqvi00CMlvupa47mbH1bwE6uVR7J+aalyMLGdjZyWXcqfT 5L3K4A8HG7t75mNI3Lg029kdgI/xZpnLKnDD4WBPAuNsi2urBVoCx1Hhz1qVzLSka8b4 qh9Q== X-Gm-Message-State: APzg51BVz/8+hHsrN5RsiMZd0vHm7MTw5eXNxRlz60uOYmNUAnYdw/J1 cOTOuP+RT65LSyadjucRu5gO3bpHVN6ae5t41YQ= X-Received: by 2002:ac8:34e1:: with SMTP id x30-v6mr21872835qtb.115.1537286842362; Tue, 18 Sep 2018 09:07:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:7494:0:0:0:0:0 with HTTP; Tue, 18 Sep 2018 09:06:58 -0700 (PDT) In-Reply-To: <20180918073005.GA4067@kroah.com> References: <20180913235941.31211-1-miguel.ojeda.sandonis@gmail.com> <20180913235941.31211-3-miguel.ojeda.sandonis@gmail.com> <40a059bad54389ff2a9ddc26b9d99a4b@agner.ch> <20180918073005.GA4067@kroah.com> From: Miguel Ojeda Date: Tue, 18 Sep 2018 18:06:58 +0200 Message-ID: Subject: Re: [PATCH 2/2] Compiler Attributes: naked can be shared To: Greg Kroah-Hartman Cc: Stefan Agner , Arnd Bergmann , Linus Torvalds , linux-kernel , Rasmus Villemoes , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Masahiro Yamada , Joe Perches , Dominique Martinet , linux-sparse@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 18, 2018 at 9:30 AM, Greg Kroah-Hartman wrote: > On Mon, Sep 17, 2018 at 08:19:50PM -0700, Stefan Agner wrote: >> On 13.09.2018 16:59, Miguel Ojeda wrote: >> > The naked attribute is supported by at least gcc >=3D 4.6 (for ARM, >> > which is the only current user), gcc >=3D 8 (for x86), clang >=3D 3.1 >> > and icc >=3D 13. See https://godbolt.org/z/350Dyc >> > >> > Therefore, move it out of compiler-gcc.h so that the definition >> > is shared by all compilers. >> > >> > This also fixes Clang support for ARM32 --- 815f0ddb346c >> > ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). >> > >> > Cc: Stefan Agner >> > Cc: Rasmus Villemoes >> > Cc: Eli Friedman >> > Cc: Christopher Li >> > Cc: Kees Cook >> > Cc: Ingo Molnar >> > Cc: Geert Uytterhoeven >> > Cc: Greg Kroah-Hartman >> > Cc: Masahiro Yamada >> > Cc: Joe Perches >> > Cc: Dominique Martinet >> > Cc: Linus Torvalds >> > Cc: linux-sparse@vger.kernel.org >> > Suggested-by: Arnd Bergmann >> > Reviewed-by: Luc Van Oostenryck >> > Reviewed-by: Nick Desaulniers >> > Signed-off-by: Miguel Ojeda >> >> Reviewed-by: Stefan Agner >> >> Ideally this two patches should go into v4.19. Not sure which path the p= atch should take, MAINTAINERS is not quite clear about that. This fixes 815= f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive= ") for ARM32, which has been merged directly by >> Linus, afaict... > > Good point, can you resend these to me with all of the acks added so > far? Sure (I think only Stefan is the added ack, though). Cheers, Miguel