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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D08C0C433E0 for ; Fri, 22 May 2020 14:13:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A558E22226 for ; Fri, 22 May 2020 14:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729789AbgEVONr (ORCPT ); Fri, 22 May 2020 10:13:47 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:39538 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729399AbgEVONq (ORCPT ); Fri, 22 May 2020 10:13:46 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jc8QD-0008Fn-G8; Sat, 23 May 2020 00:13:14 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 23 May 2020 00:13:13 +1000 Date: Sat, 23 May 2020 00:13:13 +1000 From: Herbert Xu To: Nicolas Toromanoff Cc: "David S . Miller" , Maxime Coquelin , Alexandre Torgue , linux-crypto@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] STM32 CRC update Message-ID: <20200522141313.GA859@gondor.apana.org.au> References: <20200512141113.18972-1-nicolas.toromanoff@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512141113.18972-1-nicolas.toromanoff@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 12, 2020 at 04:11:08PM +0200, Nicolas Toromanoff wrote: > This set of patches update the STM32 CRC driver. > It contains bug fix. > > First fixes issue if we enable STM32 CRC32 hardware accelerator with > ext4 (with metadata-chksum enable) and other fs that use same direct > access to update crc32 API without previous init. > Second fixes some issues raise by the extra self-test. > Third fixes wrong hw usage if there is multiple IP on the SOC. > Forth fixes "sleep while atomic" in tcrypt test, and some other places > (ext4) > Last fixes concurrent accesses. As state is saved in the hardware cell > and not in stack as other CRC32 drivers, we need to create atomic > section to protect concurrent CRC32 calculus. > > This patch series applies to cryptodev/master. > > Nicolas Toromanoff (5): > crypto: stm32/crc: fix ext4 chksum BUG_ON() > crypto: stm32/crc: fix run-time self test issue. > crypto: stm32/crc: fix multi-instance > crypto: stm32/crc: don't sleep in runtime pm > crypto: stm32/crc: protect from concurrent accesses > > drivers/crypto/stm32/stm32-crc32.c | 230 ++++++++++++++++++++--------- > 1 file changed, 161 insertions(+), 69 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt