Message ID | 20230724065230.83017-1-meenakshi.aggarwal@nxp.com |
---|---|
Headers | show
Return-Path: <linux-crypto-owner@vger.kernel.org> 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 39068C0015E for <linux-crypto@archiver.kernel.org>; Mon, 24 Jul 2023 06:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229821AbjGXGwz (ORCPT <rfc822;linux-crypto@archiver.kernel.org>); Mon, 24 Jul 2023 02:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbjGXGwy (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Mon, 24 Jul 2023 02:52:54 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2081.outbound.protection.outlook.com [40.107.6.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA0812A; Sun, 23 Jul 2023 23:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H3SS1w8AavPO2Axe4pt3B6edsyZ6iGGEP2s60/Bn1EEohemXfZC2UKV2yb/KLoRaY1GkTW7DxEBLvUh2c/sZ0IWsCwbXDXBT/YjzhVYuddzgifYyzHtoVLB1j0OCM+zh/GC1em7wbbqEkWC8E+NV/tcfauue15qe3I0HW58geAPt7+D3C57n+jbY6d3Dj5a8igkcB9P8uBrlQ2/g12neBd9B38pLezqzas+Pfmt/4ax4GD5NY4j5hKu/9DBFhtWFsHC0hKHxFUEpoyI9rXTpAb/E977HA6Bxz/1cC7NHKzsO3Scb4KZcfn2GU0o04wfuLbSDz4hj7m/V9WFRNp6ZOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=54yKY+C8k4Miq8KeOUe7T2DpFtEBFBtlGA/kLMZHRvQ=; b=GXtTgC7ciErV5c11Jd1fl0YJwIatGjARQpbZqNYFFAM945dbvYHmI66hvwN3TQ/Gnad5Ls1Fi8kXmtq7PfL1/YZMkCX0FmOhpa+KIuvxYrEF5Vcc2CrIz9/cGlh+xVHd7R9JAOL0fB481iNWP3YzM0jPJBeJDc4h6DwCNHqiJzZQDo9aLFQCiW48flfNYXlubnyhtfrzXBorfyQsSsldiK+yG/4lqR9umQSThBlBnxuR4/8/g72qgP+x2oES0QCX/JBN1AZNlMjF74/QThBZQrXhvZSVazy12CIxXUZdqga3MnrzyLC7snVti90oDbML62+vyiD3QGSmCg9SN7XNgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=54yKY+C8k4Miq8KeOUe7T2DpFtEBFBtlGA/kLMZHRvQ=; b=cKnK/J7wf6VrmIfjfkaApmlbxETolVwxGPP8CZ3IxYXeZJxxzSdUOrn+Jc6FEAZdhcCJC8pc+2lMiF5jekC3LTrDr2jzg/SAGqP23yQQ75TCLU00al6A251Rxc+q+q8OJTeG4jOkSdlOlDTk7pJs921zHaRHm58fN2dsY6em5tQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9563.eurprd04.prod.outlook.com (2603:10a6:10:314::7) by AS4PR04MB9266.eurprd04.prod.outlook.com (2603:10a6:20b:4e1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 06:52:44 +0000 Received: from DU0PR04MB9563.eurprd04.prod.outlook.com ([fe80::15ed:8451:b0a2:ec64]) by DU0PR04MB9563.eurprd04.prod.outlook.com ([fe80::15ed:8451:b0a2:ec64%4]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 06:52:44 +0000 From: meenakshi.aggarwal@nxp.com To: horia.geanta@nxp.com, V.sethi@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Subject: [PATCH v2 0/2] Add power management support in CAAM driver Date: Mon, 24 Jul 2023 08:52:28 +0200 Message-Id: <20230724065230.83017-1-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230712060728.3562376-1-meenakshi.aggarwal@nxp.com> References: <20230712060728.3562376-1-meenakshi.aggarwal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PR1P264CA0024.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19f::11) To DU0PR04MB9563.eurprd04.prod.outlook.com (2603:10a6:10:314::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9563:EE_|AS4PR04MB9266:EE_ X-MS-Office365-Filtering-Correlation-Id: 02e770ec-3c2e-44c8-1c26-08db8c129535 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oIhLaWXFPMPVRdhZFe+Wle2eMKQbh629qt8m0JZn76JGkqJQxS7Qn+jvl4X625iReZLOY6tb96Ef5EdwotjSwZ0pObAU75hmizdQN/Mqlx3sYZMunW/eEld+fcb5xndD96kWLzuJrs6RB8maHt/Vk+XPzI3+2qD1ggiclGjFMB700W/QPox4KVsJPK5qDjBGMC6fvft9Rt7xNeNy/8zwm3dV2VxG0Q8dWsLeGURwQbi4/VvUWp0oiO1pTlJ+5oKBlAeGUWY5YIDvW2Bw8O6jJI/1OVP4xNA4RvSf5SLCcsszGHTstxAT0AbyblV+ktE7i5NFYIFJjLKslbI9oC/oR/cEQCt+uFV8ENL/cDm3y0JMz6I+ve73fVnuFNJQbW1CuUYZD2Jy1ZCX4h3F/DgmT2qY3d7y0ZhAw6bPyNQcBzdhA0UdCatKBWbtZl4dh5pdpH0DLI70W/JBc9qAtOw6Mcyuoij6M2bON4GYJyAUwNAGawT2QXt2qlJ58Qb/O8DTDuxDOCC/CNxsqMKdocn90tmH75SSYvt0N+9VFk+GaSGI2W2mmJgk5xTU7VYx6uT7o2IPhNgsQ9SvUjmqIVYVyT/9LlZtD+m8g2ECLsnzyhKM2UOIjq+lABkP2HI9xTdi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9563.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(451199021)(36756003)(5660300002)(26005)(6506007)(186003)(1076003)(4743002)(66476007)(4326008)(316002)(66946007)(66556008)(41300700001)(52116002)(6486002)(2616005)(9686003)(4744005)(2906002)(6512007)(6666004)(8676002)(478600001)(8936002)(83380400001)(86362001)(38350700002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?e80IDmeTAwq4kL+RICoajWamNBXO?= =?utf-8?q?ZVtICTHr4kkn4kQB5i69LU9hXA31SO7cFnv5C+ej++1S/w8niK99UqItQ+20t1Bjl?= =?utf-8?q?YH9cBJsSh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bQcAT9VbAxagr4hx23AMI8DuzFsHcvpDTpvWKauIzUO9kCGGPmuJtr?= =?utf-8?q?0+0r1tbrrAjkQSjFekza3IDrHh10vSPsNUavLyDZY91orYTnI8Oun51654EPNrSHm?= =?utf-8?q?5GR6wLqyUIaRFSz/ud0SD/Uyf0kUpdoaFz9u6xgaFVhIlZ7BIlA6QbTox5Vdk3WZS?= =?utf-8?q?iC9c+8oxbE31eAFbYPVAph+9jYZ3Z64/p/LEuyZAIgM15Tt21ct8zArgX57U/sIto?= =?utf-8?q?nMPN8JXeXGP7d+6/PATy4UcMMYeAs6NsJ7IkmLQo0GGBU/Kdnimsl0zQqHB7wJM8L?= =?utf-8?q?VRB18/Q9AM50HYd5LPIuQo/6d/w78cld/4Zbl/XezBe2q0lwEOKmuAL2ZgKpJykt7?= =?utf-8?q?76DqzQ5dZwgUMwxQcPPglNcA5ifeUj0hWWpuS9GLJlEaHLAbHRA3cJwofBqdp557I?= =?utf-8?q?9ZeJ2e7GH2JrOmQ60Lz5ltMzFYhfaWxW9fgpgkxkFft4S+4uLoZH66xj5IfOS2hTp?= =?utf-8?q?6+VzDMQyFppKMmUQbMsVPsDwm+/IVQtMS1c2LObYhuxsytta7TnNKDrZv8MEFWrjP?= =?utf-8?q?ThluCkiAYykwYQBtXNadaLvne96XcuhOgw=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02e770ec-3c2e-44c8-1c26-08db8c129535 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9563.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 06:52:44.5730 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4KNqEG/dtO6T44wgVnri4bsgupLdMjfux2MbLBjUG/i0fHNT80xouLCvif9sbeCJKCqh+X7utiUlejdnMo450veuEYyEFAPRhCctJYNqzS4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9266 Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
Add power management support in CAAM driver
|
expand
|
On Mon, Jul 24, 2023 at 08:52:28AM +0200, meenakshi.aggarwal@nxp.com wrote: > From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> > > This patch set add support of Power Management in CAAM driver > > We are saving the state of the CAAM: > - JRs MID > - Address of input and output rings > in suspend function and getting same state in resume function > on platforms where power of CAAM is turned off. > > Changes in v2: > - not protecting PM code under macro CONFIG_PM_SLEEP > as CONFIG_PM_SLEEP is on by default > > Franck LENORMAND (1): > crypto: caam - Change structure type representing DECO MID > > Horia Geanta (1): > crypto: caam - add power management support > > drivers/crypto/caam/ctrl.c | 106 +++++++++++++++++++ > drivers/crypto/caam/intern.h | 25 ++++- > drivers/crypto/caam/jr.c | 193 +++++++++++++++++++++++++++++++---- > drivers/crypto/caam/regs.h | 9 +- > 4 files changed, 306 insertions(+), 27 deletions(-) > > -- > 2.25.1 All applied. Thanks.
From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> This patch set add support of Power Management in CAAM driver We are saving the state of the CAAM: - JRs MID - Address of input and output rings in suspend function and getting same state in resume function on platforms where power of CAAM is turned off. Changes in v2: - not protecting PM code under macro CONFIG_PM_SLEEP as CONFIG_PM_SLEEP is on by default Franck LENORMAND (1): crypto: caam - Change structure type representing DECO MID Horia Geanta (1): crypto: caam - add power management support drivers/crypto/caam/ctrl.c | 106 +++++++++++++++++++ drivers/crypto/caam/intern.h | 25 ++++- drivers/crypto/caam/jr.c | 193 +++++++++++++++++++++++++++++++---- drivers/crypto/caam/regs.h | 9 +- 4 files changed, 306 insertions(+), 27 deletions(-)