]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: qat - fix "Full Going True" macro definition
authorSvyatoslav Pankratov <svyatoslav.pankratov@intel.com>
Thu, 15 Aug 2024 15:47:23 +0000 (16:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 24 Aug 2024 13:38:54 +0000 (21:38 +0800)
commit694a6f594817462942acbb1a35b1f7d61e2d49e7
tree020dd60ca746e3e32c15aa86c26591d559afd4be
parent3b1c9df662915a18a86f1a88364ee70875ed3b44
crypto: qat - fix "Full Going True" macro definition

The macro `ADF_RP_INT_SRC_SEL_F_RISE_MASK` is currently set to the value
`0100b` which means "Empty Going False". This might cause an incorrect
restore of the bank state during live migration.

Fix the definition of the macro to properly represent the "Full Going
True" state which is encoded as `0011b`.

Fixes: bbfdde7d195f ("crypto: qat - add bank save and restore flows")
Signed-off-by: Svyatoslav Pankratov <svyatoslav.pankratov@intel.com>
Reviewed-by: Xin Zeng <xin.zeng@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data.h