From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DB01C4167B for ; Fri, 30 Dec 2022 15:03:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235104AbiL3PDv (ORCPT ); Fri, 30 Dec 2022 10:03:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiL3PDr (ORCPT ); Fri, 30 Dec 2022 10:03:47 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338E8140DF; Fri, 30 Dec 2022 07:03:47 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pBGuu-00COew-Kk; Fri, 30 Dec 2022 23:03:29 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 30 Dec 2022 23:03:28 +0800 Date: Fri, 30 Dec 2022 23:03:28 +0800 From: Herbert Xu To: Sergiu Moga Cc: davem@davemloft.net, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: atmel: Add capability case for the 0x600 SHA and AES IP versions Message-ID: References: <20221207135953.136557-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207135953.136557-1-sergiu.moga@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 07, 2022 at 03:59:55PM +0200, Sergiu Moga wrote: > In order for the driver to be made aware of the capabilities of the SHA > and AES IP versions 0x600 , such as those present on the SAM9X60 SoC's, > add a corresponding switch case to the capability method of the respective > drivers. Without this, besides the capabilities not being correctly set, > the self tests may hang since the driver is endlessly waiting for a > completion to be set by a never occurring DMA interrupt handler. > > Signed-off-by: Sergiu Moga > --- > drivers/crypto/atmel-aes.c | 1 + > drivers/crypto/atmel-sha.c | 1 + > 2 files changed, 2 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt