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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 56968C33CB1 for ; Wed, 15 Jan 2020 13:24:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26FA920728 for ; Wed, 15 Jan 2020 13:24:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uF/OEW08"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Gwt7Jxzn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26FA920728 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AeDiwe23d66J9jia+caB4zcsfJuPxD2Tc06ocUaursU=; b=uF/OEW08U0UEMB YuCNraqyNM21/RCl2hDFlKcRb2Q5sLCT+yAMtPeB50IRQnLkeXQwQnI4i7axG3o+6rVVAGRRe9XUh BzF37H5JW1ip6eQA81/gF//KFSeksvuq9DEu8H0MguQ3aBW3j+P+lS9N14t8AdomIzRIjZxaS6dSs uPE2UqI18sNg6Vzn7ZJX7gXPFlsYrMzCO5J7woEUL8nw3sJgZ6vt1HTPk1664KUpilpyJNVCH4nvg nTU5ZKTgQ3lLTTNU0y5jJ+ZRUbGvvPosnBd/h5fDn6VmvMZ/3vOakgltERrihPrHOSpP6jGbjrO4D WQElbRNhr423/y8I1ufg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irieg-00044x-Ta; Wed, 15 Jan 2020 13:24:18 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iriec-00044J-Mo for linux-arm-kernel@lists.infradead.org; Wed, 15 Jan 2020 13:24:17 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2B6920728; Wed, 15 Jan 2020 13:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579094654; bh=kKbArU8xxPgCdcdhxsTWTnHiYirl+YRo1E9IJdr/ufU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gwt7JxznjfX9zEMi2yEdrTGG5KtIT8fFdodL/oaYC071ssJ9Gx6p9qvSo+y+is44F ZlWB4C4lp1I7YaPOGP7n2mtSyByrFRxztF9vyW1/g5Cchzq3tZH1TlTwtNWzk0fdi/ WI2L3V7VAuk94VzgV4na2gkPjkkz9m2K+Wkpdg5g= Date: Wed, 15 Jan 2020 13:24:10 +0000 From: Will Deacon To: Vladimir Murzin Subject: Re: [PATCH v2 0/2] arm64: Simplify gas LSE support detection Message-ID: <20200115132410.GA27473@willie-the-truck> References: <20200115113008.3334-1-catalin.marinas@arm.com> <20200115125109.GH21692@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200115_052414_763687_676CFAD2 X-CRM114-Status: GOOD ( 16.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 15, 2020 at 12:59:00PM +0000, Vladimir Murzin wrote: > On 1/15/20 12:51 PM, Will Deacon wrote: > > On Wed, Jan 15, 2020 at 12:49:17PM +0000, Vladimir Murzin wrote: > >> On 1/15/20 11:30 AM, Catalin Marinas wrote: > >>> Version two of the patch series moving the LSE assembler support > >>> detection from Makefile to Kconfig. > >>> > >>> Changes since v1 [1]: > >>> > >>> - Re-introduce the Makefile warning if the .config contains > >>> CONFIG_ARM64_USE_LSE_ATOMICS but the assembler does not support the > >>> feature, disabling CONFIG_ARM64_LSE_ATOMICS. > >>> > >>> [1] http://lkml.kernel.org/r/20200109174948.48211-1-catalin.marinas@arm.com > >>> > >>> Catalin Marinas (2): > >>> kbuild: Add support for 'as-instr' to be used in Kconfig files > >>> arm64: Move the LSE gas support detection to Kconfig > >>> > >>> arch/arm64/Kconfig | 5 +++++ > >>> arch/arm64/Makefile | 11 ++++------- > >>> arch/arm64/include/asm/atomic_ll_sc.h | 2 +- > >>> arch/arm64/include/asm/lse.h | 6 +++--- > >>> arch/arm64/kernel/cpufeature.c | 4 ++-- > >>> scripts/Kconfig.include | 4 ++++ > >>> 6 files changed, 19 insertions(+), 13 deletions(-) > >>> > >>> > >> > >> with > >> > >> aarch64-linux-gnu-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 4.9.2 20140904 (prerelease) > >> > >> I see (among other warnings) > >> > >> arch/arm64/Makefile:35: LSE atomics not supported by binutils > >> > >> while with > >> > >> aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025 > >> > >> warning disappears. > >> > >> > >> FWIW: > >> > >> Reviewed-by: Vladimir Murzin > >> Tested-by: Vladimir Murzin > > > > Cheers, I've queued the patches with your tags. > > Would you mind if I send follow-up patch for BROKEN_GAS_INST conversion > (it depends on as-inst)? Sure, you can send whatever you like! Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel