Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3352620pxj; Tue, 11 May 2021 02:29:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyaXolU0OWqTpTBKgi5IXHrcQGRYHZsFgeYNXhiC7eWIq64zC0G5dfKDGYtXc40ts4e4TR X-Received: by 2002:a6b:c981:: with SMTP id z123mr20834910iof.6.1620725396203; Tue, 11 May 2021 02:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620725396; cv=none; d=google.com; s=arc-20160816; b=ZwSnkBzcN/AqweCax6ZOnB5ExSr27FTOg+73l+hI/WT00wtGoEShpNIQDCQ5Pk1xst oagSv7lN69O+TXZX4QYfHBdW/eJ7XyMCrQrsGVHg3bZ4Em+SeKDTf/Ij7+WzxZAekBAh rzDHz9DtiUFRzvjdPVGCpV4o2pV10/K7oTnhPpB++7zri/kZSjH0qXFK8CqxxquSgSRQ eEXtzdVKMBZssP15dVK1LRAxx3XBEgOwWp7og4t9uK2qL+vWPzeP42JBJw8YlMVS72dG kMvZgQCE4r5HkVftSEem8iOQGn8E25GnZBFB6OXbXgIRMd5zkg0vSF0ngZ4hn1S+Dzh3 +rxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Jm/AD7ayc9IZjTKCnS+p+8DytAX/uGO/+aOztTY9HLY=; b=haUqzQ6aEbfZZI0STEfMIIXhiK6aV7N4fCQBo5T3NNeDQoL0V8N2N6G8hp1fdv6nZN XQWu+MJNOMrtMtuJy9IkZpImU2wF/FXWCAB2vhq6OHTHcv3Iww0ZrcTeeFSMoU4o5rxY QjJV0rn3gL8dBTVKN8rYcFTRNvfrfcmMuWHRPazHCVHWFwFpeDBr7F1XE4Rcwxy3AtLv bWCwH780tYSOvK3jI9UiObJDNJf5h6TSQa4cq51agFBR0FQQKDmNXk+lTCb0ZsV3n076 JcNd8VFk0sF8aBm8PM/AcrclOByR0UtMNC4GnJN4gV4HsaHIyz3ariagfAFBqiFIvF6T N6KA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si19647237ili.65.2021.05.11.02.29.42; Tue, 11 May 2021 02:29:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231272AbhEKJ3D (ORCPT + 99 others); Tue, 11 May 2021 05:29:03 -0400 Received: from mail-vs1-f45.google.com ([209.85.217.45]:39503 "EHLO mail-vs1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbhEKJ3D (ORCPT ); Tue, 11 May 2021 05:29:03 -0400 Received: by mail-vs1-f45.google.com with SMTP id v188so9861524vsb.6 for ; Tue, 11 May 2021 02:27:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jm/AD7ayc9IZjTKCnS+p+8DytAX/uGO/+aOztTY9HLY=; b=S28tPzizlbDjlCGklqhWJJSYp502nFEhW7ixPm14roDf+QM8lJf1GVApK83Zkm4Bgw 1eoLZZysG0TCwHw+7vBdbPGkdJrRctAVkLOzwUqt579wAGM/Geet54aXMGIOVuQyQFWa KTM20zDvl7V754eisvDYzvwi1BlyBxftSAGwC1D6v2UimK63+PLAs2S3d/ltLXQBLIqC KvCLmJVJmi+O9rmlWpQDywSFztvHRT5+BhDHxYuu9NF9pHtxrvC4fKXHzuG2tU7lws4b 51gKEGxnubY4QpB65evPvIPawdasKSj8ZE+e1qA4R2fCma4mJV52QtfithI7kOHGe3zm +Qkg== X-Gm-Message-State: AOAM530I/5qYbLv8pFUPRGio+jolxr4tGCPcL/SwQT4RjEyD7YZs8hdH RYgF6sqgiTN+FAVmJcjMg74JoI/MMxtM9AdUJ9I= X-Received: by 2002:a05:6102:392:: with SMTP id m18mr24519460vsq.40.1620725276793; Tue, 11 May 2021 02:27:56 -0700 (PDT) MIME-Version: 1.0 References: <20210510093753.40683-1-mark.rutland@arm.com> <20210510093753.40683-21-mark.rutland@arm.com> In-Reply-To: <20210510093753.40683-21-mark.rutland@arm.com> From: Geert Uytterhoeven Date: Tue, 11 May 2021 11:27:45 +0200 Message-ID: Subject: Re: [PATCH 20/33] locking/atomic: m68k: move to ARCH_ATOMIC To: Mark Rutland Cc: Linux Kernel Mailing List , Will Deacon , Boqun Feng , Peter Zijlstra , Albert Ou , Arnd Bergmann , Brian Cain , Benjamin Herrenschmidt , Chris Zankel , Rich Felker , "David S. Miller" , Vincent Chen , Helge Deller , Greentime Hu , Guo Ren , Ivan Kokshaysky , James Bottomley , Max Filippov , Jonas Bonn , Ley Foon Tan , Russell King , Matt Turner , Michal Simek , Michael Ellerman , Nick Hu , Palmer Dabbelt , Paul Mackerras , Paul Walmsley , Richard Henderson , Stafford Horne , Stefan Kristiansson , Thomas Bogendoerfer , Vineet Gupta , Yoshinori Sato Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On Mon, May 10, 2021 at 11:42 AM Mark Rutland wrote: > 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 m68k to ARCH_ATOMIC. The > arch code provides arch_{atomic,atomic64,xchg,cmpxchg}*(), and common > code wraps these with optional instrumentation to provide the regular > functions. > > Signed-off-by: Mark Rutland Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven I even gave this series a spin on ARAnyM and QEMU, and everything seems to be fine. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds