cxl/mbox: Add Clear Log mailbox command
authorSrinivasulu Thanneeru <sthanneeru.opensrc@micron.com>
Wed, 13 Mar 2024 07:12:18 +0000 (12:42 +0530)
committerDave Jiang <dave.jiang@intel.com>
Tue, 30 Apr 2024 15:48:10 +0000 (08:48 -0700)
commit206f9fa9d55592c8cea0ccf84a5242b7c7cf3748
treeb0ca4dc7bc60904df36b09c110690edf2ab427d4
parent940325add1c54e3018277d6d783ec419262729e8
cxl/mbox: Add Clear Log mailbox command

Adding UAPI support for CXL r3.1 8.2.9.5.4
Clear Log command.

This proposed patch will be useful for clearing and populating
the Vendor debug log in certain scenarios, allowing for the
aggregation of results over time.

Signed-off-by: Srinivasulu Thanneeru <sthanneeru.opensrc@micron.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240313071218.729-3-sthanneeru.opensrc@micron.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/mbox.c
drivers/cxl/cxlmem.h
include/uapi/linux/cxl_mem.h