]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl: Refactor user ioctl command path from mds to mailbox
authorDave Jiang <dave.jiang@intel.com>
Tue, 4 Feb 2025 22:03:02 +0000 (15:03 -0700)
committerDave Jiang <dave.jiang@intel.com>
Mon, 24 Feb 2025 23:42:36 +0000 (16:42 -0700)
commit5666a7e7da2f003a8fc327d3c0cce0b506193d86
tree41fde45e09af1982f6bd062502393d6c63a5ce8c
parent2014c95afecee3e76ca4a56956a936e23283f05b
cxl: Refactor user ioctl command path from mds to mailbox

With 'struct cxl_mailbox' context introduced, the helper functions
cxl_query_cmd() and cxl_send_cmd() can take a cxl_mailbox directly
rather than a cxl_memdev parameter. Refactor to use cxl_mailbox
directly.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://patch.msgid.link/20250204220430.4146187-2-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/core.h
drivers/cxl/core/mbox.c
drivers/cxl/core/memdev.c
drivers/cxl/cxlmem.h
include/cxl/mailbox.h