Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp431399ybl; Wed, 11 Dec 2019 02:05:47 -0800 (PST) X-Google-Smtp-Source: APXvYqzxxxKg/eKpwtjJq8jdE0ZBi8qA7hCx/vsu38bp1Dq1hD62ezw5aQ69V+fF4xxx+OoBGea9 X-Received: by 2002:a9d:32e:: with SMTP id 43mr1631266otv.301.1576058746943; Wed, 11 Dec 2019 02:05:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576058746; cv=none; d=google.com; s=arc-20160816; b=GNzxWvjHAPOj3/0ODRqb1S4qE7D2/LUu5eqreT5bmHWI8ihdiNvgzFc18ZZ0xP75wd vcQnbSWxdD0sO8A2nwucSjEkFnXckO4rfSgrcfsl+OLXRZ7CmKFk6K9dZqA/HWxR0yO1 YTWD/qD/22NMpUtOE24FkCIpHdyKluDrmiKbiWHBtYI9lkfNe7xveQVdIAy1yQRU5Ny6 hXhuIeyIKLSiKLngAEGOJFMzR1M5qgmWtFyDosD/pvJKuu3smbXaFGNkzTwXcx3rhvlP RJWOeYbtovuC3XLYv9p90YWrJtPxZydn25i6PJsNmSuSyDX1y14SIoYF4iRgyskJrZq7 3WZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6+pzCvZCcIDCxscL/F2NTKLDHzaJQZFzo8UlrqTqymo=; b=kpV2lf4i67ovSqIso252fNrDhEerVIEuu8QlE6w5fnxg77Pb7+VEJHoY/LCLQJI+e8 BcvK6vxmMFHf9mL6K3r9X+mlHgQarQLVJh1ihQsLyPUhWOVD1zfpLa1JlUykbRcJHYFW ZPA/H8gukMdfuj5zUiUZmMbOSIEVi87KHPpaP5kon3RBkJWZCr2wXpGf3nFGiB/QyAhk lKqEzPl4qYiHMfExZ3L5Q62dFJZOcHXFQDUGZ862elQx3DtQO7FK9m8+hfr+Y1PiH4Zb qv4PiBfp8yJXazGq9+PVVF9oqWxMvS2xU4yWOApbIvCLFXwWs27tYKaqqFti10xTkNX9 CCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OAQ8RhQT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si764784otk.188.2019.12.11.02.05.30; Wed, 11 Dec 2019 02:05:46 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OAQ8RhQT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728637AbfLKKFX (ORCPT + 99 others); Wed, 11 Dec 2019 05:05:23 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:34200 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbfLKKFX (ORCPT ); Wed, 11 Dec 2019 05:05:23 -0500 Received: by mail-io1-f66.google.com with SMTP id z193so22039700iof.1; Wed, 11 Dec 2019 02:05:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6+pzCvZCcIDCxscL/F2NTKLDHzaJQZFzo8UlrqTqymo=; b=OAQ8RhQT+BNhH5WtADE/JwpRUFq8FjSxLcLoHKg9BhA8CFuwWyRros3rT6ka5Ur4/+ Ihml7KGm0Y4m4/XXTvPsq3lLnCdfzvm/y7ogVvxBUW63YsQggBu6Q/EsnrOv87po8LQT L1HTnnb7mESRAokBz9AV7RYDJ6bK+6uF9ajOBWDuq1AJsH+VEBdspzP8QU60fwLDZAY+ aY+AiCuPlGavc2xAsguOm+mFP3bHPyVOqUlCj2eLmHgV/NGaeX4DsEFFV1cDvGguJI6I nDiSxVAaccq0FEnyYb7K0GSCJo9e/i7jtr2TX8RHlzK5X6nw5ifr1rVNHJWD+2ooxIr+ WZKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6+pzCvZCcIDCxscL/F2NTKLDHzaJQZFzo8UlrqTqymo=; b=CF+jeYuTg8LvEez+yCRVr6axGZ3wCXFXY+oI6LYqNIIf2MTlY3ZLL0xv6v6AMHnXce DMY4p2So/D2wG4kFUY6Vzx8qlCC9t3dCRo76e0r2GcWpqwpEmKQ1o7GLPwLyA5WslvKM 8PVGDyqDQ/XFnPIPVTnNBOHlVT6ayQewyvnjahyOka8v0uuDzTY2mxrroOEZ2OTjxEkD i80x8uzXv9YPA/4cpobfUy1WvsyOxzQfIeoazFW6CaR1ehvarm36M5yFp6sKItoMdfdk vguwSHk5TwFT9jF3Rze+kKjZYtorw3Lbdfs6K2A/X71bpxVoj0Ayl/hj6nqVgnDFvQR7 y3HA== X-Gm-Message-State: APjAAAVrKWyQRHeh/j+jfk75KA1fnnTjHHP62LSx3/miq7a8b6OfIWQk 2lZ6WI9WQbeM2RJU56smSOMhTOhVvvDC7eLvTQdGbQ== X-Received: by 2002:a02:a309:: with SMTP id q9mr2222824jai.141.1576058722472; Wed, 11 Dec 2019 02:05:22 -0800 (PST) MIME-Version: 1.0 References: <20191211084112.971-1-linux.amoon@gmail.com> <20191211092741.totwucrkversjbav@gondor.apana.org.au> In-Reply-To: <20191211092741.totwucrkversjbav@gondor.apana.org.au> From: Anand Moon Date: Wed, 11 Dec 2019 15:35:11 +0530 Message-ID: Subject: Re: [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform To: Herbert Xu Cc: Neil Armstrong , Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , "David S . Miller" , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel , linux-crypto@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Herbert, On Wed, 11 Dec 2019 at 14:57, Herbert Xu wrote: > > 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 Yes I think so you are correct.no Hardware Accelerated crypto on GXBB. Failed to load the module. -Anand