cxl/mbox: Move command definitions to common location
authorDan Williams <dan.j.williams@intel.com>
Thu, 9 Sep 2021 05:13:15 +0000 (22:13 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 21 Sep 2021 21:09:34 +0000 (14:09 -0700)
commit49be6dd807511db31809000a7b9d430b18d5e780
treec975b70b8adb04e7955d701dbd8823510332c1e6
parenta5c25802168993c67a03a6e04142761dfb4a3bf5
cxl/mbox: Move command definitions to common location

In preparation for cxl_test to mock responses to mailbox command
requests, move some definitions from core/mbox.c to cxlmem.h.

No functional changes intended.

Acked-by: Ben Widawsky <ben.widawsky@intel.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/163116439547.2460985.10457111177103589574.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c
drivers/cxl/cxlmem.h
drivers/cxl/pmem.c