Re: [PATCH v6 12/14] crypto: caam - force DMA address to 32-bit on 64-bit i.MX SoCs

2019-08-13 Thread Andrey Smirnov
On Tue, Aug 13, 2019 at 6:38 AM Horia Geanta wrote: > > On 8/12/2019 10:27 PM, Andrey Smirnov wrote: > > On Mon, Aug 5, 2019 at 1:23 AM Horia Geanta wrote: > >> > >> On 7/17/2019 6:25 PM, Andrey Smirnov wrote: > >>> @@ -603,11 +603,13 @@ static int caam_probe(struct platform_device *pdev) > >>>

Re: [PATCH v6 12/14] crypto: caam - force DMA address to 32-bit on 64-bit i.MX SoCs

2019-08-13 Thread Horia Geanta
On 8/12/2019 10:27 PM, Andrey Smirnov wrote: > On Mon, Aug 5, 2019 at 1:23 AM Horia Geanta wrote: >> >> On 7/17/2019 6:25 PM, Andrey Smirnov wrote: >>> @@ -603,11 +603,13 @@ static int caam_probe(struct platform_device *pdev) >>> ret = init_clocks(dev, ctrlpriv, imx_soc_match->data);

Re: [PATCH v6 12/14] crypto: caam - force DMA address to 32-bit on 64-bit i.MX SoCs

2019-08-12 Thread Andrey Smirnov
On Mon, Aug 5, 2019 at 1:23 AM Horia Geanta wrote: > > On 7/17/2019 6:25 PM, Andrey Smirnov wrote: > > i.MX8 SoC still use 32-bit addresses in its CAAM implmentation, so > i.MX8 SoC or i.MX8 mScale? > Looking at the documentation, some i.MX8 parts (for e.g. QM and QXP) > allow for 36-bit addresses

Re: [PATCH v6 12/14] crypto: caam - force DMA address to 32-bit on 64-bit i.MX SoCs

2019-08-05 Thread Horia Geanta
On 7/17/2019 6:25 PM, Andrey Smirnov wrote: > i.MX8 SoC still use 32-bit addresses in its CAAM implmentation, so i.MX8 SoC or i.MX8 mScale? Looking at the documentation, some i.MX8 parts (for e.g. QM and QXP) allow for 36-bit addresses. > change all of the code to be able to handle that. > Should

[PATCH v6 12/14] crypto: caam - force DMA address to 32-bit on 64-bit i.MX SoCs

2019-07-17 Thread Andrey Smirnov
i.MX8 SoC still use 32-bit addresses in its CAAM implmentation, so change all of the code to be able to handle that. Signed-off-by: Andrey Smirnov Cc: Chris Spencer Cc: Cory Tusar Cc: Chris Healy Cc: Lucas Stach Cc: Horia Geantă Cc: Aymen Sghaier Cc: Leonard Crestez Cc: linux-crypto@vger.k