Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2428412pxj; Mon, 10 May 2021 02:44:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE58PhoRi59J1Wj9GTMin3Nb5n5hliF+MIWikNeOoUQkZMhzroak5dY6GymlaTEEEvdC41 X-Received: by 2002:a92:c7a9:: with SMTP id f9mr19629275ilk.255.1620639858919; Mon, 10 May 2021 02:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620639858; cv=none; d=google.com; s=arc-20160816; b=ySXLu5OALhMsUVQoSymLUirGDAaeXi+ZvokoWkVaK4yD9Y5tdq2YulS6uk66PcVj3W 5snk91mrrUzRvMXg9WWCHnO69aTxvvBdnTphhXGMJFMoKo5wYEc9X7pqazKt+z8mmd0D jGq7fv9pjX9UUgfZtsMlFOO63siwI+g0dINpSFfXrF7u6yjORBHn3u5hbxeiY5HBbN6j 3iUP3sHIlO6z8XgGA4xqEI4Y9a1ZLgQTYVoXfJIjHVc4q4Iw+0TLYbFJDsvwKm4Av+YL 83oXzYftS6LrlaTaYJj4FfsdHIDV+wZebDzmq+w59mqvbGE4DOcWZsJl8r4ggtHDhZS/ 4ZsQ== 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=23tFrnB7jG+hjF7MX61qyk7f8znxwhOkivSflIbp8gg=; b=Nppup8zLGBZLywkvW0+N14IgWmRtAfDjQnQ+Hvi+NIGiOtOhIyc1NRHpn4pD60JWzP SxSZvXeiDIuaO8Nnqq9YU/zPx9TjBJLptPHGNvu/CKn+oqWnd/8JJdLoWcoK8fruvMF9 f3HShRifcHhmxXh65iBdtNvGQrxNQ4aXmi/slH4iuIsXjNJnWLIsGTFB/BOIA/QClcdV MkhylYg6A6T+nFF/+q3//LqVa/qtVGa/DF5ew9v9ae9tLBUhmoPh8Pqkc6EKvXXTbATH Fqt/SZokJB9KKOl6IcsGMmrZ/wiS4tZ1/KzMAhfm07vpnX1c8vHz1i6+ZEHHTEYU+QaR LOBQ== 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 g11si1335668ile.43.2021.05.10.02.44.06; Mon, 10 May 2021 02:44:18 -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 S230203AbhEJJn3 (ORCPT + 99 others); Mon, 10 May 2021 05:43:29 -0400 Received: from foss.arm.com ([217.140.110.172]:51704 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbhEJJn2 (ORCPT ); Mon, 10 May 2021 05:43:28 -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 4E1591596; Mon, 10 May 2021 02:42:24 -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 167A03F73B; Mon, 10 May 2021 02:42:19 -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 21/33] locking/atomic: microblaze: move to ARCH_ATOMIC Date: Mon, 10 May 2021 10:37:41 +0100 Message-Id: <20210510093753.40683-22-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 microblaze to ARCH_ATOMIC, using the asm-generic implementations. Signed-off-by: Mark Rutland Cc: Boqun Feng Cc: Michal Simek Cc: Peter Zijlstra Cc: Will Deacon --- arch/microblaze/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 0660f47012bc..5a52922dc225 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -2,6 +2,7 @@ config MICROBLAZE def_bool y select ARCH_32BIT_OFF_T + select ARCH_ATOMIC select ARCH_NO_SWAP select ARCH_HAS_DMA_PREP_COHERENT select ARCH_HAS_GCOV_PROFILE_ALL -- 2.11.0