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 86CB7C64EC4 for ; Wed, 1 Mar 2023 01:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbjCABq7 (ORCPT ); Tue, 28 Feb 2023 20:46:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjCABq6 (ORCPT ); Tue, 28 Feb 2023 20:46:58 -0500 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8613A2A6EE; Tue, 28 Feb 2023 17:46:55 -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 1pXBYC-00GiF8-25; Wed, 01 Mar 2023 09:46:37 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 01 Mar 2023 09:46:36 +0800 Date: Wed, 1 Mar 2023 09:46:36 +0800 From: Herbert Xu To: Linus Walleij Cc: Lionel Debieve , Li kunyu , davem@davemloft.net, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com Subject: Re: [v4 PATCH] crypto: stm32 - Save and restore between each request Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Mar 01, 2023 at 09:36:08AM +0800, Herbert Xu wrote: > > Is your device ux500 or stm32? Perhaps state saving/restoring is > simply broken on ux500 (as the original ux500 driver didn't support > export/import and always used a fallback)? Interesting, I dug up the old ux500 driver and even though it doesn't have export/import hooked up, it does actually appear to save/restore hardware state. In fact it seems to do it multiple times per request, even when it's unnecessary. I'll try to see if the saving/restoring is subtly different between ux500 and stm32. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt