<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/crypto/cavium, branch v4.20</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: cavium/nitrox - use pci_alloc_irq_vectors() while enabling MSI-X.</title>
<updated>2018-10-05T02:22:48+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-29T08:19:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5155e118dda982342c2d21ecb292c8cc8b566e8d'/>
<id>5155e118dda982342c2d21ecb292c8cc8b566e8d</id>
<content type='text'>
replace pci_enable_msix_exact() with pci_alloc_irq_vectors(). get the
required vector count from pci_msix_vec_count().
use struct nitrox_q_vector as the argument to tasklets.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.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>
replace pci_enable_msix_exact() with pci_alloc_irq_vectors(). get the
required vector count from pci_msix_vec_count().
use struct nitrox_q_vector as the argument to tasklets.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - NITROX command queue changes.</title>
<updated>2018-10-05T02:22:48+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-29T08:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e7892dd6d8b0c9149ac2393b27f8913fa09227b5'/>
<id>e7892dd6d8b0c9149ac2393b27f8913fa09227b5</id>
<content type='text'>
Use node based allocations for queues. consider the dma address
alignment changes, while calculating the queue base address.
added checks in cleanup functions. Minor changes to queue variable names

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.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 node based allocations for queues. consider the dma address
alignment changes, while calculating the queue base address.
added checks in cleanup functions. Minor changes to queue variable names

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - use pcie_flr instead of duplicating it</title>
<updated>2018-10-05T02:22:48+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-29T08:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0b501e7a4fdc01b14930345b95c39b93f6472431'/>
<id>0b501e7a4fdc01b14930345b95c39b93f6472431</id>
<content type='text'>
check the flr capability using pcie_has_flr() and do the flr.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.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>
check the flr capability using pcie_has_flr() and do the flr.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - fix warnings while printing atomic64_t types</title>
<updated>2018-10-05T02:22:48+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-29T08:19:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=80e73c8ad6e923a9839ba45f820b1346aafc793a'/>
<id>80e73c8ad6e923a9839ba45f820b1346aafc793a</id>
<content type='text'>
fix compilation warnings with nitrox_debugfs.c while printing
atomic64_t types on arm64. typecast the atomic64_read() value to u64

This issue is reported by Ard Biesheuvel

drivers/crypto/cavium/nitrox/nitrox_debugfs.c:62:30:
warning: format ‘%lld’ expects argument of type ‘long long int’,
         but argument 3 has type ‘long int’ [-Wformat=]
  seq_printf(s, "  Posted: %lld\n", atomic64_read(&amp;ndev-&gt;stats.posted));
                              ^
Fixes: 2a8780be9c26 (crypto: cavium/nitrox - updated debugfs information)
Cc: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Reported-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.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>
fix compilation warnings with nitrox_debugfs.c while printing
atomic64_t types on arm64. typecast the atomic64_read() value to u64

This issue is reported by Ard Biesheuvel

drivers/crypto/cavium/nitrox/nitrox_debugfs.c:62:30:
warning: format ‘%lld’ expects argument of type ‘long long int’,
         but argument 3 has type ‘long int’ [-Wformat=]
  seq_printf(s, "  Posted: %lld\n", atomic64_read(&amp;ndev-&gt;stats.posted));
                              ^
Fixes: 2a8780be9c26 (crypto: cavium/nitrox - updated debugfs information)
Cc: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Reported-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium - remove redundant null pointer check before kfree</title>
<updated>2018-09-28T04:46:27+00:00</updated>
<author>
<name>zhong jiang</name>
<email>zhongjiang@huawei.com</email>
</author>
<published>2018-09-21T13:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=79517e8f8e6dddd2a90517123ffdb366828b69f5'/>
<id>79517e8f8e6dddd2a90517123ffdb366828b69f5</id>
<content type='text'>
kfree has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree.

Signed-off-by: zhong jiang &lt;zhongjiang@huawei.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>
kfree has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree.

Signed-off-by: zhong jiang &lt;zhongjiang@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - updated debugfs information.</title>
<updated>2018-09-28T04:46:26+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-21T11:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2a8780be9c26457b84d786f7ac9ed110625dde92'/>
<id>2a8780be9c26457b84d786f7ac9ed110625dde92</id>
<content type='text'>
Updated debugfs to provide device partname and frequency etc.
New file "stats" shows the number of requests posted, dropped and
completed.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.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>
Updated debugfs to provide device partname and frequency etc.
New file "stats" shows the number of requests posted, dropped and
completed.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - add support for per device request statistics.</title>
<updated>2018-09-28T04:46:26+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-21T11:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fec165c947935b2b65fac3ee8081b4a5aa960872'/>
<id>fec165c947935b2b65fac3ee8081b4a5aa960872</id>
<content type='text'>
Add per device statistics like number of requests posted,
dropped and completed etc.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.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>
Add per device statistics like number of requests posted,
dropped and completed etc.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - added support to identify the NITROX device partname.</title>
<updated>2018-09-28T04:46:26+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-21T11:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=48e10548f82ea33e01ab8ed92dbcb9513463cb90'/>
<id>48e10548f82ea33e01ab8ed92dbcb9513463cb90</id>
<content type='text'>
Get the device partname based on it's capabilities like,
core frequency, number of cores and revision id.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.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>
Get the device partname based on it's capabilities like,
core frequency, number of cores and revision id.

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - use dma_pool_zalloc()</title>
<updated>2018-09-21T05:24:49+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-10T08:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=718f608c38319980e4130d0732acb7ee02fcf689'/>
<id>718f608c38319980e4130d0732acb7ee02fcf689</id>
<content type='text'>
use dma_pool_zalloc() instead of dma_pool_alloc with __GFP_ZERO flag.
crypto dma pool renamed to "nitrox-context".

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.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 dma_pool_zalloc() instead of dma_pool_alloc with __GFP_ZERO flag.
crypto dma pool renamed to "nitrox-context".

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: cavium/nitrox - Added support for SR-IOV configuration.</title>
<updated>2018-09-14T06:08:53+00:00</updated>
<author>
<name>Srikanth Jampala</name>
<email>Jampala.Srikanth@cavium.com</email>
</author>
<published>2018-09-07T07:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=41a9aca6a2f359866552b06f19096d7fb77818dd'/>
<id>41a9aca6a2f359866552b06f19096d7fb77818dd</id>
<content type='text'>
Added support to configure SR-IOV using sysfs interface.
Supported VF modes are 16, 32, 64 and 128. Grouped the
hardware configuration functions to "nitrox_hal.h" file.
Changed driver version to "1.1".

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.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>
Added support to configure SR-IOV using sysfs interface.
Supported VF modes are 16, 32, 64 and 128. Grouped the
hardware configuration functions to "nitrox_hal.h" file.
Changed driver version to "1.1".

Signed-off-by: Srikanth Jampala &lt;Jampala.Srikanth@cavium.com&gt;
Reviewed-by: Gadam Sreerama &lt;sgadam@cavium.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</pre>
</div>
</content>
</entry>
</feed>
