Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp275378imm; Tue, 15 May 2018 01:17:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp6Y6tC+2Bid1IOtu7vFVBnK28cO5ONiIZLKYOKx4LEqAoIVXfQkeoTOJnFrRDlB7DRgnMb X-Received: by 2002:a17:902:8ec4:: with SMTP id x4-v6mr13250085plo.370.1526372236736; Tue, 15 May 2018 01:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526372236; cv=none; d=google.com; s=arc-20160816; b=IhJHMcNaz/mQBc2QR8TPZVa2KGUlydM2TKHUNig141xkiIE1rrcQ2M1MumRqPdkXuG YnwMkhDLW5n6fAbHwrM80nCUFy2+5ZCNw6M03RJdBmRFDYRkdWMvE9xKIIUzyDiQjVEW M3k/Qq7TbdxEH6tMIKIUBtsFhRwIBdi/EhqItIPfwgJzSN+m5wSlRfb687NtrW8mW9Ks h9zPgzx4S6LgZlOQFR9MJoFg5KAqElC2aRYuwptJ1STSoyhsGXLQNlStwi7TmQWNuwRy DO+K0qCuwIr99llxKhDB7zUSiBxeV+818EWdQReeM/D+Y+d+ou3NKewEgyI6VdLn1kLM e5nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=HPPcSZu5tMHy5SJjzRZLNw9UAzmRt9vxTNxZh3vMjWY=; b=n8Th6uLDKBGx8bptjd7OK9GdVpeb5HILToIV1smYNkIIzDVa2BqIyCNcUdSu9k19al S2Lx5GALqF35QTysgpgqYVIOoYxjdjVHdFTX8wwD4sR0KNKOK+vCLRUMmcWQkns8Mefy glXoa/V/gSXg1YS1eojLxr/YuiSlXhfFmViaPtW6P6Q/J8vYcXwO7ms/HrRhDb2GcC6E 8fGuaNOfHa7/7JkcSZz3UM8KBqCsCSC4f3UXXPRTJyXCDZPZB6kF6adGtZcQ5UVqPI8H KQxMHXOPKR5yxmFfc+2F6mAeYrZjzez+gE/EhDNj3c/C18+NuwIii56+/MVHAQUknVDM xkZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=A23Zfo7u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3-v6si9159332pgr.171.2018.05.15.01.17.01; Tue, 15 May 2018 01:17:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=A23Zfo7u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752387AbeEOIPr (ORCPT + 99 others); Tue, 15 May 2018 04:15:47 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41488 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752195AbeEOIPo (ORCPT ); Tue, 15 May 2018 04:15:44 -0400 Received: by mail-wr0-f193.google.com with SMTP id g21-v6so14935485wrb.8 for ; Tue, 15 May 2018 01:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HPPcSZu5tMHy5SJjzRZLNw9UAzmRt9vxTNxZh3vMjWY=; b=A23Zfo7ux0QweKQ6sXWrKR1O228s1+emNmrMogPChwyH70qMnWWi2vAoIjl6FjBYPV ysTzwrldaXUhccuyarYNMr9J+5T3Y4iONEoA8RcrYxdsP7ttzTclg8cqtVGWOSaK+q/K TsbAF1XTKyGs83P61ZaP0cw68ZXvAWq092Ms0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HPPcSZu5tMHy5SJjzRZLNw9UAzmRt9vxTNxZh3vMjWY=; b=nD2E7fIkmTmI8QjeFZjclUb10L9Z7jUyg8Uv7NN1ppP9PClWDedeRIPe+ToljhgwpW OhXdOe1UX3bNjll5izoHnnuljKVSYngycpSbjMJ8NDndk6jUqMIVSfi+mugSiiloqnDJ Uzl2f6Kx0apgKiPyT4I1YigUiQThp/hmFOc7hI3jgCwvcrlIW69ipQx9piJu7rfsQetZ sIJQpnC/K8eQI6/VTkup645TsnERvE3vNFVtPoEqSFnh9WGwdK8jusWLLnDr3CXA4bi+ AH9Dni1cMXE4Dkez8DCy1GwiY55ik+9tMjTgvNdGH3eHF2ypHdIOJXWu97tpky90MpjW Bu8g== X-Gm-Message-State: ALKqPwciOxid+uEQyzuuH2OCe5CPLP5F516IlRGBurrrjNBehZ5m041V DefIT715sNiaXHzyydNZ9lQKzA== X-Received: by 2002:adf:b067:: with SMTP id g36-v6mr9489166wra.128.1526372143213; Tue, 15 May 2018 01:15:43 -0700 (PDT) Received: from andrea ([94.230.152.15]) by smtp.gmail.com with ESMTPSA id v12-v6sm9115974wmc.35.2018.05.15.01.15.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 May 2018 01:15:42 -0700 (PDT) Date: Tue, 15 May 2018 10:15:36 +0200 From: Andrea Parri To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Geert Uytterhoeven , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , "David S . Miller" , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Chris Zankel , Max Filippov , Arnd Bergmann Subject: Re: [PATCH v9 1/2] arch/*: Add CONFIG_ARCH_HAVE_CMPXCHG64 Message-ID: <20180515081536.GA4901@andrea> References: <20180514184634.2160-1-bart.vanassche@wdc.com> <20180514184634.2160-2-bart.vanassche@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180514184634.2160-2-bart.vanassche@wdc.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bart, On Mon, May 14, 2018 at 11:46:33AM -0700, Bart Van Assche wrote: [...] > diff --git a/Documentation/features/locking/cmpxchg64/arch-support.txt b/Documentation/features/locking/cmpxchg64/arch-support.txt > new file mode 100644 > index 000000000000..65b3290ce5d5 > --- /dev/null > +++ b/Documentation/features/locking/cmpxchg64/arch-support.txt > @@ -0,0 +1,31 @@ > +# > +# Feature name: cmpxchg64 > +# Kconfig: ARCH_HAVE_CMPXCHG64 > +# description: arch supports the cmpxchg64() API > +# > + ----------------------- > + | arch |status| > + ----------------------- > + | alpha: | ok | > + | arc: | TODO | > + | arm: |!thumb| > + | arm64: | ok | > + | c6x: | TODO | > + | h8300: | TODO | > + | hexagon: | TODO | > + | ia64: | ok | > + | m68k: | ok | > + | microblaze: | TODO | > + | mips: |64-bit| > + | nios2: | TODO | > + | openrisc: | TODO | > + | parisc: | ok | > + | powerpc: |64-bit| > + | s390: | ok | > + | sh: | TODO | > + | sparc: | ok | > + | um: | TODO | > + | unicore32: | TODO | > + | x86: | ok | > + | xtensa: | ok | > + ----------------------- nds32 and riscv seem to be missing from the table. I'd also suggest sticking to the three entries documented in Documentation/features/arch-support.txt and using the header comment to provide any additional information. A script that refreshes the arch support status file in place (from the Kconfig files) is currently available in linux-next: c.f., Documentation/features/scripts/features-refresh.sh Andrea