<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/crypto/s5p-sss.c, branch v4.1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>crypto: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:20:25+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2014-10-20T14:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5573bc03c63e4be7de501a91cca2acc5a44ec4dd'/>
<id>5573bc03c63e4be7de501a91cca2acc5a44ec4dd</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - fix multiplatform build</title>
<updated>2014-05-13T11:43:45+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2014-05-09T11:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=56b284461923e83daa0b622dcf0e34e264b733ef'/>
<id>56b284461923e83daa0b622dcf0e34e264b733ef</id>
<content type='text'>
As we are preparing to enable multiplatform support on EXYNOS,
we can no longer include mach/*.h or plat/*.h headers from device
drivers.

The s5p-sss driver was just enabled for EXYNOS when it used to
be used only on s5pv210, and it includes two samsung platform
specific header files for historic reasons. Fortunately, it no
longer actually needs them, so we can remove the #includes and
avoid the problem

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Cc: Tomasz Figa &lt;t.figa@samsung.com&gt;
Cc: &lt;linux-samsung-soc@vger.kernel.org&gt;
Cc: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Reviewed-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we are preparing to enable multiplatform support on EXYNOS,
we can no longer include mach/*.h or plat/*.h headers from device
drivers.

The s5p-sss driver was just enabled for EXYNOS when it used to
be used only on s5pv210, and it includes two samsung platform
specific header files for historic reasons. Fortunately, it no
longer actually needs them, so we can remove the #includes and
avoid the problem

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Cc: Tomasz Figa &lt;t.figa@samsung.com&gt;
Cc: &lt;linux-samsung-soc@vger.kernel.org&gt;
Cc: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Reviewed-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Look for the next request in the queue</title>
<updated>2014-05-08T13:58:15+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dc5e3f1953b8bbfa6a7e8854d352c7da007ec6d9'/>
<id>dc5e3f1953b8bbfa6a7e8854d352c7da007ec6d9</id>
<content type='text'>
Currently, the driver enqueues a request only if the busy bit is
false. And every request initiates a dequeue. If 2 requests arrive
simultaneously, only one of them will be dequeued.

To avoid this senario, we will enqueue the next request irrespective
of the system condition (that is what queue is here for). Also
schedule at a tasklet immediatly after the current request is done.
The tasklet will dequeue the next request in the queue, giving
continuous loop. tasklet will exit if there are no requests in the
queue.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, the driver enqueues a request only if the busy bit is
false. And every request initiates a dequeue. If 2 requests arrive
simultaneously, only one of them will be dequeued.

To avoid this senario, we will enqueue the next request irrespective
of the system condition (that is what queue is here for). Also
schedule at a tasklet immediatly after the current request is done.
The tasklet will dequeue the next request in the queue, giving
continuous loop. tasklet will exit if there are no requests in the
queue.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Use clk_prepare/clk_unprepare</title>
<updated>2014-05-08T13:58:15+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c1eb7ef2656b0bf176c0a699df4f8830fa09d9aa'/>
<id>c1eb7ef2656b0bf176c0a699df4f8830fa09d9aa</id>
<content type='text'>
This patch set adds use of clk_prepare/clk_unprepare as
required by generic clock framework.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch set adds use of clk_prepare/clk_unprepare as
required by generic clock framework.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - validate iv before memcpy</title>
<updated>2014-05-08T13:58:15+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8f9702aad13892cc50560f29adfa313da584636b'/>
<id>8f9702aad13892cc50560f29adfa313da584636b</id>
<content type='text'>
This patch adds code to validate "iv" buffer before trying to
memcpy the contents

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds code to validate "iv" buffer before trying to
memcpy the contents

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Add support for SSS module on Exynos</title>
<updated>2014-05-08T13:58:14+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=892451071de77a088a6227e36d3a2732d51c5b84'/>
<id>892451071de77a088a6227e36d3a2732d51c5b84</id>
<content type='text'>
This patch adds new compatible and variant struct to support the SSS
module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250)
for which
1. AES register are at an offset of 0x200 and
2. hash interrupt is not available

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds new compatible and variant struct to support the SSS
module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250)
for which
1. AES register are at an offset of 0x200 and
2. hash interrupt is not available

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Add device tree support</title>
<updated>2014-05-08T13:58:13+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6b9f16e6c2b712f724e6ca1538d18ea8a788dd90'/>
<id>6b9f16e6c2b712f724e6ca1538d18ea8a788dd90</id>
<content type='text'>
This patch adds device tree support to the s5p-sss.c crypto driver.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds device tree support to the s5p-sss.c crypto driver.

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Use platform_get_irq() instead of _byname()</title>
<updated>2014-05-08T13:58:12+00:00</updated>
<author>
<name>Naveen Krishna Chatradhi</name>
<email>ch.naveen@samsung.com</email>
</author>
<published>2014-05-08T13:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=96fc70b63c51199b96bee1b90c939fa75d611332'/>
<id>96fc70b63c51199b96bee1b90c939fa75d611332</id>
<content type='text'>
This patch uses the platform_get_irq() instead of the
platform_get_irq_byname(). Making feeder control interrupt
as resource "0" and hash interrupt as "1".

reasons for this change.
1. Cannot find any Arch which is currently using this driver
2. Samsung Exynos4 and 5 SoCs only use the feeder control interrupt
3. Patches adding support for DT and H/W version are in pipeline

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch uses the platform_get_irq() instead of the
platform_get_irq_byname(). Making feeder control interrupt
as resource "0" and hash interrupt as "1".

reasons for this change.
1. Cannot find any Arch which is currently using this driver
2. Samsung Exynos4 and 5 SoCs only use the feeder control interrupt
3. Patches adding support for DT and H/W version are in pipeline

Signed-off-by: Naveen Krishna Chatradhi &lt;ch.naveen@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
CC: David S. Miller &lt;davem@davemloft.net&gt;
CC: &lt;linux-samsung-soc@vger.kernel.org&gt;
Acked-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss - Use devm_ioremap_resource()</title>
<updated>2014-02-26T21:56:48+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-02-12T04:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0fdefe2c907610f3efb3163c8b72127007e282aa'/>
<id>0fdefe2c907610f3efb3163c8b72127007e282aa</id>
<content type='text'>
Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: s5p-sss: Remove redundant platform_set_drvdata()</title>
<updated>2013-05-24T09:55:28+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-03T09:18:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=612dde34f3f2d0341fefb914a40b512521ddc3d4'/>
<id>612dde34f3f2d0341fefb914a40b512521ddc3d4</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;
Cc: Vladimir Zapolskiy &lt;vzapolskiy@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
Cc: Vladimir Zapolskiy &lt;vzapolskiy@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
</feed>
