Message ID | 20231206-vv-dax_abi-v2-0-f4f4f2336d08@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4553274vqy; Wed, 6 Dec 2023 20:36:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHze+eBVfHXEvs+qMeM5+882wQIsKGxAjPZ2p4icykNrq/OMBWR6J5xeZDMclfSbf2NzQhY X-Received: by 2002:a92:cdad:0:b0:35d:6284:6b54 with SMTP id g13-20020a92cdad000000b0035d62846b54mr2700727ild.36.1701923786885; Wed, 06 Dec 2023 20:36:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701923786; cv=none; d=google.com; s=arc-20160816; b=mBfaR+CmDhrX4XVLf6OZ/ARgJuZd5clqKJJ2H9CFXSqotl09aqPr6m6uKI4Rkp/dK+ jRTbNt2AyhnlHo9NK4xMJk/sg5D90UMmpAR4zA9tmpuX77YmCVaxqDYpz+Ral41cD6QX XmFEiAG9YhSor4P8fOge+YUpx7VQtxCnn+Lab1hSvdAMq+DITLgmCdAt0cu1kWiAyun9 409kyxeVXesfrhmph66xX1hv/G7MvsOUouH5C8tKDTT+BjvRo6Rp2ksSPL+vgPJYLF6J flodvsm87Ihwc/bU04wJHspFpDES7uwRwQKr+qya0C7BL01JudE6xspK0t0ruMSETjRh STag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=lihSMZWGphIPg5NmND1Y/eOqb6bOg9p5yqDG2SrURw8=; fh=C1z4TcJ8nNma5YAz1Ryxr0a/S4W3aZVdFd4B3sd28Kk=; b=eQyQgueN4r6CGdKs1OhcG74PCRXkCkwRGZ3AmEL5t0gNtnNTxW9XgCL5+8ZZ0zFhV8 IlKILNLwZNTScx2/qnBNxDjBZk6tBcLW7uy2Qhdsvdvgp0fKLAkBmAEYTwOl0EBdSr8A i7hzWXlzvsQtk+8/TxmOdevKzHlecBSwCeUcq79MpPecqMref8wbrSpzYb95cKUBiEXJ PRSTduEEgyixJFG1R2xaPTyiGf6C/VvQsm5up1IWBFuCzsLb1iul/+ttVz278iObHi3a DL4pr6oP0f8HPeceKb89O+c4fZQcWjaJ0iyPPldH09LGhVNCEUH0o0b/wvoWl2FYzPRl LZjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ewGVWqsZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j8-20020a63ec08000000b005c6bab48f48si477516pgh.111.2023.12.06.20.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 20:36:26 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=ewGVWqsZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 371DD81F3885; Wed, 6 Dec 2023 20:36:23 -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 S229616AbjLGEgO (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 23:36:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjLGEgM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 23:36:12 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64868D3; Wed, 6 Dec 2023 20:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701923778; x=1733459778; h=from:subject:date:message-id:mime-version: content-transfer-encoding:to:cc; bh=zD9JVL7KH7q9hrn7MRAVLdgdiV8d1EIq3/KpInC/SHg=; b=ewGVWqsZ8K/XXhr4pwSD5vDW/wK8nifmtT5EK2OwsIYsPtbTvfqLb744 KISErK/eulegxPCsA8hdouJD0EfFREBUVHgH/NXud0bNXeRkLeYVFpqeI Gyp8Hlxz/Qp4I1cqI0Olr9IGHuR4ZhjNlObqLO/0QiXcKbF49KNW3lyq8 BlIqE5Q0wbLeuL18ojCLrJce10qZn10vw+ThfC5+FTRYFsAUGoZx1LHak NfWMj0t0F1c9vdMcZ03bbpuZRBqGYkuuFff7Vu1PXdGe0nfJw8ZIm7NVv wfVb73Zy3BhOOOblfWY1N65zlhC7Jvy/o1P3GslAzawOSd0EK2pXdrPs+ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="1053219" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="1053219" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2023 20:36:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="19570373" Received: from apbrezen-mobl.amr.corp.intel.com (HELO [192.168.1.200]) ([10.213.160.175]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2023 20:36:16 -0800 From: Vishal Verma <vishal.l.verma@intel.com> Subject: [PATCH v2 0/2] Add DAX ABI for memmap_on_memory Date: Wed, 06 Dec 2023 21:36:13 -0700 Message-Id: <20231206-vv-dax_abi-v2-0-f4f4f2336d08@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAL1LcWUC/03MQQ6CMBCF4auQWVvTGRGQlfcwxJQyyiRKTUsaD Ondrbhx+b/kfSsE9sIB2mIFz1GCuCkH7Qqwo5nurGTIDaTpgJqOKkY1mOVqelFYG8KTLStdV5A PL883WTbs0uUeJczOvzc74nf9MaSrfyai0qqsS+6bhkmjPcs082Nv3RO6lNIHQ+3CpqQAAAA= To: Dave Jiang <dave.jiang@intel.com> Cc: Dan Williams <dan.j.williams@intel.com>, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, Vishal Verma <vishal.l.verma@intel.com>, David Hildenbrand <david@redhat.com>, Dave Hansen <dave.hansen@linux.intel.com>, Huang Ying <ying.huang@intel.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com> X-Mailer: b4 0.13-dev-26615 X-Developer-Signature: v=1; a=openpgp-sha256; l=1372; i=vishal.l.verma@intel.com; h=from:subject:message-id; bh=zD9JVL7KH7q9hrn7MRAVLdgdiV8d1EIq3/KpInC/SHg=; b=owGbwMvMwCXGf25diOft7jLG02pJDKmF3vtPxt7zFGeepfSHJyv/pff1h2bi3LEL5rld/Fzr1 tOwY+bBjlIWBjEuBlkxRZa/ez4yHpPbns8TmOAIM4eVCWQIAxenAExkwl1GhpnhrBnWpjr10y0U p364cn0Cb7W5/clYfbed03OjdvkLPWNkuKx5fdW1bYIC+WtWpnY7tSyKWup675q1/rVfs5vvW+4 XZgUA X-Developer-Key: i=vishal.l.verma@intel.com; a=openpgp; fpr=F8682BE134C67A12332A2ED07AFA61BEA3B84DFF X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> 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, 06 Dec 2023 20:36:23 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784596436834840958 X-GMAIL-MSGID: 1784596436834840958 |
Series |
Add DAX ABI for memmap_on_memory
|
|
Message
Verma, Vishal L
Dec. 7, 2023, 4:36 a.m. UTC
The DAX drivers were missing sysfs ABI documentation entirely. Add this
missing documentation for the sysfs ABI for DAX regions and Dax devices
in patch 1. Add a new ABI for toggling memmap_on_memory semantics in
patch 2.
The missing ABI was spotted in [1], this series is a split of the new
ABI additions behind the initial documentation creation.
[1]: https://lore.kernel.org/linux-cxl/651f27b728fef_ae7e7294b3@dwillia2-xfh.jf.intel.com.notmuch/
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: <linux-kernel@vger.kernel.org>
Cc: <nvdimm@lists.linux.dev>
Cc: <linux-cxl@vger.kernel.org>
To: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Changes in v2:
- Fix CC lists, patch 1/2 didn't get sent correctly in v1
- Link to v1: https://lore.kernel.org/r/20231206-vv-dax_abi-v1-0-474eb88e201c@intel.com
---
Vishal Verma (2):
Documentatiion/ABI: Add ABI documentation for sys-bus-dax
dax: add a sysfs knob to control memmap_on_memory behavior
drivers/dax/bus.c | 40 ++++++++
Documentation/ABI/testing/sysfs-bus-dax | 164 ++++++++++++++++++++++++++++++++
2 files changed, 204 insertions(+)
---
base-commit: c4e1ccfad42352918810802095a8ace8d1c744c9
change-id: 20231025-vv-dax_abi-17a219c46076
Best regards,