mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Since the AVX-512 optimized RAID6 code uses ZMM registers, execute vzeroupper before returning from it. This is needed to avoid degrading the performance of any later SSE code that may happen to be executed. Link: https://lore.kernel.org/[email protected] Fixes:e0a491c129("lib/raid6: Add AVX512 optimized gen_syndrome functions") Fixes:13c520b299("lib/raid6: Add AVX512 optimized recovery functions") Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: <[email protected]>