提交 476c56ab 编写于 作者: F Fenghua Yu 提交者: Xiaochen Shen

dmaengine: idxd: Fix crc_val field for completion record

mainline inclusion
from mainline-v6.2
commit dc901d98
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO
CVE: NA

Intel-SIG: commit dc901d98 dmaengine: idxd: Fix crc_val field for completion record.
Incremental backporting patches for DSA/IAA on Intel Xeon platform.

--------------------------------

The crc_val in the completion record should be 64 bits and not 32 bits.

Fixes: 4ac823e9 ("dmaengine: idxd: fix delta_rec and crc size field for completion record")
Reported-by: NNirav N Shah <nirav.n.shah@intel.com>
Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
Reviewed-by: NDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20221111012715.2031481-1-fenghua.yu@intel.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
Signed-off-by: NXiaochen Shen <xiaochen.shen@intel.com>
上级 b800fe68
......@@ -295,7 +295,7 @@ struct dsa_completion_record {
};
uint32_t delta_rec_size;
uint32_t crc_val;
uint64_t crc_val;
/* DIF check & strip */
struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册