Clean up some issues and peculiarities in the gcm(aes-ni) driver. Changes since v1: - fix sleep while atomic issue reported by Eric - add patch to get rid of indirect calls, to avoid taking the retpoline performance hit Cc: Megha Dey <megha.dey@xxxxxxxxx> Cc: Eric Biggers <ebiggers@xxxxxxxxxx> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Ard Biesheuvel (5): crypto: x86/gcm-aes-ni - prevent misaligned buffers on the stack crypto: x86/gcm-aes-ni - drop unused asm prototypes crypto: x86/gcm-aes-ni - clean up mapping of associated data crypto: x86/gcm-aes-ni - refactor scatterlist processing crypto: x86/gcm-aes-ni - replace function pointers with static branches arch/x86/crypto/aesni-intel_glue.c | 321 ++++++++------------ 1 file changed, 121 insertions(+), 200 deletions(-) base-commit: 858e88e2e54cd50cd43f3a8b490b64c22ae8267b -- 2.17.1