cxl/pci: Add media provisioning required commands
authorBen Widawsky <ben.widawsky@intel.com>
Tue, 13 Apr 2021 14:09:07 +0000 (07:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 15 Jun 2021 06:54:53 +0000 (23:54 -0700)
commit87815ee9d0060a91bdf18266e42837a9adb5972e
tree7cd67a6e846ddbfeb990aad8172c00acf678c5b0
parentba268647368844ed290e2f7b4da7a28cd12ee049
cxl/pci: Add media provisioning required commands

Some of the commands have already been defined for the support of RAW
commands (to be blocked). Unlike their usage in the RAW interface, when
used through the supported interface, they will be coordinated and
marshalled along with other commands being issued by userspace and the
driver itself. That coordination will be added later.

The list of commands was determined based on the learnings from
libnvdimm and this list is provided directly from Dan.

Recommended-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210413140907.534404-1-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/pci.c
include/uapi/linux/cxl_mem.h