Lines Matching +full:kernel +full:- +full:policy
1 .. SPDX-License-Identifier: GPL-2.0
15 mailbox commands from user space to the device moderated by the kernel driver.
22 The "Get Supported Features" return data may be filtered by the kernel driver to
23 drop any features that are forbidden by the kernel or being exclusively used by
24 the kernel. The driver will set the "Set Feature Size" of the "Get Supported
27 under the fwctl policy of FWCTL_RPC_CONFIGURATION.
29 For "Set Feature" command, the access policy currently is broken down into two
31 Set Feature will cause immediate change to the device, the fwctl access policy
33 "immediate config change", "immediate data change", "immediate policy change",
36 fwctl access policy must be FWCTL_RPC_DEBUG_WRITE or higher.
41 .. kernel-doc:: include/uapi/fwctl/cxl.h
44 --------------------
54 -------------------------
74 .. code-block:: c
91 return -ENOMEM;
93 feat_in = &in->get_feat_in;
95 uuid_copy(feat_in->uuid, feat_ctx->uuid);
96 feat_in->count = feat_ctx->get_size;
98 out_size = sizeof(*out) + feat_ctx->get_size;
104 in->opcode = CXL_MBOX_OPCODE_GET_FEATURE;
105 in->op_size = sizeof(*feat_in);
118 data = out->payload;
121 rc = -ENXIO;
137 fwctl cxl Kernel API
140 .. kernel-doc:: drivers/cxl/core/features.c
142 .. kernel-doc:: include/cxl/features.h