shiju.jose--- via <qemu-devel@nongnu.org> writes: > From: Shiju Jose <shiju.j...@huawei.com> > > CXL spec rev3.2 section 8.2.10.2.1.3 Table 8-50, memory module > event record has updated with following new fields. > 1. Validity Flags > 2. Component Identifier > 3. Device Event Sub-Type > > Add updates for the above spec changes in the CXL memory module > event reporting and QMP command to inject memory module event. > > Signed-off-by: Jonathan Cameron <jonathan.came...@huawei.com> > Signed-off-by: Shiju Jose <shiju.j...@huawei.com>
[...] > diff --git a/qapi/cxl.json b/qapi/cxl.json > index f84088c0b9..118dec5362 100644 > --- a/qapi/cxl.json > +++ b/qapi/cxl.json > @@ -261,6 +261,16 @@ > # @corrected-persistent-error-count: Total number of correctable > # errors in persistent memory > # > +# @component-id: Device specific component identifier for the event. > +# May describe a field replaceable sub-component of the device. > +# See CXL r3.2 Table 8-59 Memory Module Event Record. > +# > +# @is-comp-id-pldm: Flag represents device specific component identifier > +# format is PLDM or not. > +# > +# @sub-type: Device event sub-type. > +# See CXL r3.2 Table 8-59 Memory Module Event Record. > +# > # Since: 8.1 > ## > { 'command': 'cxl-inject-memory-module-event', Again, partial copy of stuff the previous two patches added to related commands. > @@ -272,7 +282,9 @@ > 'life-used': 'uint8', 'temperature' : 'int16', > 'dirty-shutdown-count': 'uint32', > 'corrected-volatile-error-count': 'uint32', > - 'corrected-persistent-error-count': 'uint32' > + 'corrected-persistent-error-count': 'uint32', > + '*component-id': 'str', '*is-comp-id-pldm':'uint8', > + 'sub-type':'uint8' > }} > > ##