diff options
author | Eric Biggers <ebiggers@google.com> | 2024-10-20 11:02:58 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-10-26 14:39:30 +0800 |
commit | dd41b283ef2f028e414312706b48f2880b7050b5 (patch) | |
tree | 7fd96c30270889f8fde7fc0adb49f799eb5705bb /arch/riscv/mm/fault.c | |
parent | cd843399d706411ff80520fb7883afeeefa76e98 (diff) |
crypto: mips/crc32 - fix the CRC32C implementation
Commit ca459e5f826f ("crypto: mips/crc32 - Clean up useless assignment
operations") changed crc32c_mips_le_hw() to use the instructions that
use the "regular" CRC32 polynomial instead of the Castagnoli polynomial.
Therefore it can't be computing CRC32C values correctly anymore.
I haven't been successful in running a MIPS kernel in QEMU, but based on
code review this is the fix that is needed.
Fixes: ca459e5f826f ("crypto: mips/crc32 - Clean up useless assignment operations")
Cc: Guan Wentao <guanwentao@uniontech.com>
Cc: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Wentao Guan <guanwentao@uniontech.com>
Acked-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/riscv/mm/fault.c')
0 files changed, 0 insertions, 0 deletions