dmaengine: idxd: export hw version through sysfs
authorDave Jiang <dave.jiang@intel.com>
Wed, 15 Apr 2020 16:13:12 +0000 (09:13 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 15 Apr 2020 16:24:00 +0000 (21:54 +0530)
commitc2ce6bbcfc9f142b426717bc5aa3f9ba20485a65
tree7138c236184dbb950360c7ca88e64d14da31a39e
parenta4e688535a0829980d5ef1516c0713777a874c62
dmaengine: idxd: export hw version through sysfs

Some user apps would like to know the hardware version in order to
determine the variation of the hardware. Export the hardware version number
to userspace via sysfs.

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