From patchwork Mon Apr 30 16:18:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 134710 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3948066lji; Mon, 30 Apr 2018 09:18:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr3/9C5EPhvDIp1Oo3jYGTW1szVJ2tFSPIGSpeJVzo98g6e9HsHgjxdQyti5qX3EOoE3K79 X-Received: by 2002:a17:902:6b0c:: with SMTP id o12-v6mr12821058plk.159.1525105125314; Mon, 30 Apr 2018 09:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525105125; cv=none; d=google.com; s=arc-20160816; b=CR2pSigFEwsTQy6/BSABhChmLDvyZFRHOzq8k2/EErg+S8Em861Doo9av46ElFMIVb 3vonSoajCVPGVHpg9KUeUGNLFVnhowAhhg/Y2B20nyV9n1gwWES+RCq0O1WKyOKp14kq CkJgEji7lnS1dxYg/3+g9OXdiVyNyPFfEU47Y5Q7hUoS6WNSns4Vq7+tPRD8GPMbGTMx LCe2VWTXMI4fGMGTf3LmAHGRwXBhx/lyRhyTJ+r10sOQjXE64aAQYhOZgTe+ycwwhAxE wJVfiDGrwutELiBknS1wCkWu3tDFgoe8SZbds2HkqURWLWo4BXrO2kPPMRNe9DnVeVh4 vdEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=hLm00IFUVUkYOYgVcl1/alXRFRt5qoTeD049uAgGQ7g=; b=sARorZTHp4X55+vYyuP8QcdLyfjPO18rd7uJnTCvGEXXX/7X4l5UPMYxc6RwgpIOxJ NM630a+DuCkxJ2BfBp2vP//rBP7udwXVnjfBytYS4ERHkMxG1xt8E/141OLWlZQ44umn P9fQ7E9ygspR9OIH9t0VSdkUirhVqofYSfraUQUTB/0VmI3TRwCsKw+uPtIu1RBotK1d vI4EDnw9rFpZWGrL+kRbTkCHrLppTZP0XuC2tLxyAirh6uHBwHwN59Yn0fmf9aj8J6TA 78hZSYWlRx60iY2amnDbGYBRme2PmKsqEaMK88MEgouNRYx8KFZ2fH7cKDBiWX9Pn1NW dhaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HtUgoYyr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1-v6si7505703plc.403.2018.04.30.09.18.45; Mon, 30 Apr 2018 09:18:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HtUgoYyr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754474AbeD3QSn (ORCPT + 1 other); Mon, 30 Apr 2018 12:18:43 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:42095 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753334AbeD3QSn (ORCPT ); Mon, 30 Apr 2018 12:18:43 -0400 Received: by mail-wr0-f193.google.com with SMTP id v5-v6so8581495wrf.9 for ; Mon, 30 Apr 2018 09:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=hLm00IFUVUkYOYgVcl1/alXRFRt5qoTeD049uAgGQ7g=; b=HtUgoYyr6SCKXTQK5hx2l1g+63Iv8w7+rUHR3rpn5NS5W9oOvZzrsLQKxQfwuQVRR6 +Qq19+uBJXz5/obqdEb9LfdHZ74cKJEsAhI/QaVBTIT3fdH6pPP34XylDAdNSIarYqVY oIpe4dK3iqasbaU06HSsuKcml5oW/tG/LlMCI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hLm00IFUVUkYOYgVcl1/alXRFRt5qoTeD049uAgGQ7g=; b=UdOkmvyKRFCt8+tqkeA1i3YyAve8Azyji0uSWlabc357V23BncecCCfnzQj3WIItmS jU2gXgQRFn1JOJgeGgDYxmf4BYWeOYFFGzbUsFNimx5sS1YOfAgvluZDbYZkzBD/1p1F cy0iFG7dtoL7UWXhGXcNagpl/emQ9Lj7Ycpdf4Nbqk2lAXRq7OZei1DQI8OlPxXq1u7R dbwvtWY9GaK2Iw8E5NvYUHboDdc22ovTMJZpr++PPh957Lkob2Tm23vXigMnnLkfxfPj FEQImR0/KxsxgwOviY4UmUeDi31uwWJwmwSEDlcB9a2idhabMkHrdUEGUkU9EXFznYdV 9ngQ== X-Gm-Message-State: ALQs6tCjXMkrfROa+b6BymgXkWxcZeTp8vQFDGW4hY/AfVsI3QJ5caBg gufxMPs+C1k859W2C7XVFYnkRXnJU3s= X-Received: by 2002:adf:af28:: with SMTP id z37-v6mr9159237wrc.72.1525105121626; Mon, 30 Apr 2018 09:18:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id l1-v6sm5753845wre.54.2018.04.30.09.18.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 09:18:40 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au Cc: linux-arm-kernel@lists.infradead.org, dave.martin@arm.com, will.deacon@arm.com, Ard Biesheuvel Subject: [PATCH resend 00/10] crypto: arm64 - play nice with CONFIG_PREEMPT Date: Mon, 30 Apr 2018 18:18:20 +0200 Message-Id: <20180430161830.14892-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hello Herbert, These are the patches that depend on the arm64/assembler.h patches that inadvertently got pulled into the cryptodev tree and reverted shortly after. Those have now been merged into Linus's tree, and so the remaining changes can be applied as well. Please apply. Ard Biesheuvel (10): crypto: arm64/sha1-ce - yield NEON after every block of input crypto: arm64/sha2-ce - yield NEON after every block of input crypto: arm64/aes-ccm - yield NEON after every block of input crypto: arm64/aes-blk - yield NEON after every block of input crypto: arm64/aes-bs - yield NEON after every block of input crypto: arm64/aes-ghash - yield NEON after every block of input crypto: arm64/crc32-ce - yield NEON after every block of input crypto: arm64/crct10dif-ce - yield NEON after every block of input crypto: arm64/sha3-ce - yield NEON after every block of input crypto: arm64/sha512-ce - yield NEON after every block of input arch/arm64/crypto/aes-ce-ccm-core.S | 150 +++++---- arch/arm64/crypto/aes-ce.S | 15 +- arch/arm64/crypto/aes-modes.S | 331 ++++++++++++-------- arch/arm64/crypto/aes-neonbs-core.S | 305 ++++++++++-------- arch/arm64/crypto/crc32-ce-core.S | 40 ++- arch/arm64/crypto/crct10dif-ce-core.S | 32 +- arch/arm64/crypto/ghash-ce-core.S | 113 +++++-- arch/arm64/crypto/ghash-ce-glue.c | 28 +- arch/arm64/crypto/sha1-ce-core.S | 42 ++- arch/arm64/crypto/sha2-ce-core.S | 37 ++- arch/arm64/crypto/sha3-ce-core.S | 77 +++-- arch/arm64/crypto/sha512-ce-core.S | 27 +- 12 files changed, 762 insertions(+), 435 deletions(-) -- 2.17.0