]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl: Enumerate feature commands
authorDave Jiang <dave.jiang@intel.com>
Thu, 20 Feb 2025 19:42:39 +0000 (12:42 -0700)
committerDave Jiang <dave.jiang@intel.com>
Wed, 26 Feb 2025 15:49:41 +0000 (08:49 -0700)
commitcbbca60a1efc1e8920be13d6bdaf3345ff49132f
tree89bcce9d255e3fd0a843fcb9d82d20ae3d5d6109
parent5666a7e7da2f003a8fc327d3c0cce0b506193d86
cxl: Enumerate feature commands

Add feature commands enumeration code in order to detect and enumerate
the 3 feature related commands "get supported features", "get feature",
and "set feature". The enumeration will help determine whether the driver
can issue any of the 3 commands to the device.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Tested-by: Shiju Jose <shiju.jose@huawei.com>
Link: https://patch.msgid.link/20250220194438.2281088-2-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/mbox.c
drivers/cxl/cxlmem.h
include/cxl/features.h [new file with mode: 0644]
include/cxl/mailbox.h