cxl: Add support to handle user feature commands for set feature
authorDave Jiang <dave.jiang@intel.com>
Fri, 7 Mar 2025 20:55:35 +0000 (13:55 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 17 Mar 2025 17:41:37 +0000 (14:41 -0300)
commiteb5dfcb9e36d0e46089fec777d911313c1876fa3
tree8da13c1693a303e9c8e7cf23876ade0c818c931b
parent5908f3ed6dc209e5c824e63afda7545805f75a7e
cxl: Add support to handle user feature commands for set feature

Add helper function to parse the user data from fwctl RPC ioctl and
send the parsed input parameters to cxl_set_feature() call.

Link: https://patch.msgid.link/r/20250307205648.1021626-6-dave.jiang@intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/cxl/core/features.c
include/uapi/fwctl/cxl.h