]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: idxd: fix opcap sysfs attribute output
authorDave Jiang <dave.jiang@intel.com>
Mon, 22 Mar 2021 23:37:29 +0000 (16:37 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 12 Apr 2021 07:56:03 +0000 (13:26 +0530)
commitb3587ed3147675e671c50f4cb82788d517e30d6f
tree576fd1ca71333acb8105a9c4d23a5c02b6de3643
parentcdf21c1c017933fd77656bbf599e12fd046de936
dmaengine: idxd: fix opcap sysfs attribute output

The operation capability register is 256bits. The current output only
prints out the first 64bits. Fix to output the entire 256bits. The current
code omits operation caps from IAX devices.

Fixes: f38219f6774e ("dmaengine: idxd: add configuration component of driver")
Reported-by: Lucas Van <lucas.van@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/161645624963.2003736.829798666998490151.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/sysfs.c