Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5445476rdb; Wed, 13 Dec 2023 08:51:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcGPzea1pcW5VwnZPWa3gsK5y+P9kZbMhcwBlVpEkanZ4fymkvdgrCH1lNnd6l8vjpJ80t X-Received: by 2002:a05:6359:7414:b0:170:2abb:ed37 with SMTP id va20-20020a056359741400b001702abbed37mr4549294rwb.21.1702486270073; Wed, 13 Dec 2023 08:51:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702486270; cv=none; d=google.com; s=arc-20160816; b=RuXzkjRmc6SH1XdBShuNQhNZr+l8YMo5NjA02rmgv703fxhCQhlVTz4V7ZfUJd3HTF yL5cnXcKv+wjT/iRsHjRwUKLdf1WUUOexIoFQttRqZrlaSz3yqPt8WetganYI9mCozdI 5bv2Fi69OuARCt8rvPgoIysULZHxjnJ3800rgcwnVYOZtOb13iYTUjrGs/QSTMtJp6tO mLPl7z2YVh3cBb4+E6XkGHmsC2CTrrwZThLPhuXNGEbd5K0f90SVobVPJq82QJHa1Kie 9jtxui/3eYjGQarmThwxBlvfBU/l1JGHRJjzsA8E82yyJdjqj95vgwbm2T83PyOFmoeZ N3gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=VyXC6zcfSqycflsV6RlHM32mN4LmwRqNAf8S4W/xfGI=; fh=s1RxoWZen3h/W3hu/vAMaewcpswtPiU+SeL7R9PPh4A=; b=V5UJcSvOkx8e0ZTg3LxZ86fFynkEJd/FVKFlgQ3IeNEO8RcMkcc+pS8N/01Z/7La53 ff4/6mlO43eYqay4wPpvT79rW9T62U1fJ1QfLfIQ5Pjzl3DHDNrYvBePhzG7fz5Nmalm PkH3ExNrvmWTeDdnZWKJxry24lT2iB+xIfHoAMcml47UOwYOxLTVCCvAAPfJcL80twJX O6BfvTTlPWFYn0usMneAI3oSMIfQ2E5mcAxkb8PCIe5IdouW4gqYDUFTlqzxXONeEbaz a8MalypbkgDsusSty/2RQdlOigAeMxCEGI/aoo/jUrRs5DsxF5yeOfPRqDaUFH0YQitl pmmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id e3-20020a656883000000b005c62a23ddffsi9625776pgt.778.2023.12.13.08.51.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:51:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9040B81A8A9E; Wed, 13 Dec 2023 08:51:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232663AbjLMQux (ORCPT + 99 others); Wed, 13 Dec 2023 11:50:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjLMQuv (ORCPT ); Wed, 13 Dec 2023 11:50:51 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43252AC; Wed, 13 Dec 2023 08:50:56 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Sr1g64b1Pz67pnj; Thu, 14 Dec 2023 00:49:54 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id AE4A1140595; Thu, 14 Dec 2023 00:50:54 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 13 Dec 2023 16:50:54 +0000 Date: Wed, 13 Dec 2023 16:50:52 +0000 From: Jonathan Cameron To: Vishal Verma CC: Dan Williams , Dave Jiang , , , , David Hildenbrand , Dave Hansen , Huang Ying Subject: Re: [PATCH v4 1/3] Documentatiion/ABI: Add ABI documentation for sys-bus-dax Message-ID: <20231213165052.00007d74@Huawei.com> In-Reply-To: <20231212-vv-dax_abi-v4-1-1351758f0c92@intel.com> References: <20231212-vv-dax_abi-v4-0-1351758f0c92@intel.com> <20231212-vv-dax_abi-v4-1-1351758f0c92@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100004.china.huawei.com (7.191.162.219) To lhrpeml500005.china.huawei.com (7.191.163.240) X-Spam-Status: No, score=-0.8 required=5.0 tests=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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 08:51:07 -0800 (PST) On Tue, 12 Dec 2023 12:08:30 -0700 Vishal Verma wrote: > Add the missing sysfs ABI documentation for the device DAX subsystem. > Various ABI attributes under this have been present since v5.1, and more > have been added over time. In preparation for adding a new attribute, > add this file with the historical details. > > Cc: Dan Williams > Signed-off-by: Vishal Verma Hi Vishal, One editorial suggestions. I don't know the interface well enough to do a good review of the content so leaving that for Dan or others. > +What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/start > +Date: October, 2020 > +KernelVersion: v5.10 > +Contact: nvdimm@lists.linux.dev > +Description: > + (RO) A dax device may have multiple constituent discontiguous > + address ranges. These are represented by the different > + 'mappingX' subdirectories. The 'start' attribute indicates the > + start physical address for the given range. A common option for these files is to have a single entry with two What: lines. Here that would avoid duplication of majority of this text across the start, end and page_offset entries. Alternatively you could do an entry for the mapping[0..N] directory with the shared text then separate entries for the 3 files under there. > + > +What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/end > +Date: October, 2020 > +KernelVersion: v5.10 > +Contact: nvdimm@lists.linux.dev > +Description: > + (RO) A dax device may have multiple constituent discontiguous > + address ranges. These are represented by the different > + 'mappingX' subdirectories. The 'end' attribute indicates the > + end physical address for the given range. > + > +What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/page_offset > +Date: October, 2020 > +KernelVersion: v5.10 > +Contact: nvdimm@lists.linux.dev > +Description: > + (RO) A dax device may have multiple constituent discontiguous > + address ranges. These are represented by the different > + 'mappingX' subdirectories. The 'page_offset' attribute indicates the > + offset of the current range in the dax device.