Re: [RFC PATCH 5/5] cxl/core: add poison injection event handler

2024-04-05 Thread Jonathan Cameron via
On Fri, 15 Mar 2024 10:29:07 +0800 Shiyang Ruan wrote: > 在 2024/2/14 0:51, Jonathan Cameron 写道: > > > >> + > >> +void cxl_event_handle_record(struct cxl_memdev *cxlmd, > >> + enum cxl_event_log_type type, > >> + enum cxl_event_type event_type, > >>

Re: [RFC PATCH 5/5] cxl/core: add poison injection event handler

2024-03-14 Thread Shiyang Ruan via
在 2024/2/14 0:51, Jonathan Cameron 写道: + +void cxl_event_handle_record(struct cxl_memdev *cxlmd, +enum cxl_event_log_type type, +enum cxl_event_type event_type, +const uuid_t *uuid, union cxl_event *evt) +{

Re: [RFC PATCH 5/5] cxl/core: add poison injection event handler

2024-02-13 Thread Jonathan Cameron via
> + > +void cxl_event_handle_record(struct cxl_memdev *cxlmd, > + enum cxl_event_log_type type, > + enum cxl_event_type event_type, > + const uuid_t *uuid, union cxl_event *evt) > +{ > + if (event_type ==

RE: [RFC PATCH 5/5] cxl/core: add poison injection event handler

2024-02-09 Thread Dan Williams
Shiyang Ruan wrote: > Currently driver only trace cxl events, poison injection on cxl memdev > is silent. OS needs to be notified then it could handle poison range > in time. Per CXL spec, the device error event could be signaled through > FW-First and OS-First methods. > > So, add poison event