]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:13:17 +0000 (13:13 +0200)
commit60673d3fd69595ebc78213cb6a1617db923d4dcf
treeed3ed6ba5091187354d47c5687a197f4dfcdec4d
parent7f9b39e7e4e817498aa0072b6e47367052053d80
dmaengine: idxd: fix opcap sysfs attribute output

[ Upstream commit ea6a5735d2a61b938a302eb3629272342a9e7c46 ]

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: c52ca478233c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/idxd/sysfs.c