dmaengine: idxd: expose IAA CAP register via sysfs knob
authorDave Jiang <dave.jiang@intel.com>
Fri, 3 Mar 2023 21:37:32 +0000 (13:37 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 11:56:53 +0000 (17:26 +0530)
commit9f0d99b327edd217462852635498694aaf471b33
treebb43220333151526c12dc372cf1d2d5f3ac5d7eb
parent34ca00662eb7f184f249dd2168ebea78d945e3e4
dmaengine: idxd: expose IAA CAP register via sysfs knob

Add IAA (IAX) capability mask sysfs attribute to expose to applications.
The mask provides application knowledge of what capabilities this IAA
device supports. This mask is available for IAA 2.0 device or later.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20230303213732.3357494-3-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/ABI/stable/sysfs-driver-dma-idxd
drivers/dma/idxd/idxd.h
drivers/dma/idxd/init.c
drivers/dma/idxd/registers.h
drivers/dma/idxd/sysfs.c