Skip to content

Add support to get enhanced details of error

ramesh.thomas at intel.com accel-config 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 1 replySuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches4 repliesSuperseded

Changes in v4 from the cover letter

Specify if the error is platform configuration error Don't fail if clearing cmd_status is RO to support older drivers

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3accel-config: Add APIs to get details of last error and associated devicesaccfg/lib/libaccel-config.sym accfg/lib/libaccfg.c accfg/lib/private.h +1 more+166 -200 replies
2/3accel-config: Print details of error at exit using new last_error APIaccfg/accel-config.c accfg/enable.c+28 -220 replies
3/3accel-config: Reset cmd_status during device initaccfg/lib/libaccfg.c+25 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Accel-config] [PATCH v4 0/3] Add support to get enhanced details of error

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Add support to take a snapshot of error details containing hw/sw error code and associated devices. Added new API to retreive the saved information. Using the new API accel-config prints a more detailed error message at exit.

v2:
Use masks and other constants defined in idxd.h
Clear cmd_status during device initialization

v3:
Specify if the error is from driver or library

v4:
Specify if the error is platform configuration error Don't fail if clearing cmd_status is RO to support older drivers

Ramesh Thomas (3):
accel-config: Add APIs to get details of last error and associated
devices
accel-config: Print details of error at exit using new last_error API
accel-config: Reset cmd_status during device init

 accfg/accel-config.c          |  25 ++++-
 accfg/enable.c                |  25 +----
 accfg/lib/libaccel-config.sym |   6 ++
 accfg/lib/libaccfg.c          | 187 ++++++++++++++++++++++++++++++----
 accfg/lib/private.h           |   9 ++
 accfg/libaccel_config.h       |   9 +-
 6 files changed, 219 insertions(+), 42 deletions(-)
Signature · 1 line
2.26.3