dmaengine: idxd: add command status to idxd sysfs attribute
authorDave Jiang <dave.jiang@intel.com>
Fri, 28 Aug 2020 22:13:55 +0000 (15:13 -0700)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 07:10:12 +0000 (12:40 +0530)
commitff18de55a62f0e8f0dcf11bfa7f69b23e6e951b0
tree324074b701e98225cef6d749cb0f88cbd39e80bb
parente7184b159dd37f4be8ff3d070c7c11f76b5bc3fe
dmaengine: idxd: add command status to idxd sysfs attribute

Export admin command status to sysfs attribute in order to allow user to
retrieve configuration error. Allows user tooling to retrieve the command
error and provide more user friendly error messages.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159865278770.29455.8026892329182750127.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/ABI/stable/sysfs-driver-dma-idxd
drivers/dma/idxd/device.c
drivers/dma/idxd/idxd.h
drivers/dma/idxd/sysfs.c