Skip to content

Commit 86349aa

Browse files
Davidlohr Buesodavejiang
authored andcommitted
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>
1 parent 021b7e4 commit 86349aa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/cxl/core/mbox.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ int cxl_mem_create_range_info(struct cxl_memdev_state *mds)
13081308
}
13091309
EXPORT_SYMBOL_NS_GPL(cxl_mem_create_range_info, "CXL");
13101310

1311-
int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds)
1311+
int cxl_arm_dirty_shutdown(struct cxl_memdev_state *mds)
13121312
{
13131313
struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox;
13141314
struct cxl_mbox_cmd mbox_cmd;
@@ -1324,7 +1324,7 @@ int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds)
13241324

13251325
return cxl_internal_send_cmd(cxl_mbox, &mbox_cmd);
13261326
}
1327-
EXPORT_SYMBOL_NS_GPL(cxl_dirty_shutdown_state, "CXL");
1327+
EXPORT_SYMBOL_NS_GPL(cxl_arm_dirty_shutdown, "CXL");
13281328

13291329
int cxl_set_timestamp(struct cxl_memdev_state *mds)
13301330
{

drivers/cxl/cxlmem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ void cxl_event_trace_record(const struct cxl_memdev *cxlmd,
834834
enum cxl_event_log_type type,
835835
enum cxl_event_type event_type,
836836
const uuid_t *uuid, union cxl_event *evt);
837-
int cxl_dirty_shutdown_state(struct cxl_memdev_state *mds);
837+
int cxl_arm_dirty_shutdown(struct cxl_memdev_state *mds);
838838
int cxl_set_timestamp(struct cxl_memdev_state *mds);
839839
int cxl_poison_state_init(struct cxl_memdev_state *mds);
840840
int cxl_mem_get_poison(struct cxl_memdev *cxlmd, u64 offset, u64 len,

drivers/cxl/pmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int cxl_nvdimm_probe(struct device *dev)
9090
* clear it upon a successful GPF flow. The exception to this
9191
* is upon Viral detection, per CXL 3.2 section 12.4.2.
9292
*/
93-
if (cxl_dirty_shutdown_state(mds))
93+
if (cxl_arm_dirty_shutdown(mds))
9494
dev_warn(dev, "GPF: could not dirty shutdown state\n");
9595

9696
dev_set_drvdata(dev, nvdimm);

0 commit comments

Comments
 (0)