cxl/events: Separate UUID from event structures
authorIra Weiny <ira.weiny@intel.com>
Thu, 21 Dec 2023 00:17:32 +0000 (16:17 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 9 Jan 2024 23:39:38 +0000 (15:39 -0800)
commit6eade110754c085cee9e46f4d87d2c3ea4e59e8c
tree09d9d5207b443296e1df40800887622d2c153167
parent207a1f82301de0b4123f00a8d26ea55bb2484757
cxl/events: Separate UUID from event structures

The UEFI CXL CPER structure does not include the UUID.  Now that the
UUID is passed separately to the trace event there is no need to have
the UUID in those structures.

Move UUID from the event record header to the raw structures.  Adjust
cxl-test to Create dummy structures for creating test records.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20231220-cxl-cper-v5-5-1bb8a4ca2c7a@intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c
include/linux/cxl-event.h
tools/testing/cxl/test/mem.c