Linux CXL
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add DAX ABI for memmap_on_memory
@ 2023-12-11 22:52 Vishal Verma
  2023-12-11 22:52 ` [PATCH v3 1/2] Documentatiion/ABI: Add ABI documentation for sys-bus-dax Vishal Verma
  2023-12-11 22:52 ` [PATCH v3 2/2] dax: add a sysfs knob to control memmap_on_memory behavior Vishal Verma
  0 siblings, 2 replies; 9+ messages in thread
From: Vishal Verma @ 2023-12-11 22:52 UTC (permalink / raw)
  To: Dan Williams, Vishal Verma, Dave Jiang
  Cc: linux-kernel, nvdimm, linux-cxl, David Hildenbrand, Dave Hansen,
	Huang Ying, Li Zhijian, Jonathan Cameron

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/

Changes in v3:
- Fix typo in ABI docs (Zhijian Li)
- Add kernel config and module parameter dependencies to the ABI docs
  entry (David Hildenbrand)
- Ensure kmem isn't active when setting the sysfs attribute (Ying
  Huang)
- Simplify returning from memmap_on_memory_store()
- Link to v2: https://lore.kernel.org/r/20231206-vv-dax_abi-v2-0-f4f4f2336d08@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                       |  47 +++++++++
 Documentation/ABI/testing/sysfs-bus-dax | 168 ++++++++++++++++++++++++++++++++
 2 files changed, 215 insertions(+)
---
base-commit: c4e1ccfad42352918810802095a8ace8d1c744c9
change-id: 20231025-vv-dax_abi-17a219c46076

Best regards,
-- 
Vishal Verma <vishal.l.verma@intel.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-12-12 10:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11 22:52 [PATCH v3 0/2] Add DAX ABI for memmap_on_memory Vishal Verma
2023-12-11 22:52 ` [PATCH v3 1/2] Documentatiion/ABI: Add ABI documentation for sys-bus-dax Vishal Verma
2023-12-11 22:52 ` [PATCH v3 2/2] dax: add a sysfs knob to control memmap_on_memory behavior Vishal Verma
2023-12-12  0:30   ` Huang, Ying
2023-12-12  0:40     ` Verma, Vishal L
2023-12-12  0:56       ` Huang, Ying
2023-12-12  1:02         ` Verma, Vishal L
2023-12-12  1:00       ` Dan Williams
2023-12-12 10:05   ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox