Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4851738imm; Mon, 14 May 2018 14:25:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqxVQPh0ih8u6PJmdNp/RqUj9kw0siN5PWkJolP3AQ2P5holfu1AHjDmvWV1xv98+LaCkO3 X-Received: by 2002:a17:902:7288:: with SMTP id d8-v6mr11503613pll.218.1526333125531; Mon, 14 May 2018 14:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526333125; cv=none; d=google.com; s=arc-20160816; b=sYdRK97kIbmo4ixpsDwe8f2yeNYoiGJYgszFdsc/DJ6tdsMSOpFoBb20zrDUqSG9M/ fGT8S3FxGn8w0NTnoGlcVjBv/wr9OuSPladXaPlImVywenOK0i3j67GgSLCSx+kQXWUB t7NrCoOFGkfRqqphevWAxZz4s5qQ+Dh+UCDBdAPHs9Cos/lXNd6mNgo5jykCerugGkAr dhFa9i7pf0nc5reecdFmWpWCg2slesR5u81uxgpC04ZOdKpSMhDuJym/7jk/MrT7KWWL 2XznQRfe4JhFZ4wEGtcjXxUnWQphI702m1G+tz9xSjFVmdnG/4hXwNppgUeQRuyHIx8f VtIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=NlOe+mtbJ4A8f7dbO6VUn1qd2iR4y488/DvYtglXWQc=; b=zP5/j1JZ4COXhkNbkAUD5TsYO6bkbbtde7ki12zLx3pb8qCIV6nMm+UbBWNoxuUnV+ CWVrI6yZOefiYNIYK+XUX5rvc0rypCxBJt3gqH2ffQLg0KzWbe+CBr8UtyZ2S7R9AVep eMjSAiCOFTSNptNPHfZVXs790nh5QrCSAK85uXlKPP2SzenA6/phGUcGGEQxSJ+1JiUk jrZcbBVGjDM2cB0czTF0JtP2xu0cAYEs0j4fIivc2YV8pjYa5s0CPxjNr6JEhLKq4Bzy TDONkknERqzaZWsIE0V2EF7aFiQnlnZ5W5piicldhl+z/ulf6jQQnWu6RAXC1n5gyo+C vzKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RCv7qMB2; 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 a65-v6si725268pgc.503.2018.05.14.14.25.09; Mon, 14 May 2018 14:25:25 -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=fail header.i=@gmail.com header.s=20161025 header.b=RCv7qMB2; 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 S1752230AbeENVXa (ORCPT + 99 others); Mon, 14 May 2018 17:23:30 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:44897 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbeENVX2 (ORCPT ); Mon, 14 May 2018 17:23:28 -0400 Received: by mail-vk0-f67.google.com with SMTP id x66-v6so8437840vka.11; Mon, 14 May 2018 14:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NlOe+mtbJ4A8f7dbO6VUn1qd2iR4y488/DvYtglXWQc=; b=RCv7qMB2GutgnJQZKkF4OmHBpuK2yuZQNQcXSte6GavpD5RNRhqz+tneDRw+CU7Kv0 CMdr5z0w//AAQrOW3UXLtHfKy8xwdo5gnIuxYC6XYVK9fWgmHF5wGlUlfP6U8X55z/In cX8cIO3af68zcGnn9e0V/eob/xjXrK+qSAgnbw342pSJVlYxY475m+zxrPyFjAq2WTqC nsSsvBZt9hPtARAau9eUi2+RE5ghvg3KaidzWYYbhNStN8yUgBSImln7HvQTEiKMwAWH tFrY1ZSBiRI4d5LdKDk7M8mqgn1IHZptUYa347i/D8VhnPvWZCv3MjRthXFVR2yEMOMi TC2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NlOe+mtbJ4A8f7dbO6VUn1qd2iR4y488/DvYtglXWQc=; b=fNoZIRdP2J8f7vwI1Mk4Kolg1Mq7iV/9nJRhEi6c7E8hpg3x77Q2UC+b+d3RyYaWMG raWHlKYuEXvhR0AEofczFzoH80tLvu5Eqz5+pRsmXpbq2wjV5zDW2b1zxuKLTVdhGe4N Thrp9+G3Ukn4G4tOAdLJC2+Jsdqi14d4RmhLpDRC6B2/I3xutRafFutc9Z5ebJhjvY10 vN7zdBHucwoFzF1eKouiZwo5kqUNBmpKdKDosB6m93EF2XXyPHULbdNoQdSjKIB/fvAn ts0LXCS+nyVX0WzOa2PrJh/WeomiZNZx3syEEQftDU7rZLe/J8RR3Z6X0Wk1vjyDopDy HZUQ== X-Gm-Message-State: ALKqPwdp4CKT+RTWOfwHQlom8x4xqWTkT+8/JAJwdKhp82of/GJ6PQi/ JTdDxHTL+WYBMYcK2QlFvRqpOJVso51zGzuiEIU= X-Received: by 2002:a1f:1957:: with SMTP id 84-v6mr11282702vkz.90.1526333007517; Mon, 14 May 2018 14:23:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.122.10 with HTTP; Mon, 14 May 2018 14:23:26 -0700 (PDT) In-Reply-To: References: <20180514184634.2160-1-bart.vanassche@wdc.com> <20180514184634.2160-2-bart.vanassche@wdc.com> From: Geert Uytterhoeven Date: Mon, 14 May 2018 23:23:26 +0200 X-Google-Sender-Auth: 9f5YcRDtK39AvLx1G_AkExD1hvs Message-ID: Subject: Re: [PATCH v9 1/2] arch/*: Add CONFIG_ARCH_HAVE_CMPXCHG64 To: Bart Van Assche Cc: "jcmvbkbc@gmail.com" , "schwidefsky@de.ibm.com" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "tglx@linutronix.de" , "deller@gmx.de" , "heiko.carstens@de.ibm.com" , "hch@lst.de" , "fenghua.yu@intel.com" , "axboe@kernel.dk" , "hpa@zytor.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "mingo@redhat.com" , "jejb@parisc-linux.org" , "tony.luck@intel.com" , "chris@zankel.net" , "davem@davemloft.net" , "arnd@arndb.de" , "benh@kernel.crashing.org" , "mpe@ellerman.id.au" , "paulus@samba.org" Content-Type: text/plain; charset="UTF-8" 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 10:42 PM, Bart Van Assche wrote: > On Mon, 2018-05-14 at 11:50 -0700, Max Filippov wrote: >> On Mon, May 14, 2018 at 11:46 AM, Bart Van Assche >> wrote: >> > The next patch in this series introduces a call to cmpxchg64() >> > in the block layer core for those architectures on which this >> > functionality is available. Make it possible to test whether >> > cmpxchg64() is available by introducing CONFIG_ARCH_HAVE_CMPXCHG64. >> > >> > --- >> >> [...] >> >> > diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig >> > index c921e8bccdc8..8234278a821d 100644 >> > --- a/arch/xtensa/Kconfig >> > +++ b/arch/xtensa/Kconfig >> > @@ -23,6 +23,7 @@ config XTENSA >> > select HAVE_DMA_CONTIGUOUS >> > select HAVE_EXIT_THREAD >> > select HAVE_FUNCTION_TRACER >> > + select ARCH_HAVE_CMPXCHG64 >> >> This breaks alphabetical sorting of Kconfig entries. > > Hello Max, > > Thanks for the feedback. Do you perhaps know whether keeping names in > alphabetical order is a requirement for arch/xtensa/Kconfig only or > whether this is required for all arch/*/Kconfig files? It's a good practice anyway, as it reduces the probability of merge conflicts. 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