On Wed, 20 Dec 2023 16:17:29 -0800 Ira Weiny <ira.weiny@xxxxxxxxx> wrote: > UEFI code can process CXL events through CPER records. Those records > use almost the same format as the CXL events. > > Lift the CXL event structures to a core header to be shared in later > patches. > > Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx> As a side note, seems we need some updates in here for 3.1 additions. Job for another day. One trivial comment on 'extra' docs that will probably bit rot. Otherwise Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > diff --git a/include/linux/cxl-event.h b/include/linux/cxl-event.h > new file mode 100644 > index 000000000000..1c94e8fdd227 > --- /dev/null > +++ b/include/linux/cxl-event.h > @@ -0,0 +1,100 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef _LINUX_CXL_EVENT_H > +#define _LINUX_CXL_EVENT_H > + > +/* > + * CXL event records; CXL rev 3.0 That version number is nearly guaranteed to bit rot. I'd just not mention it here and keep the versioning local to the particular entries (where it is currently repeated). > + * > + * Copyright(c) 2023 Intel Corporation. > + */