cxl: Add Support for Get Timestamp
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 29 Aug 2023 15:20:14 +0000 (08:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 7 Dec 2023 20:44:19 +0000 (12:44 -0800)
commitcb46fca88d14939da2785567253d0a297f31be27
treeb5af44d39b801b709708088acab03c95787fdda1
parent33cc938e65a98f1d29d0a18403dbbee050dcad9a
cxl: Add Support for Get Timestamp

Add the call to the UAPI such that userspace may corelate the
timestamps from the device log with system wall time, if, for
example there's any sort of inaccuracy or skew in the device.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20230829152014.15452-1-dave@stgolabs.net
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c
drivers/cxl/cxlmem.h
include/uapi/linux/cxl_mem.h