Re: [PATCH 1/3] cxl: Introduce various enums/defines for PSL9 trace arrays

2018-02-11 Thread Vaibhav Jain
Thanks for reviewing the patch Christophe, christophe lombard writes: >> +for (traceid = 0; traceid < CXL_PSL9_TRACEID_MAX; ++traceid) { >> +trace_state = CXL_PSL9_TRACE_STATE(trace_cfg, traceid); >> +dev_dbg(>dev, "Traceid-%d

Re: [PATCH 1/3] cxl: Introduce various enums/defines for PSL9 trace arrays

2018-02-09 Thread christophe lombard
Le 09/02/2018 à 05:25, Vaibhav Jain a écrit : We introduce a new enum named cxl_psl9_traceid that represents individual trace-arrays available on PSL9. In addition a set of new defines named s CXL_PSL9_TRACESTATE_XXX are introduced that represent various states a trace-array can be in. Value of

[PATCH 1/3] cxl: Introduce various enums/defines for PSL9 trace arrays

2018-02-08 Thread Vaibhav Jain
We introduce a new enum named cxl_psl9_traceid that represents individual trace-arrays available on PSL9. In addition a set of new defines named s CXL_PSL9_TRACESTATE_XXX are introduced that represent various states a trace-array can be in. Value of each define is the value reported by PSL_CTCCFG