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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 8A300C33CB1 for ; Wed, 15 Jan 2020 11:30:29 +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 58F3D22522 for ; Wed, 15 Jan 2020 11:30:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jMtH41um" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58F3D22522 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=82mBA4t7ofY2BHLMTRUwkgfDUd6SMBijkVNDY8ry3LY=; b=jMtH41umjEH7RU mApr9l2jgtDVbFwBhCdLjOpBwicTn/wodVWBSUerWquEfnTkK23SjDME4ZWc+ky3XfANWN4W4wYx+ zepsl8nuKMCvp+TPtMNJL4seq8YaEKdioC1/2OnMjtPKLJ3ghCLnkHXwu5zIMxBy7xCf//Y96ITCX 7HMwwCE8lgp1zrLB/vixKAc0HxQIDDGMd/zpDlC4WietUWwjmssEKOvFyY2YcdkmHwhO+6By8ESto vXaUjx7yfJ+mqDpFOdQLS5SEmRJfrUzYtRgyOUldr+Q4XjVE4udxaOJ7kOHqDhm8tVbqZzMcmDRd+ j7n+3yLKMj2SOndFHJgQ==; 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 1irgsR-0001bT-4Q; Wed, 15 Jan 2020 11:30:23 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irgsI-0001Yc-KG for linux-arm-kernel@lists.infradead.org; Wed, 15 Jan 2020 11:30:20 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 27AFB31B; Wed, 15 Jan 2020 03:30:13 -0800 (PST) Received: from arrakis.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 694823F6C4; Wed, 15 Jan 2020 03:30:12 -0800 (PST) From: Catalin Marinas To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/2] arm64: Simplify gas LSE support detection Date: Wed, 15 Jan 2020 11:30:06 +0000 Message-Id: <20200115113008.3334-1-catalin.marinas@arm.com> X-Mailer: git-send-email 2.25.0.rc1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200115_033014_720085_57AE8967 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. 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: Vladimir Murzin , Will Deacon 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 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(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel