Received: by 10.192.165.148 with SMTP id m20csp3500849imm; Mon, 7 May 2018 13:26:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoEN0ioYVLWB0J4z0y7Pek802q7tfIiiPnCMi7nWl5hqBHpZHd7ahPci680U62L1HVFjpiB X-Received: by 2002:a65:6005:: with SMTP id m5-v6mr17188817pgu.339.1525724774515; Mon, 07 May 2018 13:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525724774; cv=none; d=google.com; s=arc-20160816; b=J+plutMqRczHpsqcfdIr1vKy0A7nfDCstaaGgYCq9ImMak+8QJkU8MJEsNpwj6Ftt7 /zLLpKDOmyIuSKepwx3qyJP7hq0m3tlMf45cYYmGrQFTc16czARs23XrwWx2vX7L6a9U 4AAAJT5iNe786G3oQX+usenLPcuvNq6dz0J+TlUV0DKCniHA8Q4Mk+U+AqGE6+k6VELM SUcECJWzoJ9x0q+hvtiW8zMQzk/mAvP3r0fO1ZszVDojd95TD8VixtEX4elUouPoJvWk pL3+BWgGURskygM5Jo+WryERJYhU80Vz+byT5EXicpazrN2FQCff+2YCmty7bl5DGrYQ mWBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=9cyswA1qqMvNf2Lu/MspRcfJ7dHmAEgSUoPnRW03EGA=; b=PHCQA7fxV0zlxpvkaRrt4Mxn2C9btjZe9Lni9EheLJY5CEbHEpehVy6exiqAjAK8EI roOfHbnrcQOj/IQwodE82AU7Empqbh7d+9UNKypKRf0sRwrW4//7YCqzYgnHUB6BgHe/ pcD5JTaEBUZ8J99dCa/AJvau15HSHCxVEn5MiGeqyYMXM10/Vi7+aZ4bCmRlgVdAr37l 365v0UwZAi6ov3Cckv5VzHWalDx4R28VpcDXMY4zSieq3B5spkVGksoMgBnqt7ncWJ9n ldqCC8tNLB7NCKQGKRYgv7vbZQua8q7GkROuBQXaVxNZRB6sVHHvVgXiJr9BCLRpcfK8 S/rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=upu+e5Vg; 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 i15si11358739pfk.146.2018.05.07.13.25.58; Mon, 07 May 2018 13:26:14 -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=@agner.ch header.s=dkim header.b=upu+e5Vg; 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 S1752782AbeEGUY5 (ORCPT + 99 others); Mon, 7 May 2018 16:24:57 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:34384 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbeEGUY4 (ORCPT ); Mon, 7 May 2018 16:24:56 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id B4EBC5C021F; Mon, 7 May 2018 22:24:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1525724693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9cyswA1qqMvNf2Lu/MspRcfJ7dHmAEgSUoPnRW03EGA=; b=upu+e5VgDJxT8wFp8TG4zRyN7S6WqzAsYDFyxWr1KM83nSiJnzHhnSsBgdshoTIPVvcoa7 VK7vLdub3EIth8ixuPIwYq+3dLndQJ7kA14dgByc7OP/3Jsl1T2EG7Ft7Ndr4Y4WaBwYkK mZaANBYEC2kPa6/R3Q72bo5NaWovG4I= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Mon, 07 May 2018 22:24:51 +0200 From: Stefan Agner To: linux@armlinux.org.uk, ard.biesheuvel@linaro.org, arnd@arndb.de Cc: robin.murphy@arm.com, nicolas.pitre@linaro.org, marc.zyngier@arm.com, behanw@converseincode.com, keescook@chromium.org, Bernhard.Rosenkranzer@linaro.org, mka@chromium.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] ARM: clang support In-Reply-To: <20180325180959.28008-1-stefan@agner.ch> References: <20180325180959.28008-1-stefan@agner.ch> Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.4 X-Spamd-Result: default: False [-2.11 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; DKIM_SIGNED(0.00)[]; BAYES_HAM(-2.01)[95.13%]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25.03.2018 20:09, Stefan Agner wrote: > This patchset fixes some remaining issues when building the ARM > architecture using LLVM/clang. The patchset requires the following > kbuild change: > https://lkml.org/lkml/2018/3/19/1756 > > With that patch and this patchset applied and I can successfully > build (and boot) the multi_v7_defconfig with 4.16-rc5 using clang > 5.0.1 and 6.0.0. Russel, Arnd, any comment on this patch series? How can we get it merged? I was thinking patch 1 through armsoc since that is the way previous patches have been merged. Note sure about patch 2, Russel can you comment on Thierry's email? And patch 3 through 6 through Russel's tree? -- Stefan > > This version also adds a patch to mitigate a often printed warning > about duplicate 'const' declaration specifier when using get_user(). > > Stefan Agner (6): > bus: arm-cci: use asm unreachable > efi/libstub/arm: add support for building with clang > ARM: trusted_foundations: do not use naked function > ARM: drop no-thumb-interwork in EABI mode > ARM: add support for building ARM kernel with clang > ARM: uaccess: remove const to avoid duplicate specifier > > arch/arm/Makefile | 2 +- > arch/arm/boot/compressed/Makefile | 2 +- > arch/arm/firmware/trusted_foundations.c | 14 +++++++++----- > arch/arm/include/asm/uaccess.h | 2 +- > drivers/bus/arm-cci.c | 2 -- > drivers/firmware/efi/libstub/Makefile | 3 ++- > 6 files changed, 14 insertions(+), 11 deletions(-)