Content-Type: multipart/mixed; boundary="===============8043959317523771334==" MIME-Version: 1.0 From: Dave Jiang Subject: [Accel-config] Re: [PATCH v4 0/3] Add support to get enhanced details of error Date: Thu, 15 Jul 2021 14:50:00 -0700 Message-ID: <111df349-4a64-3a69-d3d1-61e624aa4f1f@intel.com> In-Reply-To: 20210715005219.1090056-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============8043959317523771334== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 7/14/2021 5:52 PM, ramesh.thomas(a)intel.com wrote: > From: Ramesh Thomas > > 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(-) Reviewed-by: Dave Jiang for the series --===============8043959317523771334==--