Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp31435lqt; Thu, 18 Apr 2024 07:44:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW++pi9y3fJdKWfvCzHZfvPUIg0fMiYGpW/8iEI1dqi9w8mJg8iLs2dlnzPPdzsj+zssD9npNv//8kYxnm+rS/hGFrpoCVbSuVOT5rulg== X-Google-Smtp-Source: AGHT+IFLPkE8BzK9SSj4LZwDOnh/Y7pMjwumCCoukNzfFYsLZoPxrd9hoMYIPa64vPHUxCMXTrwd X-Received: by 2002:a19:381a:0:b0:517:64ec:1251 with SMTP id f26-20020a19381a000000b0051764ec1251mr1640898lfa.15.1713451479859; Thu, 18 Apr 2024 07:44:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713451479; cv=pass; d=google.com; s=arc-20160816; b=URbgN4ZF5anuEGFHIwkhcI6AASUb2EvuLcFtn4YnIswWrFYSrUJhXFcX1vtlUkPSrb KSa2Q68b/oPsyFZYAWsMKFDyc/ulX3RGk7Xum1Qcgf+Kj4dELZ/x4RitZtfV47fRxi/K /sPFAC3Uc6iUjKgPIe5enXmdOlti7jJc6kLocb8lRJreJ6jx0XX+Tq4RQFIAdq+vtXIf /4r+7BBZO5unROa6U9C2ls/rFvdgj5/DluUlejGiUDnkFy7m1HgktHHChKA/DQT6cipe WqTB+cRcaPwAiK56zq499EPuNfHqLi+3URMlsw+FekN8vcXyePiLXwPz9QdgfNs5/i+m wD4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vhAIipHO+m7PSgyeEztdns8sMS1ah/Ng1G9Fc0eikUA=; fh=E6D07cjD6GUQYhGTuP7Uz1BFVadO7McXqCcamQOzJpE=; b=Ur2daj4WsNRlIbNapEatLUchOQLoiQGqhw8lhb7JwO8I/uzDftmN8IKD9QykaB5oOr VxqFjlD68xX4rLp3C/dmViZz7VWOT3bTIQpLqA2kBuv1601LiIqObG0cwEF6r29PWieO eOuC5aoo5/X9fTS6SAIg1pNLHFSWluQ4h3Oi9WZA/PinPcZDwxTEth1t0R7Wh9aDZkPk LpkCYJaO7NTdEgi4n4Tq8QPIMuBz9FKln+1f4zv1pMVW0U0DVNqGjv7E9VhraZX4Dubk JRYeAAHNUSQCPv89BJmFu/S2jV6SVFoc+XJATp4T4P+prJy+J5kHWII8f2PYjtz4wjqq myOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ZtruPcUq; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-crypto+bounces-3649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x4-20020a50d604000000b0056e0a2f34e8si810385edi.629.2024.04.18.07.44.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:44:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ZtruPcUq; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-crypto+bounces-3649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9171A1F20F1D for ; Thu, 18 Apr 2024 14:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0571165FDF; Thu, 18 Apr 2024 14:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="ZtruPcUq" X-Original-To: linux-crypto@vger.kernel.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2230165FB0; Thu, 18 Apr 2024 14:44:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713451476; cv=none; b=Ay89gUnGg+eIY1l7xWMWZei4JF6/o/OmC1y3alRPW0RnDvcaMeYKtaXeWZkfYXPqwSIORWXLaAhPu1Sqw6JnjkxIRWCA7h1I8/Mg7VlzMwCPO6v8Hz8kld7W26Lff0lZN8u1gi12ArKcIR92zDrQNEEEZ1uUmZsUxZdGem6iWS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713451476; c=relaxed/simple; bh=UIezYAfelGoCLrej/SHQHu9Cudpg7wVfZ/TNzIFOnxI=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=itRRCXUSH9q+tDlniQ5dl70aNdMKO5o9yVYj5a0Ji7SgPIzPNqSotHSwM//ZQ74ujKXS9YSoAHS0+uzBvJpOAUzcCqPwJOcwRbtkG1ZXGR1C+OQj3BGCLQ8qLRg56dNbm9WT8H5ptDXGk3xCjZ5Kdb5kxHU3TEyfqY+g9L3+0Go= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=ZtruPcUq; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43IE6PO6030179; Thu, 18 Apr 2024 16:44:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=selector1; bh=vhAIipHO+m7PSgyeEztd ns8sMS1ah/Ng1G9Fc0eikUA=; b=ZtruPcUqXI8KB/V93yloOv7dlzaouJZyraYT sxfBYYIfb95wVhckrTuq/Y1ttHalUl9YciCN9LPyzHiz8jjQ5gUwf5AdqCCU1xLP 5Zk8GstFdCE39aGAdPoe+P92c+Cpr7qeo6gzmodHdxCIzrKB+l7YuBkokUpsubAR 0C+xeB87nTNaxgNGo7GWbPQOlKrK+UVDZXyqJbvWP8iYQZzFwnf0UCsm5uYHBxil vSQP34UfcreRf/IMsIwgPUv5DKZtQTyAdhZNCbuXsgbBhOTHG5/ebPzwkAxpJadM akj/TBv12HAoy0sRWyIIpQk0nZduW8CihbwicLUoqlBsppjtKw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3xgecym5dv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Apr 2024 16:44:02 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 248FE40044; Thu, 18 Apr 2024 16:43:41 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 37A4621ED2A; Thu, 18 Apr 2024 16:43:01 +0200 (CEST) Received: from localhost (10.48.86.103) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Apr 2024 16:43:00 +0200 From: Maxime MERE To: Herbert Xu , "David S . Miller" , Maxime Coquelin , Alexandre Torgue CC: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , , , , Subject: [PATCH 0/3] crypto: stm32/cryp - Improve stm32-cryp driver Date: Thu, 18 Apr 2024 16:42:53 +0200 Message-ID: <20240418144256.3736800-1-maxime.mere@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-18_12,2024-04-17_01,2023-05-22_02 From: Maxime Méré This series of patches mainly aims to improve the usage of DMA with the CRYP peripheral of the STM32 MPU series. The other two patches are needed to enhance the driver's visibility for ST platforms. Maxime Méré (3): crypto: stm32/cryp - use dma when possible. crypto: stm32/cryp - increase priority crypto: stm32/cryp - add CRYPTO_ALG_KERN_DRIVER_ONLY flag drivers/crypto/stm32/stm32-cryp.c | 722 ++++++++++++++++++++++++++++-- 1 file changed, 678 insertions(+), 44 deletions(-) -- 2.25.1