Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4102417rdb; Mon, 11 Dec 2023 08:54:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxdaHSd0RgCXLff7FDRdZ01/bCYfIj5IcG9TSDFx2lVJOoaybKTXG6iQs8bhcLld/Sda6d X-Received: by 2002:a17:902:f68b:b0:1d0:6ffe:9f7 with SMTP id l11-20020a170902f68b00b001d06ffe09f7mr5792860plg.85.1702313674866; Mon, 11 Dec 2023 08:54:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702313674; cv=none; d=google.com; s=arc-20160816; b=KCfCPaVGhFhb3pfO7nBZtJAol3UP1GUedgd9TCtGbJtW37eET6HNFvWENAhznLl/OZ MzH8tInEO4NM3w8EZ7x0za8JMDk6JpwgOEH9OqpbVNGbSdSpiqxmJyrNV/Gd9eB7AzMz yvy5P+2jnYXNd8Z4rXaR7VR9QbvZVhTsRpu5CqK1vZSY+oH2Zb8jDyXAK3ziRIUPl3c7 UjZUU6HIE4tNdUOr8SBcAJtDtz6KzbcAo07Lapbnaugv+5ELvobQ83SJUgkCoheAPga1 bdQvjwNXtVUBEq4KtEbFY3gvAH7MFcDc21dp3vPPS6+NT/KJcuHB1Ee96eGhiYvhe9a7 KzUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5h6rQPSOUr/dmHJUQZJvGjFCABFeZwzI5bU4IY6Qkno=; fh=QQOLJj1t3fuOs/xn8P5MMLWfEiRGcBT++YRk6zTi0qE=; b=A59ttwcS/w+UuOJo1aq+NmfFBIvlFGbDwKy0DJlSriAzUA9eh2EVaRsuhgxldDjyKH DiKv/5LXvZEC/vc1wWoWjNjasovjlSq7rLTSch9p25vkvsvbeKsMyImRPDW2kuC1eo4x DwwQw2Mo09c5gPQ96g/A5Q54U94NdUaxXIXpYRYZmxT8mDX3G0i8WRUz2SdzCMwlOb9Q yB7DElSlPnbXkpnsm7T5p5J/M6GFvanvVZOJiuD9BT7ShrPgdqZ0r+RgS9U5Derdg2o6 sxATBq4Y4OLkI2USGVI0jeYaqFK8Roa6YbRnP5UHcDJ8jhNs72D+Vv5PSTXbSXdJenzU G0DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=e108ZViU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id c10-20020a170902d48a00b001d07126d233si6576516plg.564.2023.12.11.08.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 08:54:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=e108ZViU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 410EF80984AC; Mon, 11 Dec 2023 08:54:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343943AbjLKQyR (ORCPT + 99 others); Mon, 11 Dec 2023 11:54:17 -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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 08:54:32 -0800 (PST) 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