Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2428580pxj; Mon, 10 May 2021 02:44:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMAKUpdAGLclm1rbDN7pbqpB1xVzvXe9SkQRjWF6m8jdLgIkj0yYUdAh9zUajqQvRFGOEM X-Received: by 2002:a5d:9acd:: with SMTP id x13mr17263901ion.134.1620639877399; Mon, 10 May 2021 02:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620639877; cv=none; d=google.com; s=arc-20160816; b=ohCGdryW86fdtVKuSK6lYyafuFRL08gnFW9KjWUz+6pp7Ty4755zkz5eWU/aB71Zuo Jm9Dfy77tu2RjMvRsSiPg1D6qC80VBFXQYaMPnKuyb55IB1SsfgMTvO0yVpTtaAKJ2Eo nS1XnbUk1yUwJAq3Z490pflU3+pHcoW9DZoW1EnRxYCo6LBgyRyUI3JK6+OejjVQNjDM DiwFeTKUbxuJczcwgoyAesSLhrCUtSN30G5ZZXjjUBWG6wbUjwppvlA84E/pR9lhYQ40 dzCLHvZgbq2W9MZU2KDEEti3U2zUdpochW65PA6BAD4gA9C46cRW9FwERdBFfLUsOoVY xR9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=zbyNjhDG5FHC8/T6BuexOayivZhYbDwJyD3670BYks8=; b=NKBXMHkNlYedd/2afCXYQRbkJh7mT/W2gK2FZQNKizm/6sXNnauN5lAwto+l1n+pQs 7wO4HRwr1g6eluw8rMRwDTQQHHVgGMaPQ98M9TDLtv99SAJxXqmT4YuNac3hdgRnbvAE MTU/hTxJ38AZi409MPVNJejNHLpzjeFQdMd1nPWO/QhhtBQW7Zh20kMpXj5Z6X8L2dF8 USvbT+AIQlWQVqsOZF6jQD/VVKEammIQb7w8LI7aEN3UYr4IZKipAteQuloFKGNE4UDb UNL42JZPh8s3xY1cHWNKmicIAGZuosd1mxAySLKAfEWrOVNbMlj5jltAu8Q8DjMB9NSj piJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si15691907ilh.46.2021.05.10.02.44.25; Mon, 10 May 2021 02:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230355AbhEJJny (ORCPT + 99 others); Mon, 10 May 2021 05:43:54 -0400 Received: from foss.arm.com ([217.140.110.172]:51840 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbhEJJnx (ORCPT ); Mon, 10 May 2021 05:43:53 -0400 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 8EDBB15A1; Mon, 10 May 2021 02:42:48 -0700 (PDT) Received: from lakrids.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 5916D3F73B; Mon, 10 May 2021 02:42:44 -0700 (PDT) From: Mark Rutland To: linux-kernel@vger.kernel.org, will@kernel.org, boqun.feng@gmail.com, peterz@infradead.org Cc: aou@eecs.berkeley.edu, arnd@arndb.de, bcain@codeaurora.org, benh@kernel.crashing.org, chris@zankel.net, dalias@libc.org, davem@davemloft.net, deanbo422@gmail.com, deller@gmx.de, geert@linux-m68k.org, green.hu@gmail.com, guoren@kernel.org, ink@jurassic.park.msu.ru, James.Bottomley@HansenPartnership.com, jcmvbkbc@gmail.com, jonas@southpole.se, ley.foon.tan@intel.com, linux@armlinux.org.uk, mark.rutland@arm.com, mattst88@gmail.com, monstr@monstr.eu, mpe@ellerman.id.au, nickhu@andestech.com, palmer@dabbelt.com, paulus@samba.org, paul.walmsley@sifive.com, rth@twiddle.net, shorne@gmail.com, stefan.kristiansson@saunalahti.fi, tsbogend@alpha.franken.de, vgupta@synopsys.com, ysato@users.sourceforge.jp Subject: [PATCH 23/33] locking/atomic: nds32: move to ARCH_ATOMIC Date: Mon, 10 May 2021 10:37:43 +0100 Message-Id: <20210510093753.40683-24-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210510093753.40683-1-mark.rutland@arm.com> References: <20210510093753.40683-1-mark.rutland@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We'd like all architectures to convert to ARCH_ATOMIC, as once all architectures are converted it will be possible to make significant cleanups to the atomics headers, and this will make it much easier to generically enable atomic functionality (e.g. debug logic in the instrumented wrappers). As a step towards that, this patch migrates nds32 to ARCH_ATOMIC, using the asm-generic implementations. Signed-off-by: Mark Rutland Cc: Boqun Feng Cc: Greentime Hu Cc: Nick Hu Cc: Peter Zijlstra Cc: Vincent Chen Cc: Will Deacon --- arch/nds32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index 62313902d75d..352913573aee 100644 --- a/arch/nds32/Kconfig +++ b/arch/nds32/Kconfig @@ -7,6 +7,7 @@ config NDS32 def_bool y select ARCH_32BIT_OFF_T + select ARCH_ATOMIC select ARCH_HAS_DMA_PREP_COHERENT select ARCH_HAS_SYNC_DMA_FOR_CPU select ARCH_HAS_SYNC_DMA_FOR_DEVICE -- 2.11.0