mbox series

[0/2] Add power management support in CAAM driver

Message ID 20230712060728.3562376-1-meenakshi.aggarwal@nxp.com
Headers show
Series Add power management support in CAAM driver | expand

Message

Meenakshi Aggarwal July 12, 2023, 6:07 a.m. UTC
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.

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   | 114 ++++++++++++++++++++
 drivers/crypto/caam/intern.h |  33 +++++-
 drivers/crypto/caam/jr.c     | 199 +++++++++++++++++++++++++++++++----
 drivers/crypto/caam/regs.h   |   9 +-
 4 files changed, 328 insertions(+), 27 deletions(-)

Comments

Gaurav Jain July 17, 2023, 5:41 a.m. UTC | #1
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>

> -----Original Message-----
> From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
> Sent: Wednesday, July 12, 2023 11:37 AM
> To: Horia Geanta <horia.geanta@nxp.com>; Varun Sethi <V.Sethi@nxp.com>;
> Pankaj Gupta <pankaj.gupta@nxp.com>; Gaurav Jain <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 0/2] Add power management support in CAAM driver
> 
> 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.
> 
> 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   | 114 ++++++++++++++++++++
>  drivers/crypto/caam/intern.h |  33 +++++-
>  drivers/crypto/caam/jr.c     | 199 +++++++++++++++++++++++++++++++----
>  drivers/crypto/caam/regs.h   |   9 +-
>  4 files changed, 328 insertions(+), 27 deletions(-)
> 
> --
> 2.25.1