Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5505829pxj; Wed, 26 May 2021 12:08:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTk81kO1oz47b7dkOEvB0R1eNoz2l4O2xYeWqw/fuuz+UGSE4uY9UEwmiMjZr/xgFSTauh X-Received: by 2002:a05:6e02:1a4c:: with SMTP id u12mr27029093ilv.221.1622056115134; Wed, 26 May 2021 12:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622056115; cv=none; d=google.com; s=arc-20160816; b=GZbQZqhsFOvG9aa6EMKNV7+2MOLLlpg54WtiAfxqiKh7SIWIGHVP640naEWGaHHcZ1 LXf37xyQBRzyb+bF4LN9zNFMwnJmxr2cOxXvVXUjNSmDHvOcvuKP2Qemg3L1jiQtKCor E/M0Kz0kpW2ZtAN/bl3UBLIZC+GNr7xyB/YP2qi3VAUm7+py/T0HgAN7WOpBw3Nq8Td7 +sH4Ro6VuM0U9Tg2wAMEBTZ82vUEmEi2VEik4YOcgOMT+TqkquOdZR/NYkvytcPRiVnX AGhmIpyQpYGsx/WAHdnI/Xe3/TlebvvLwxXYyj1S8jKszZaBIgQZapg0x0qe5G7Xgc+c SEHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dmS4X2DDPp8OBBh07RkBjHG6Tf/zzXnsG0CC5yLVB9Q=; b=fWJGBcTPIKSlrH3kFh2kxx2Kx4BWf3Hu8eySU35CBHU/aJEEwm6ti6fYF8d8UZ6wlO H+bwbtTKfMLFm79W85q9cA4yaJujfh1y+e9aT0AarUKuOBbZc4n+Jv3aoqb2SyyfRgep mvdfD5LEy70gy5N+Q0EjyFWHk3rTRjOtdcNH40BK2lluKpSOS5RDPbEStIOLM87W2RtI iMaKyCQvUEvLuREl02KrrKD0vo6/XPIcd9B5LKnmI73QM5uZNTsc4V3tz9Na+61FEy1N U9mNvxJnJIETyUQCWIFbxrih1SX4UE2JzSVkPV7J/BYIZxt3F9kA/AP9a+Lteqqr0d0Y 9w6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pQcu+jHd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si3037jan.54.2021.05.26.12.08.11; Wed, 26 May 2021 12:08:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pQcu+jHd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233701AbhEZQ71 (ORCPT + 99 others); Wed, 26 May 2021 12:59:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:45372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233725AbhEZQ7X (ORCPT ); Wed, 26 May 2021 12:59:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6A9AA613E5; Wed, 26 May 2021 16:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622048271; bh=xrw5xQa0Ao9OhAkU/wgbik2nbqFDwxOpP1syqGR6CIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pQcu+jHdCmweZ0e8P5/4hQhB0riBSStq8zh3KBBCGvz5EpTGaEKk7wuG97CNh9EzI xX3HpcwHjNrO9xrLnbDmmNSN8D1HQbIZZseciH40KbIr2hQzfpP7lrIjvXch0Djeoi gD0FiUDjb/xvmj7CGxsF/2T7So4/HtHQBCDAjaMa6ECTT5ACEXAoe/aIfN6untCXSr IEHvyBRJtdmAnbj4Z1Se4EFE8Hc6ToLoWF8sv4QWVUYq8akI1ruKULg/nkZJZ9V1VQ meVkisjoT+HnhldTd7PONdXJ5xBJSAvRoQLYZjY9+IMOgMIiu9NDVTyGx9F1SMrF2i 5FRLOqhU6e4pw== Date: Wed, 26 May 2021 09:57:49 -0700 From: Eric Biggers To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, herbert@gondor.apana.org.au, will@kernel.org, kernel-team@android.com Subject: Re: [PATCH v6 4/6] crypto: arm64/aes-ccm - remove non-SIMD fallback path Message-ID: References: <20210526100729.12939-1-ardb@kernel.org> <20210526100729.12939-5-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526100729.12939-5-ardb@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, May 26, 2021 at 12:07:27PM +0200, Ard Biesheuvel wrote: > AES/CCM on arm64 is implemented as a synchronous AEAD, and so it is > guaranteed by the API that it is only invoked in task or softirq > context. Since softirqs are now only handled when the SIMD is not > being used in the task context that was interrupted to service the > softirq, we no longer need a fallback path. Let's remove it. > > Signed-off-by: Ard Biesheuvel > --- > arch/arm64/crypto/aes-ce-ccm-glue.c | 153 ++++---------------- > 1 file changed, 32 insertions(+), 121 deletions(-) Reviewed-by: Eric Biggers