diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-02-17 03:13:42 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-04-12 10:56:03 +0300 |
commit | ea941ac294d75d0ace50797aebf0056f6f8f7a7f (patch) | |
tree | eee850638b0e6ecda1c6b3057bd390398f9971bb /include/uapi/linux/idxd.h | |
parent | 868833fbffbe51c487df4f95d4de9194264a4b30 (diff) | |
download | linux-ea941ac294d75d0ace50797aebf0056f6f8f7a7f.tar.xz |
dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
Current code blindly writes over the SWERR and the OVERFLOW bits. Write
back the bits actually read instead so the driver avoids clobbering the
OVERFLOW bit that comes after the register is read.
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/161352082229.3511254.1002151220537623503.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/uapi/linux/idxd.h')
0 files changed, 0 insertions, 0 deletions