Re: [PATCH] crypto: mxs-dcp: Optimize hashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 03, 2014 at 01:40:30PM +0100, Marek Vasut wrote:
> Optimize the hashing operation in the MXS-DCP by doing two adjustments:
> 1) Given that the output buffer for the hash is now always correctly aligned,
>    we can just use the buffer for the DCP DMA to store the resulting hash.
>    We thus get rid of one copying of data. Moreover, we remove an entry from
>    dcp_coherent_block{} and thus lower the memory footprint of the driver.
> 2) We map the output buffer for the hash for DMA only in case we will output
>    the hash, not always, as it was now.
> 
> Signed-off-by: Marek Vasut <marex@xxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Cc: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
> Cc: Tom Lendacky <thomas.lendacky@xxxxxxx>

Patch applied.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux