mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 09:56:11 +07:00
c459bd7bed
The flusher and regular multi-buffer computation via mcryptd may race with another. Add here a lock and turn off interrupt to to access multi-buffer computation state cstate->mgr before a round of computation. This should prevent the flusher code jumping in. Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
---|---|---|
.. | ||
Makefile | ||
sha512_mb_ctx.h | ||
sha512_mb_mgr_datastruct.S | ||
sha512_mb_mgr_flush_avx2.S | ||
sha512_mb_mgr_init_avx2.c | ||
sha512_mb_mgr_submit_avx2.S | ||
sha512_mb_mgr.h | ||
sha512_mb.c | ||
sha512_x4_avx2.S |