Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766AbbEQKsY (ORCPT ); Sun, 17 May 2015 06:48:24 -0400 Received: from down.free-electrons.com ([37.187.137.238]:33825 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752626AbbEQKsO (ORCPT ); Sun, 17 May 2015 06:48:14 -0400 Date: Sun, 17 May 2015 12:48:11 +0200 From: Boris Brezillon To: Herbert Xu Cc: LABBE Corentin , robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, davem@davemloft.net, akpm@linux-foundation.org, gregkh@linuxfoundation.org, mchehab@osg.samsung.com, joe@perches.com, tj@kernel.org, arnd@arndb.de, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v9 4/4] crypto: Add Allwinner Security System crypto accelerator Message-ID: <20150517124811.797fab32@bbrezillon> In-Reply-To: <20150517103440.GA7800@gondor.apana.org.au> References: <1431608341-10936-1-git-send-email-clabbe.montjoie@gmail.com> <1431608341-10936-5-git-send-email-clabbe.montjoie@gmail.com> <20150517104508.468b032f@bbrezillon> <20150517103440.GA7800@gondor.apana.org.au> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 33 Hi Herbert, On Sun, 17 May 2015 18:34:40 +0800 Herbert Xu wrote: > On Sun, May 17, 2015 at 10:45:08AM +0200, Boris Brezillon wrote: > > > > From my POV this is not asynchronous at all (see my comments inline), > > but maybe Herbert can confirm that. > > Well we don't actually require drivers to be asynchronous. It is > obviously the preferred method but some hardware may not be capable > of that. Yep, but then they shouldn't be declared with CRYPTO_ALG_ASYNC and as an ablkcipher algorithm (*Asynchronous* Block Cipher), right ? Regarding the capabilities of this crypto engine, from what I've seen, it is definitely capable of doing asynchronous requests ;-). Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/