[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/5] hw/cxl: Standardize all references on CXL r3.1 and minor
|
From: |
Jonathan Cameron |
|
Subject: |
Re: [PATCH 5/5] hw/cxl: Standardize all references on CXL r3.1 and minor updates |
|
Date: |
Fri, 26 Jan 2024 11:43:16 +0000 |
On Wed, 24 Jan 2024 12:58:19 -0800
fan <nifan.cxl@gmail.com> wrote:
> On Wed, Jan 24, 2024 at 01:48:14PM +0000, Jonathan Cameron wrote:
> > Previously not all references mentioned any spec version at all.
> > Given r3.1 is the current specification available for evaluation at
> > www.computeexpresslink.org update references to refer to that.
> > Hopefully this won't become a never ending job.
> >
> > A few structure definitions have been updated to add new fields.
> > Defaults of 0 and read only are valid choices for these new DVSEC
> > registers so go with that for now.
> >
> > There are additional error codes and some of the 'questions' in
> > the comments are resolved now.
> >
> > Update documentation reference to point to the CXL r3.1 specification
> > with naming closer to what is on the cover.
> >
> > For cases where there are structure version numbers, add defines
> > so they can be found next to the register definitions.
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > ---
>
> There are several references to the spec is incorrect, other than that
> LGTM.
>
> Search "Identify Memory Device (Opcode 4000h)" for inline comments.
Thanks for ploughing through all this!
> > /* Store off everything to local variables so we can wipe out the
> > payload */
> > @@ -760,7 +757,7 @@ static CXLRetCode cmd_logs_get_log(const struct cxl_cmd
> > *cmd,
> > return CXL_MBOX_SUCCESS;
> > }
> >
> > -/* 8.2.9.5.1.1 */
> > +/* CXL r3.1 Section 8.2.9.8.1.1: Identify Memory Device (Opcode 4000h) */
>
> Should be 8.2.9.9.1.1
Oops. I think I had the 3.0 spec open by accident when doing some of these.
Good catch - I'll fix these all up and send a v2.
- [PATCH 1/5] hw/cxl: Update HDM Decoder capability to version 3, (continued)
- [PATCH 1/5] hw/cxl: Update HDM Decoder capability to version 3, Jonathan Cameron, 2024/01/24
- [PATCH 2/5] hw/cxl: Update link register definitions., Jonathan Cameron, 2024/01/24
- [PATCH 3/5] hw/cxl: Update RAS Capability Definitions for version 3., Jonathan Cameron, 2024/01/24
- [PATCH 4/5] hw/cxl: Update mailbox status registers., Jonathan Cameron, 2024/01/24
- [PATCH 5/5] hw/cxl: Standardize all references on CXL r3.1 and minor updates, Jonathan Cameron, 2024/01/24