lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR04MB6013AAED1583FCEAE4FE6040E73BA@VI1PR04MB6013.eurprd04.prod.outlook.com>
Date:   Mon, 17 Jul 2023 05:42:01 +0000
From:   Gaurav Jain <gaurav.jain@....com>
To:     Meenakshi Aggarwal <meenakshi.aggarwal@....com>,
        Horia Geanta <horia.geanta@....com>,
        Varun Sethi <V.Sethi@....com>,
        Pankaj Gupta <pankaj.gupta@....com>,
        "herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     Franck Lenormand <franck.lenormand@....com>
Subject: RE: [PATCH 1/2] crypto: caam - Change structure type representing
 DECO MID

Reviewed-by: Gaurav Jain <gaurav.jain@....com>

> -----Original Message-----
> From: Meenakshi Aggarwal <meenakshi.aggarwal@....com>
> Sent: Wednesday, July 12, 2023 11:37 AM
> To: Horia Geanta <horia.geanta@....com>; Varun Sethi <V.Sethi@....com>;
> Pankaj Gupta <pankaj.gupta@....com>; Gaurav Jain <gaurav.jain@....com>;
> herbert@...dor.apana.org.au; davem@...emloft.net; linux-
> crypto@...r.kernel.org; linux-kernel@...r.kernel.org
> Cc: Franck Lenormand <franck.lenormand@....com>; Meenakshi Aggarwal
> <meenakshi.aggarwal@....com>
> Subject: [PATCH 1/2] crypto: caam - Change structure type representing DECO
> MID
> 
> From: Franck LENORMAND <franck.lenormand@....com>
> 
> The structure partid is not suitable to represent the DECO MID register.
> 
> This patch replace partid by masterid which is more appropriate.
> 
> Signed-off-by: Franck LENORMAND <franck.lenormand@....com>
> Signed-off-by: Horia Geantă <horia.geanta@....com>
> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@....com>
> ---
>  drivers/crypto/caam/regs.h | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index
> 189e74c21f0c..0f87bd365582 100644
> --- a/drivers/crypto/caam/regs.h
> +++ b/drivers/crypto/caam/regs.h
> @@ -459,12 +459,6 @@ struct masterid {
>  	u32 liodn_ls;	/* LIODN for non-sequence and seq access */
>  };
> 
> -/* Partition ID for DMA configuration */ -struct partid {
> -	u32 rsvd1;
> -	u32 pidr;	/* partition ID, DECO */
> -};
> -
>  /* RNGB test mode (replicated twice in some configurations) */
>  /* Padded out to 0x100 */
>  struct rngtst {
> @@ -590,7 +584,7 @@ struct caam_ctrl {
>  	u32 deco_rsr;			/* DECORSR - Deco Request Source */
>  	u32 rsvd11;
>  	u32 deco_rq;			/* DECORR - DECO Request */
> -	struct partid deco_mid[5];	/* DECOxLIODNR - 1 per DECO */
> +	struct masterid deco_mid[5];	/* DECOxLIODNR - 1 per DECO */
>  	u32 rsvd5[22];
> 
>  	/* DECO Availability/Reset Section			120-3ff */
> --
> 2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