]> git.baikalelectronics.ru Git - kernel.git/commit
cxl/mbox: Remove dependency on cxl_mem_command for a debug msg
authorAlison Schofield <alison.schofield@intel.com>
Thu, 31 Mar 2022 01:27:15 +0000 (18:27 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 12 Apr 2022 23:07:01 +0000 (16:07 -0700)
commit805082d9a4ec08ec6a5a7267824f5469f3f4d615
tree2257abf0ccf7a1af77a0ad210bf79796d6eb24de
parent31dde4cd7c5c4b7c7596afc8b9ded5834f61d1d3
cxl/mbox: Remove dependency on cxl_mem_command for a debug msg

In preparation for removing access to struct cxl_mem_command,
change this debug message to use cxl_mbox_cmd fields instead.
Retrieve the pretty command name from cxl_mbox_cmd using a new
opcode to command name helper.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/57265751d336a6e95f5ca31a9c77189408b05742.1648687552.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c