Linux CXL
 help / color / mirror / Atom feed
* [NDCTL PATCH v2 0/3] ndctl: Add support and test for CXL Features support
@ 2025-02-01  0:47 Dave Jiang
  2025-02-01  0:47 ` [NDCTL PATCH resend v2 1/3] cxl: Add cxl_bus_get_by_provider() Dave Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dave Jiang @ 2025-02-01  0:47 UTC (permalink / raw)
  To: linux-cxl; +Cc: alison.schofield

The series provides support of libcxl enumerating FWCTL character device
under the cxl_memdev device. It discovers the char device major
and minor numbers for the CXL features device in order to allow issuing
of ioctls to the device. 

A unit test is added to locate cxl_memdev exported by the cxl_test
kernel module and issue all the supported ioctls to the associated
FWCTL char device to verify that all the ioctl paths are working as expected.

Kernel series: https://lore.kernel.org/linux-cxl/20250201004459.466499-1-dave.jiang@intel.com/T/#t

Dave Jiang (3):
      cxl: Add cxl_bus_get_by_provider()
      cxl: Enumerate major/minor of FWCTL char device
      cxl/test: Add test for cxl features device

 cxl/lib/libcxl.c     |  85 +++++++++++++++++
 cxl/lib/libcxl.sym   |   7 ++
 cxl/lib/private.h    |   1 +
 cxl/libcxl.h         |   4 +
 test/cxl-features.sh |  19 ++++
 test/fwctl.c         | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build     |  17 ++++
 7 files changed, 493 insertions(+)


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

end of thread, other threads:[~2025-02-03 13:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-01  0:47 [NDCTL PATCH v2 0/3] ndctl: Add support and test for CXL Features support Dave Jiang
2025-02-01  0:47 ` [NDCTL PATCH resend v2 1/3] cxl: Add cxl_bus_get_by_provider() Dave Jiang
2025-02-01  0:47 ` [NDCTL PATCH resend v2 2/3] cxl: Enumerate major/minor of FWCTL char device Dave Jiang
2025-02-03 13:51   ` Jonathan Cameron
2025-02-01  0:47 ` [NDCTL PATCH resend v2 3/3] cxl/test: Add test for cxl features device Dave Jiang
2025-02-03 13:55   ` Jonathan Cameron

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