mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
cxl/pmem: Rename cxl_dirty_shutdown_state()
... to a better suited 'cxl_arm_dirty_shutdown()'. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://patch.msgid.link/20250220220235.276831-3-dave@stgolabs.net Signed-off-by: Dave Jiang <dave.jiang@intel.com>
This commit is contained in:
committed by
Dave Jiang
parent
021b7e42fa
commit
86349aaaea
@@ -1308,7 +1308,7 @@ int cxl_mem_create_range_info(struct cxl_memdev_state *mds)
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_mem_create_range_info, "CXL");
|
||||
|
||||
int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds)
|
||||
int cxl_arm_dirty_shutdown(struct cxl_memdev_state *mds)
|
||||
{
|
||||
struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox;
|
||||
struct cxl_mbox_cmd mbox_cmd;
|
||||
@@ -1324,7 +1324,7 @@ int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds)
|
||||
|
||||
return cxl_internal_send_cmd(cxl_mbox, &mbox_cmd);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_dirty_shutdown_state, "CXL");
|
||||
EXPORT_SYMBOL_NS_GPL(cxl_arm_dirty_shutdown, "CXL");
|
||||
|
||||
int cxl_set_timestamp(struct cxl_memdev_state *mds)
|
||||
{
|
||||
|
||||
@@ -834,7 +834,7 @@ void cxl_event_trace_record(const struct cxl_memdev *cxlmd,
|
||||
enum cxl_event_log_type type,
|
||||
enum cxl_event_type event_type,
|
||||
const uuid_t *uuid, union cxl_event *evt);
|
||||
int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds);
|
||||
int cxl_arm_dirty_shutdown(struct cxl_memdev_state *mds);
|
||||
int cxl_set_timestamp(struct cxl_memdev_state *mds);
|
||||
int cxl_poison_state_init(struct cxl_memdev_state *mds);
|
||||
int cxl_mem_get_poison(struct cxl_memdev *cxlmd, u64 offset, u64 len,
|
||||
|
||||
@@ -90,7 +90,7 @@ static int cxl_nvdimm_probe(struct device *dev)
|
||||
* clear it upon a successful GPF flow. The exception to this
|
||||
* is upon Viral detection, per CXL 3.2 section 12.4.2.
|
||||
*/
|
||||
if (cxl_dirty_shutdown_state(mds))
|
||||
if (cxl_arm_dirty_shutdown(mds))
|
||||
dev_warn(dev, "GPF: could not dirty shutdown state\n");
|
||||
|
||||
dev_set_drvdata(dev, nvdimm);
|
||||
|
||||
Reference in New Issue
Block a user