<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/marvell, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-04-08T12:05:37Z</updated>
<entry>
<title>crypto: octeontx2 - remove CONFIG_DM_CRYPT check</title>
<updated>2022-04-08T12:05:37Z</updated>
<author>
<name>Shijith Thotton</name>
</author>
<published>2022-01-28T13:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a462214866eebbca87e13ff6d73092b1c4895624'/>
<id>urn:sha1:a462214866eebbca87e13ff6d73092b1c4895624</id>
<content type='text'>
[ Upstream commit 2d841af23ae8f398c85dd1ff2dc24b5ec8ba4569 ]

No issues were found while using the driver with dm-crypt enabled. So
CONFIG_DM_CRYPT check in the driver can be removed.

This also fixes the NULL pointer dereference in driver release if
CONFIG_DM_CRYPT is enabled.

...
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
...
Call trace:
 crypto_unregister_alg+0x68/0xfc
 crypto_unregister_skciphers+0x44/0x60
 otx2_cpt_crypto_exit+0x100/0x1a0
 otx2_cptvf_remove+0xf8/0x200
 pci_device_remove+0x3c/0xd4
 __device_release_driver+0x188/0x234
 device_release_driver+0x2c/0x4c
...

Fixes: 6f03f0e8b6c8 ("crypto: octeontx2 - register with linux crypto framework")
Signed-off-by: Shijith Thotton &lt;sthotton@marvell.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - uninitialized variable in kvf_limits_store()</title>
<updated>2022-01-27T11:02:56Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-11-27T14:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76a01740ada1ed9149e4a6a9d2f3aa4409ca0d66'/>
<id>urn:sha1:76a01740ada1ed9149e4a6a9d2f3aa4409ca0d66</id>
<content type='text'>
commit 0ea275df84c389e910a3575a9233075118c173ee upstream.

If kstrtoint() fails then "lfs_num" is uninitialized and the warning
doesn't make any sense.  Just delete it.

Fixes: 8ec8015a3168 ("crypto: octeontx2 - add support to process the crypto request")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - prevent underflow in get_cores_bmap()</title>
<updated>2022-01-27T11:01:53Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-12-17T07:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3475ba69723575efb4b2ed0bb7157deb6485d0c9'/>
<id>urn:sha1:3475ba69723575efb4b2ed0bb7157deb6485d0c9</id>
<content type='text'>
[ Upstream commit 10371b6212bb682f13247733d6b76b91b2b80f9a ]

If we're going to cap "eng_grp-&gt;g-&gt;engs_num" upper bounds then we should
cap the lower bounds as well.

Fixes: 43ac0b824f1c ("crypto: octeontx2 - load microcode and create engine groups")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - set assoclen in aead_do_fallback()</title>
<updated>2021-10-15T10:45:34Z</updated>
<author>
<name>Ovidiu Panait</name>
</author>
<published>2021-10-10T16:36:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06f6e365e2ecf799c249bb464aa9d5f055e88b56'/>
<id>urn:sha1:06f6e365e2ecf799c249bb464aa9d5f055e88b56</id>
<content type='text'>
Currently, in case of aead fallback, no associated data info is set in the
fallback request. To fix this, call aead_request_set_ad() to pass the assoclen.

Fixes: 6f03f0e8b6c8 ("crypto: octeontx2 - register with linux crypto framework")
Signed-off-by: Ovidiu Panait &lt;ovidiu.panait@windriver.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: marvell/cesa - drop unneeded MODULE_ALIAS</title>
<updated>2021-09-24T08:03:04Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-09-16T17:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c5329697ed4e0e1bf9a4e4fc9f0053f2f58935d'/>
<id>urn:sha1:7c5329697ed4e0e1bf9a4e4fc9f0053f2f58935d</id>
<content type='text'>
The MODULE_DEVICE_TABLE already creates proper alias for platform
driver.  Having another MODULE_ALIAS causes the alias to be duplicated.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: marvell/cesa - change FPGA indirect article to an</title>
<updated>2021-06-17T07:07:30Z</updated>
<author>
<name>Tom Rix</name>
</author>
<published>2021-06-08T21:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f52c9aef27b0427ff4091f3d08095219e1046af'/>
<id>urn:sha1:3f52c9aef27b0427ff4091f3d08095219e1046af</id>
<content type='text'>
Change use of 'a fpga' to 'an fpga'

