From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD531C4167B for ; Mon, 11 Dec 2023 16:54:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234978AbjLKQyS (ORCPT ); Mon, 11 Dec 2023 11:54:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344268AbjLKQyI (ORCPT ); Mon, 11 Dec 2023 11:54:08 -0500 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37EBFD6 for ; Mon, 11 Dec 2023 08:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1702313652; bh=xhDt1LTdfHDjHW1Muu0/YN9bTbj2yFZaSNDC1TGeEyQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e108ZViUr2Y2sQwcd+A/U+rTCgun1E82LMA2NBvw7zePyivjM9OW8DAoF3LqZRYvO MUeDNT7FMaGGix4faMoLxFP6B5KQ15tVgqft5fpPnmtFNlNBhlLvY2BD/ykg1g14CW Uf9UCql9G2/ajWCnX2KNzDANhi8wj8YehaEheQgZ2YTeHXFSfYu7kT61TpNmliGwVc 2FGeoJdgvRR9W3O3onI+3IDf+dowSGu3A+WupZOogOVrXc977NQmLuU89jeTcdvj2s TzMcL1PH4+N5lUfsh8U7msqeGU6lnLAxqEf0Vx7PYc50c2HYKyo+PwZCDxE6Ob/I5o mFp+CGuGdwbiQ== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4Spns0065Xz1hZM; Mon, 11 Dec 2023 11:54:11 -0500 (EST) Message-ID: <49366b42-7921-484a-af5e-578b41fac1c3@efficios.com> Date: Mon, 11 Dec 2023 11:54:11 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 4/4] membarrier: Introduce Kconfig ARCH_HAS_MEMBARRIER Content-Language: en-US To: Andrea Parri Cc: paulmck@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, mmaas@google.com, hboehm@google.com, striker@us.ibm.com, charlie@rivosinc.com, rehn@rivosinc.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231211094414.8078-1-parri.andrea@gmail.com> <20231211094414.8078-5-parri.andrea@gmail.com> <8132d732-b9e8-4a52-be5d-74db7a159136@efficios.com> From: Mathieu Desnoyers In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-12-11 11:53, Andrea Parri wrote: > On Mon, Dec 11, 2023 at 08:34:21AM -0500, Mathieu Desnoyers wrote: >> On 2023-12-11 04:44, Andrea Parri wrote: >>> Architectures supporting the "private expedited" membarrier command must >>> select the Kconfig to use the command. Document status and requirements >>> for each architecture in a single file under Documentation/features. >> >> Sorry for being vague in my suggestion: I did not intend to make it >> optional (not ARCH_HAS_MEMBARRIER), but rather just to have a central >> place where this would be documented. > > I see. > > >> I'm not sure where in Documentation this should land though ? > > Not sure, perhaps a section in (a new) Documentation/scheduler/membarrier.rst? Yes, it makes sense. Thanks! Mathieu > > Andrea -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com