[PATCH v2 0/2] Add DAX ABI for memmap_on_memory
From: Vishal Verma
Date: Wed Dec 06 2023 - 23:36:23 EST
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@xxxxxxxxxxxxxxxxxxxxxxxxx.notmuch/
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Cc: <nvdimm@xxxxxxxxxxxxxxx>
Cc: <linux-cxl@xxxxxxxxxxxxxxx>
To: Dave Jiang <dave.jiang@xxxxxxxxx>
Signed-off-by: Vishal Verma <vishal.l.verma@xxxxxxxxx>
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@xxxxxxxxx
---
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,
--
Vishal Verma <vishal.l.verma@xxxxxxxxx>