Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2427489pxj; Mon, 10 May 2021 02:42:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytJmf6L65T85pUh5M67giKXR8J+TRaa7IkVUqWA2dM1ct6+IA5AaXtJfyElm523KG3DwmY X-Received: by 2002:a05:6638:32a8:: with SMTP id f40mr20625674jav.84.1620639747150; Mon, 10 May 2021 02:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620639747; cv=none; d=google.com; s=arc-20160816; b=q27oVIMuUkqhZZfplZZhFsviCMamP/jVmgSYqepktQMa8FFLrL8aZE4mqLBATLT9Ow L5B2l00AfOPVwSs0+mXCN/Z334L8y0LFJyyIKijlG4l1eoK1V4kJ9d/h5INDUQoEgpW+ LJNg6upbS5QKsVe524C7p32QZGqQ2/NhsB1my7s5ACax27GNhCQ3nzmriRGNjEDz+hsO DKkQKEuq8VU/EDSSaWJs0hUtBXRZfUMTrUh/0FYsvJuC1YD83XdiTshWybqhpKv1Mynh mAvkHkgsiPMdpogv/crJtZxFEks2Fxn6C3wIEWyszHL1zJ5yn1l7tUv955focOQIFDEa 7auw== 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=01TQUmpuaOao9GOWt8OHgSnz7XUvLNLREPshqzhYsEM=; b=V7skljm7pom0aPLtrxUMtCqv0dGJaQPo4HpxWptIODgfJB+zSaM4rsawjb4lyanUIa 3ZByAioGkdRhjuFpyjvpnN2fBRoHsqqepbUCsfvYkQEmduYO3VFMpPQ7JWwQC3gWbcHT bJ+XubuKeDSmVnkFBsXTYnXOpxndBpkbVr0tq3/lmHmngltP5LuKK80try1p96nceSbU laml3KFSSkmKX1PiU84ftZVM8e/g6onHq2aTqO0wtacHQ6z2VqNzsc1q0ihkNssGiyXu sSEpgnGcNMtt1ejyKh2moD2lUp1T8deOfCDe1KKP/PTfgcuyCRmlgCgxugytatN4Lnv6 nKuw== 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.42.14; Mon, 10 May 2021 02:42:27 -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 S230352AbhEJJmb (ORCPT + 99 others); Mon, 10 May 2021 05:42:31 -0400 Received: from foss.arm.com ([217.140.110.172]:51430 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230351AbhEJJm0 (ORCPT ); Mon, 10 May 2021 05:42:26 -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 66F22152F; Mon, 10 May 2021 02:41:21 -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 2F6083F73B; Mon, 10 May 2021 02:41:17 -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 17/33] locking/atomic: h8300: move to ARCH_ATOMIC Date: Mon, 10 May 2021 10:37:37 +0100 Message-Id: <20210510093753.40683-18-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 h8300 to ARCH_ATOMIC, using the asm-generic implementations. Signed-off-by: Mark Rutland Cc: Boqun Feng Cc: Peter Zijlstra Cc: Will Deacon Cc: Yoshinori Sato --- arch/h8300/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 3e3e0f16f7e0..bdf05ad3206a 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig @@ -2,6 +2,7 @@ config H8300 def_bool y select ARCH_32BIT_OFF_T + select ARCH_ATOMIC select ARCH_HAS_BINFMT_FLAT select BINFMT_FLAT_ARGVP_ENVP_ON_STACK select BINFMT_FLAT_OLD_ALWAYS_RAM -- 2.11.0