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 8E569C64ED6 for ; Wed, 1 Mar 2023 12:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229850AbjCAMWg (ORCPT ); Wed, 1 Mar 2023 07:22:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbjCAMW2 (ORCPT ); Wed, 1 Mar 2023 07:22:28 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3D93C7BE for ; Wed, 1 Mar 2023 04:22:27 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id i6so104208ybu.8 for ; Wed, 01 Mar 2023 04:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=l8Nz7GHrjsKkrFAhlS/NkKdyC63Tn/KzsoBmeKFSXCw=; b=w+EvywvXa3hPR1XRdg3fT9+2+j3fg01b9pb8YjCHXKBafIgJSWWztnhMRN78aDH1Gl tIeHLL3AoQD9YS0rnC3Aier7ZvdJU+ue3uDqfCYSye3KgmjuM/ws69r9wlmAQaReSTX3 NElMSx/U74nuneh6v1fjqAVQeC0wPYvKtaMBRWpF+L4TMLK7WYs65RM5vWaPAtuTt+Kr ypXDt+vTfG8L73u0jM6oN5/3R9TgvRBMmSEKL0gUiJU2UOX/EqKdHgRjEi8pCu6A9TmN uU4ER6e0X5mDuDbr9vmHJy4JhNb/OXaJjONAEFZ35cJpmmzKjdFofE9FJ0L0MZ61wWQM M2pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l8Nz7GHrjsKkrFAhlS/NkKdyC63Tn/KzsoBmeKFSXCw=; b=AiStxV1N2//Y8c5cotydm7uqT4KXxLaI6I7lWuIvL3SXYMK4Hw4dqygeLlwwkU0xFV SHPlyV91qJ0FwBItbWs45jpw2lCoePx8e8KlSLUgiRfezuvu3KhQWri4oEZ6CYgmZZNV Ud5dWstbY0IZ8Jh1Us6+sWKHa+0caisvnTw0ac5gARbiLRpdBjEcSXitID6FKDW9vu3m kG8LlXwgl7onZUNCLU8VOfFDk7+ChzvW/X9oJ7X8uzCTXUiywduQ08EJ/tcXe9UkqZ6g qhgya8/T0JROE5hA6abY3Z2K3cncaaGWPczM0PF0rC5RKt4V44jLEtyzygwCXVwXi6XR wzag== X-Gm-Message-State: AO0yUKWeOElpZFLankfBVJYF2kE6SAk5pKF1RjSIhaZUozRJpKWjhbAj eGFC12aviCeidk7RtVgrdxTvjmbw+1BSHX4wozqoLo04xMKnbQ== X-Google-Smtp-Source: AK7set/3PSECcYx5SDkKwfxXxVfKsTGwUn5f13PiuIuMv3U3cT7CDjiLP8yKUH8w5up+OiziuGYjkVabAyYxu7cUyWk= X-Received: by 2002:a05:6902:4d1:b0:ab8:1ed9:cfd6 with SMTP id v17-20020a05690204d100b00ab81ed9cfd6mr2429104ybs.5.1677673346062; Wed, 01 Mar 2023 04:22:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 1 Mar 2023 13:22:13 +0100 Message-ID: Subject: Re: [v4 PATCH] crypto: stm32 - Save and restore between each request To: Herbert Xu 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 1, 2023 at 2:36 AM Herbert Xu wrote: > The failing vector is the first one where we save the state from > the hardware and then try to restore it. Yeah that's typical :/ > 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)? It's Ux500 but I had no problem with import/export before, and yeah it has state save/restore in HW. Yours, Linus Walleij