Signed-off-by: Tom Rix &lt;trix@redhat.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - enable and handle ME interrupts</title>
<updated>2021-06-03T12:24:05Z</updated>
<author>
<name>Srujana Challa</name>
</author>
<published>2021-05-25T11:27:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76c1f4e0efd8abeaa3c7789d10ef9c82d950bedd'/>
<id>urn:sha1:76c1f4e0efd8abeaa3c7789d10ef9c82d950bedd</id>
<content type='text'>
Adds master enable (ME) interrupt handler in PF. Upon
receiving ME interrupt for a VF, PF clears it's transaction
pending bit.

Signed-off-by: Srujana Challa &lt;schalla@marvell.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - add support for CPT operations on CN10K</title>
<updated>2021-06-03T12:24:05Z</updated>
<author>
<name>Srujana Challa</name>
</author>
<published>2021-05-25T11:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40a645f753b32346f1ab3953e769479561a19b8d'/>
<id>urn:sha1:40a645f753b32346f1ab3953e769479561a19b8d</id>
<content type='text'>
CPT result format had changed for CN10K HW to accommodate more
fields. This patch adds support to use new result format and
new LMTST lines for CPT operations on CN10K platform.

Signed-off-by: Srujana Challa &lt;schalla@marvell.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - add support to map LMTST region for CN10K</title>
<updated>2021-06-03T12:24:05Z</updated>
<author>
<name>Srujana Challa</name>
</author>
<published>2021-05-25T11:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb33cd9116b2f1d193352c77bd829b61b1249b00'/>
<id>urn:sha1:eb33cd9116b2f1d193352c77bd829b61b1249b00</id>
<content type='text'>
On CN10K platform transmit/receive buffer alloc and free from/to
hardware had changed to support burst operation. Whereas pervious
silicon's only support single buffer free at a time.
To Support the same firmware allocates a DRAM region for each PF/VF for
storing LMTLINES. These LMTLINES are used to send CPT commands to HW.
PF/VF LMTST region is accessed via BAR4. PFs LMTST region is followed
by its VFs mbox memory. The size of region varies from 2KB to 256KB
based on number of LMTLINES configured.

This patch adds support for mapping of PF/VF LMTST region.

Signed-off-by: Srujana Challa &lt;schalla@marvell.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - Add mailbox support for CN10K</title>
<updated>2021-06-03T12:24:05Z</updated>
<author>
<name>Srujana Challa</name>
</author>
<published>2021-05-25T11:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cd8c3152edeb0a580e0552317606a1f90bc59ab'/>
<id>urn:sha1:4cd8c3152edeb0a580e0552317606a1f90bc59ab</id>
<content type='text'>
Mailbox region configuration has some changes on CN10K platform
from OcteonTX2(CN9XX) platform.

On CN10K platform:
The DRAM region allocated to PF is enumerated as PF BAR4 memory.
PF BAR4 contains AF-PF mbox region followed by its VFs mbox region.
AF-PF mbox region base address is configured at RVU_AF_PFX_BAR4_ADDR
PF-VF mailbox base address is configured at
RVU_PF(x)_VF_MBOX_ADDR = RVU_AF_PF()_BAR4_ADDR+64KB. PF access its
mbox region via BAR4, whereas VF accesses PF-VF DRAM mailboxes via
BAR2 indirect access.

On CN9XX platform:
Mailbox region in DRAM is divided into two parts AF-PF mbox region and
PF-VF mbox region i.e all PFs mbox region is contiguous similarly all
VFs.
The base address of the AF-PF mbox region is configured at
RVU_AF_PF_BAR4_ADDR.
AF-PF1 mbox address can be calculated as RVU_AF_PF_BAR4_ADDR * mbox
size.

This patch changes mbox initialization to support both CN9XX and CN10K
platform.
This patch also removes platform specific name from the PF/VF driver name
to make it appropriate for all supported platforms.

Signed-off-by: Srujana Challa &lt;schalla@marvell.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
