On Tue, 29 Nov 2022 10:48:53 -0700 Dave Jiang <dave.jiang@xxxxxxxxx> wrote: > Add tracepoint events for recording the CXL uncorrectable and correctable > errors. For uncorrectable errors, there is additional data of 512B from > the header log register (CXL spec rev3 8.2.4.16.7). The trace event will > intake a dynamic array that will dump the entire Header Log data. If > multiple errors are set in the status register, then the > 'first error' field (CXL spec rev3 v8.2.4.16.6) is read from the Error > Capabilities and Control Register in order to determine the error. > > This implementation does not include CXL IDE Error details. > > Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx> > --- >From a tracing perspective: Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> -- Steve