Skip to content

Provide ability to enable PSL traces on card probe

Vaibhav Jain linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cxl: Introduce various enums/defines for PSL9 trace arraysdrivers/misc/cxl/cxl.h drivers/misc/cxl/native.c drivers/misc/cxl/pci.c+37 -152 replies
2/3cxl: Introduce module parameter 'enable_psltrace'drivers/misc/cxl/cxl.h drivers/misc/cxl/main.c drivers/misc/cxl/pci.c+9 -05 replies
3/3cxl: Provide implementation for sl_ops.start_psltrace on PSL9drivers/misc/cxl/pci.c+73 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Provide ability to enable PSL traces on card probe

This patch-set updates the cxl adapter probe procedure to selectively enable PSL-traces at the end of a successful probe for a PSL9 based adapter. This would let implementors of AFUs that use in-kernel apis to interact with the CXL adapter get early debug data.

This feature is controlled via a new module parameter named 'enable_psltrace' which is enabled by default. During adapter probe is this parameter is set cxl will start PSL-traces on the adapter via PSL_TRACECFG register. The needed sequence values written to the register was provided by the PSL h/w team.

This patch set is based on an earlier patch titled
"cxl: Remove function write_timebase_ctrl_psl9() for PSL9" available at [1].

Ref: [1] http://patchwork.ozlabs.org/patch/871199/
Vaibhav Jain (3):
cxl: Introduce various enums/defines for PSL9 trace arrays
cxl: Introduce module parameter 'enable_psltrace'
cxl: Provide implementation for sl_ops.start_psltrace on PSL9

 drivers/misc/cxl/cxl.h    | 31 ++++++++++++++--
 drivers/misc/cxl/main.c   |  4 +++
 drivers/misc/cxl/native.c |  8 ++---
 drivers/misc/cxl/pci.c    | 91 ++++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 119 insertions(+), 15 deletions(-)
Signature · 1 line
2.14.3