MIPSr6 architecture introduces a new CRC32(C) instruction. The following patches add a crypto acceleration module for crc32 and crc32c algorithms using the new instructions. Marcin Nowakowski (2): MIPS: add crc instruction support flag to elf_hwcap MIPS: crypto: Add crc32 and crc32c hw accelerated module arch/mips/Kconfig | 4 + arch/mips/Makefile | 3 + arch/mips/crypto/Makefile | 5 + arch/mips/crypto/crc32-mips.c | 364 +++++++++++++++++++++++++++++++++++++ arch/mips/include/asm/mipsregs.h | 1 + arch/mips/include/uapi/asm/hwcap.h | 1 + arch/mips/kernel/cpu-probe.c | 3 + crypto/Kconfig | 9 + 8 files changed, 390 insertions(+) create mode 100644 arch/mips/crypto/Makefile create mode 100644 arch/mips/crypto/crc32-mips.c -- 2.7.4