Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp818383pxb; Thu, 19 Nov 2020 14:48:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhIlJbtsfrFxrmC7ETvAeTU/qqiPeh+HZpiyBhTgfl7m5MTRzwD38EnO96Cga3VG5/VYnn X-Received: by 2002:a17:906:af49:: with SMTP id ly9mr30353004ejb.238.1605826084559; Thu, 19 Nov 2020 14:48:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605826084; cv=none; d=google.com; s=arc-20160816; b=v9cpR6KmsksqNXjUFtjgj81v2Kg1vjFzBXtaSxmr0Sm2Xer6A/1rP14+/RPTKakExI MKpNjxZpuqERM+giYCkz7HVAHLGF4t39pM/cO/pCPVCiuLIzThRv0x5Ozfw4A2OLZRnP JDayt1prcA1rTtaLIDLH6g6AavIjqEWgbskAwJmST4UMQD9IqVt39zq2+592akbv+RNt +OnxpWO8rK8p9RcqqaVaMYGrzqF7Mm2Fa8wh40lB7CtH2wiUxLUQaBjEVMQkofu/LEL9 0lAryefwGDUdC3pQocy3Gctk+D31kNykaN4O4z3yoCp3B7mzkubb+Av9wjQe1fWyUH1B zNPQ== 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=M9nKAVcVKje1SRHD4dqX6+3lKyGoqeI8D7KSMmwjx6M=; b=iAdP4/vJhONYWG19Pp+qlYLx6fjM2A8MdeaowOky4WlVmAlZYgwrwzgOoVTAY5dg7V 5BoKv1BFIvZpZAEWtO9Clk9ih49v9AVqSiyLE8PrZRzkAJEqkRmnemzR+u8c3ii4CXkj kfsJ9YAPoZdSlWyGbJJYhvdAymXM1kVPCbD8rQS6exng/8LMt4REyADVmiHs579+/DzJ eNW7h1e4DvzB/mHHZcixII+WH7ui2vb1nILJW6mQ5GgRLntVkNUStIyqlHLAJzXQL9Mz iROxijANPe8o3zxDpu3f83DjvFXanjmanBR7so9M8u1rfnYq2uj01n/N3IzoKKzs9s8M jAUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QGVKQ+m6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 qk1si653666ejb.260.2020.11.19.14.47.41; Thu, 19 Nov 2020 14:48:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=default header.b=QGVKQ+m6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727045AbgKSWo5 (ORCPT + 99 others); Thu, 19 Nov 2020 17:44:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:34616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbgKSWo4 (ORCPT ); Thu, 19 Nov 2020 17:44:56 -0500 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2697C22227; Thu, 19 Nov 2020 22:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605825895; bh=OtvJO8yvmIDxhqSkBjQjFoBGFp/nQ39GEQmF1YaXcsE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QGVKQ+m6/Nc+feFugcLakgmc/ol17FoOF5zCFohuHmRT181t/2WKSssYpZMmfnjME syhjfkVUxTyE3BxFf/eBLh8ybjnASTxUTXLKDmXrI7EPmCTq1b5vldIT+GmCbTt5tG bItZtP6k9YNlv16RHGZciUY62Zt6Q4Ml58vVT+EM= Date: Thu, 19 Nov 2020 14:44:53 -0800 From: Eric Biggers To: Thara Gopinath Cc: agross@kernel.org, bjorn.andersson@linaro.org, herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [Patch v2 0/6] Enable Qualcomm Crypto Engine on sdm845 Message-ID: References: <20201119155233.3974286-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119155233.3974286-1-thara.gopinath@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 10:52:27AM -0500, Thara Gopinath wrote: > Qualcomm crypto engine supports hardware accelerated algorithms for > encryption and authentication. Enable support for aes,des,3des encryption > algorithms and sha1,sha256, hmac(sha1),hmac(sha256) authentication > algorithms on sdm845.The patch series has been tested using the kernel > crypto testing module tcrypto.ko. Can you please test CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y too? Implementations of crypto algorithms shouldn't be enabled unless they are passing all tests. Also, did you compare the performance of this hardware to ARMv8 CE? I thought that QCE (at least on other SoCs) isn't very useful because ARMv8 CE is faster. - Eric