Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4896241imm; Tue, 18 Sep 2018 00:36:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdarDpwrguOZMhKXCkPztJyOczETs01DorZ2JOfV37HNnadGgfSrPVQoRX+OJA1RkjHHAXuo X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr28116178plb.173.1537256202446; Tue, 18 Sep 2018 00:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537256202; cv=none; d=google.com; s=arc-20160816; b=ejFXsUIwobkKdIKI+jrYJoqmwNUlIlUVCy7Sm+ev1A6BeuN4AV+R/yWauPUtDASCfD haxtJhRKqqZ8MwxungCtLsoBi4JKqpSAI8dLNBhuOqbAqOZw8bTa/u7xQzR90t7Jb4kC YCF+CD0610suktf2sv630wv0sYT6D6pDdF1Zs+5XZItJ+DH7eg65zT2FY8tyNlLbfJUJ mzIFXdgeEoBujNZWKbKeGIU5GSF2Ja0yDzfFABHjPP4hdpRpQi/biY/AhdnevoQ6DBvz TqaRgxP9pK2qwVW6nzT50ivpS8xrJK8EwegzhGv+X/E8YCPCyb8cwHrQKrrDw4kkW+am Dj5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=svcgc2g0mpUO24fcvQEZvg42N8O8BQHHtT4ojjSXw9Y=; b=XOfTtGx36ntXfv94FboM7f+v8YNVGchA6sDYjuKDQgdQb/mSizXVg4Ljp6ZYEJGfi1 gLQOnPgqTZtSHkddAkD3pPPOd6fZ/y94agP2Mx+L59AS5bFrtxGoBCXoRMvMJU2M+VpS vdC0EEJ/vYVMdrMRev+SQkyfObQy4JSBJGaqykWREO3Ut8pIsAJC1sbT5vZbwwydeU0Q BdKQSZabY2SAgSDqbmEw5m0Y+vUPCThKZWH92OcDsmmV3N89NnJsRFISL5xVw2Wku0Px aJBJATougZbrDdLNv4lRidOl5v91wuuYrjfEBNSwvQYjI7pKQDfWJDqTE7YFUN9xvRFF sWhA== 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 z16-v6si15056896pgi.252.2018.09.18.00.36.27; Tue, 18 Sep 2018 00:36: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; 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 S1729197AbeIRNHd (ORCPT + 99 others); Tue, 18 Sep 2018 09:07:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39756 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727404AbeIRNHd (ORCPT ); Tue, 18 Sep 2018 09:07:33 -0400 Received: from localhost (unknown [147.67.4.98]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 31F13CB5; Tue, 18 Sep 2018 07:36:11 +0000 (UTC) Date: Tue, 18 Sep 2018 09:30:05 +0200 From: Greg Kroah-Hartman To: Stefan Agner Cc: Miguel Ojeda , arnd@arndb.de, Linus Torvalds , linux-kernel@vger.kernel.org, Rasmus Villemoes , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Masahiro Yamada , Joe Perches , Dominique Martinet , linux-sparse@vger.kernel.org Subject: Re: [PATCH 2/2] Compiler Attributes: naked can be shared Message-ID: <20180918073005.GA4067@kroah.com> References: <20180913235941.31211-1-miguel.ojeda.sandonis@gmail.com> <20180913235941.31211-3-miguel.ojeda.sandonis@gmail.com> <40a059bad54389ff2a9ddc26b9d99a4b@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40a059bad54389ff2a9ddc26b9d99a4b@agner.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >= 4.6 (for ARM, > > which is the only current user), gcc >= 8 (for x86), clang >= 3.1 > > and icc >= 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 patch should take, MAINTAINERS is not quite clear about that. This fixes 815f0ddb346c ("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? thanks, greg k-h