Commit 86349aaa authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Dave Jiang
Browse files

cxl/pmem: Rename cxl_dirty_shutdown_state()

parent 021b7e42
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{
+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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);