Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp401764ybl; Wed, 11 Dec 2019 01:29:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyOyjxFZHXb5xUrnf6q+prkv6Q9I6ZKhs/VBeWrsP1TS9XDA8Sq3RLIYQDZVEGqSCiudX7m X-Received: by 2002:a9d:4789:: with SMTP id b9mr1663908otf.110.1576056550575; Wed, 11 Dec 2019 01:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576056550; cv=none; d=google.com; s=arc-20160816; b=yxds5iVcStozR1d8YY1PjKs5VMvhda8WVBylxOMuzz2HnB4hhskXjjhgvtWNmaWsV9 0X1X2uVDKbRfCnph5hXRsrbhCd+8lTcTh/qNOg+OQfviYLQTcnZEVQ5RadWuOxlsYFNO 32luI0XeR/4nqQmB6Soz5ecjDQ0IaZkxfLrOkwewI1QiKVaX0COJ51gPG09xHpxRKUJG m9UfXo6PnAUQm5NGvdbDFyd9/uVfuJacdsLJc/HnrONMC+LTKK7J/v9j7H9pVQiLmIjJ u97GuSzAzDjyOKANGqYZDYMFp9qly+0FJp9dEYF+Dz5TjqEVCbraqzr53VuuYJjiCa2y zZJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=D6i/iS4yeycfYRBwssGqpGjhvAJTuZT2uaWZpxWZ7Bw=; b=0d9zbChUH1y7u0mLXX9w1MoF4vT4P1jvNksKdsbK6rKeiSxBLa0TLp6uZAaGnmIreU pM5SH1RcdW4ygZSrELG6jmSGsLBR3mT0L7HkV8tSffvzFdWo8S+LdsWTqmuG5W00AVr6 tjhWGSEnErBEUlTieaLnS2y4rqQiLgraBdjHMqxLyJ1NfrImBjqZ86Ik7pGToY0bblvL 008tK2Yt3IFKpDVIgG9I9boLdgfQ3aeTsDdCDdPVdZnyHaAui3UjUzpUt4ME6XtqHp+4 8fIunLJ8n+frWMkAc8gZ4oS2tPIQ7T2vP0cv0QZX+F0qXGPFX/3k+Enhj6pNVoYea7J1 iU6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si818626otr.197.2019.12.11.01.28.59; Wed, 11 Dec 2019 01:29:10 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728513AbfLKJ2C (ORCPT + 99 others); Wed, 11 Dec 2019 04:28:02 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:53326 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727493AbfLKJ2C (ORCPT ); Wed, 11 Dec 2019 04:28:02 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ieyHc-00086w-WE; Wed, 11 Dec 2019 17:27:49 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ieyHW-0003GG-03; Wed, 11 Dec 2019 17:27:42 +0800 Date: Wed, 11 Dec 2019 17:27:41 +0800 From: Herbert Xu To: Neil Armstrong Cc: Anand Moon , Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , "David S . Miller" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: Re: [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform Message-ID: <20191211092741.totwucrkversjbav@gondor.apana.org.au> References: <20191211084112.971-1-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Dec 11, 2019 at 09:53:56AM +0100, Neil Armstrong wrote: > > On 11/12/2019 09:41, Anand Moon wrote: > > [sudo] password for alarm: > > [ 903.867059] tcrypt: > > [ 903.867059] testing speed of async ecb(aes) (ecb(aes-arm64)) encryption > > Wow, I'm surprised it works on GXBB, Amlogic completely removed HW crypto for GXBB in all their > vendor BSPs, in Linux, U-Boot and ATF chain. > > Could you run more tests to be sure it's really functional ? Well as you can see from the tcrypt output, it's actually using aes-arm64 which is certainly not the amlogic driver. Presumably the amlogic driver failed to load/register. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt