<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/crypto/dcp.c, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2014-01-05T12:49:52+00:00</updated>
<entry>
<title>crypto: mxs - Remove the old DCP driver</title>
<updated>2014-01-05T12:49:52+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2013-12-10T19:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c493c04403769d833864ad5be2ff64dee7567ca7'/>
<id>urn:sha1:c493c04403769d833864ad5be2ff64dee7567ca7</id>
<content type='text'>
Remove the old DCP driver as it had multiple severe issues. The driver
will be replaced by a more robust implementation. Here is a short list
of problems with this driver:

1) It only supports AES_CBC
2) The driver was apparently never ran behind anyone working with MXS. ie.:
   -&gt; Restarting the DCP block is not done via mxs_reset_block()
   -&gt; The DT name is not "fsl,dcp" or "fsl,mxs-dcp" as other MXS drivers
3) Introduces new ad-hoc IOCTLs
4) The IRQ handler can't use usual completion() in the driver because that'd
   trigger "scheduling while atomic" oops, yes?

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Check the return value from devm_ioremap_resource()</title>
<updated>2013-10-07T06:16:54+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-09-23T21:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ac1ed0c0e1a3b52cac89aae92ebc55fd4c19be77'/>
<id>urn:sha1:ac1ed0c0e1a3b52cac89aae92ebc55fd4c19be77</id>
<content type='text'>
devm_ioremap_resource() may fail, so better check its return value and propagate
it in the case of error.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Fix the path for releasing the resources</title>
<updated>2013-09-23T20:02:25+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-09-22T17:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48e6dc1b2a1ad8186d48968d5018912bdacac744'/>
<id>urn:sha1:48e6dc1b2a1ad8186d48968d5018912bdacac744</id>
<content type='text'>
tasklet_kill() is not being called in probe and the remove function releases
the resources in the wrong order.

Fix these issues.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Use devm_request_irq()</title>
<updated>2013-09-23T20:02:25+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-09-22T17:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0ff647551b4282eee90a6d944c9fccde07845db4'/>
<id>urn:sha1:0ff647551b4282eee90a6d944c9fccde07845db4</id>
<content type='text'>
Using Use devm_request_irq() can make the code smaller and simpler, as we do
not need to call free_irq() in the probe error path and in the remove function.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Use devm_ioremap_resource()</title>
<updated>2013-09-23T20:02:24+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-09-22T17:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05a27928f37b31ea8b844e3b0c623d7f46451145'/>
<id>urn:sha1:05a27928f37b31ea8b844e3b0c623d7f46451145</id>
<content type='text'>
Using devm_ioremap_resource() can make the code simpler and smaller.

When devm_ioremap_resource() is used there is no need to explicitely check the
error returned by platform_get_resource().

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Staticize local symbols</title>
<updated>2013-06-05T08:43:08+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-29T11:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9a733019aa46c37db6ef4686d23a4f5cdbf6fd90'/>
<id>urn:sha1:9a733019aa46c37db6ef4686d23a4f5cdbf6fd90</id>
<content type='text'>
These symbols are referenced only in this file and hence
should be static.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Tested-by: Tobias Rauter &lt;tobiasrauter@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Use NULL instead of 0</title>
<updated>2013-06-05T08:43:08+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-29T11:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c2415471702e29a1a39a2e8b46996ecc0f95788c'/>
<id>urn:sha1:c2415471702e29a1a39a2e8b46996ecc0f95788c</id>
<content type='text'>
Use NULL instead of 0 for pointer variables.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Tested-by: Tobias Rauter &lt;tobiasrauter@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Use devm_* APIs</title>
<updated>2013-06-05T08:43:07+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-29T11:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631'/>
<id>urn:sha1:0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631</id>
<content type='text'>
devm_* APIs are device managed and make cleanup and exit
code simpler.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Tested-by: Tobias Rauter &lt;tobiasrauter@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Remove redundant platform_set_drvdata()</title>
<updated>2013-06-05T08:43:07+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-29T11:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d6dfd683e6b196db4cf92cf226c9f63ee66a5eb1'/>
<id>urn:sha1:d6dfd683e6b196db4cf92cf226c9f63ee66a5eb1</id>
<content type='text'>
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Tested-by: Tobias Rauter &lt;tobiasrauter@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: dcp - Added support for Freescale's DCP co-processor</title>
<updated>2013-05-28T07:43:03+00:00</updated>
<author>
<name>Tobias Rauter</name>
<email>tobiasrauter@gmail.com</email>
</author>
<published>2013-05-19T19:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=519d8b1a9d81be7e4ffad8aa6b0e3ea03984bb86'/>
<id>urn:sha1:519d8b1a9d81be7e4ffad8aa6b0e3ea03984bb86</id>
<content type='text'>
This patch enables the DCP crypto functionality on imx28.
Currently, only aes-128-cbc is supported.
Moreover, the dcpboot misc-device, which is used by Freescale's
SDK tools and uses a non-software-readable OTP-key, is added.

Changes of v2:
- ring buffer for hardware-descriptors
- use of ablkcipher walk
- OTP key encryption/decryption via misc-device
  (compatible to Freescale-SDK)
- overall cleanup

The DCP is also capable of sha1/sha256 but I won't be able to add
that anytime soon.
Tested with built-in runtime-self-test, tcrypt and openssl via
cryptodev 1.6 on imx28-evk and a custom built imx28-board.

Signed-off-by: Tobias Rauter &lt;tobias.rauter@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
