Re: [PATCH v5 2/9] cxl/events: Promote CXL event structures to a core header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> + */




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux