]> www.infradead.org Git - users/jedix/linux-maple.git/commit
libnvdimm/labels: Introduce CXL labels
authorDan Williams <dan.j.williams@intel.com>
Tue, 24 Aug 2021 16:06:41 +0000 (09:06 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 24 Aug 2021 19:08:29 +0000 (12:08 -0700)
commit5cbfaa2ea3e2789af34cfa7f50ad5b8cca2a9038
tree0267dda1d2438d5ac0a610582edae8bcc43f35b0
parent23471e4c94ec192ae5f96a65d2643988247887d6
libnvdimm/labels: Introduce CXL labels

Now that all of use sites of label data have been converted to nsl_*
helpers, introduce the CXL label format. The ->cxl flag in
nvdimm_drvdata indicates the label format the device expects. A
follow-on patch allows a bus provider to select the label style.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/162982120115.1124374.30709335221651520.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/label.c
drivers/nvdimm/label.h
drivers/nvdimm/nd.h