<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/crypto/hisilicon, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-20T05:54:45Z</updated>
<entry>
<title>crypto: hisilicon/sec - delete the flag CRYPTO_ALG_ALLOCATES_MEMORY</title>
<updated>2022-05-20T05:54:45Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-05-13T08:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2d33f5771b513f7dfb819563d4b38b687f2a4982'/>
<id>urn:sha1:2d33f5771b513f7dfb819563d4b38b687f2a4982</id>
<content type='text'>
Should not to uses the CRYPTO_ALG_ALLOCATES_MEMORY in SEC2. The SEC2
driver uses the pre-allocated buffers, including the src sgl pool, dst
sgl pool and other qp ctx resources. (e.g. IV buffer, mac buffer, key
buffer). The SEC2 driver doesn't allocate memory during request processing.
The driver only maps software sgl to allocated hardware sgl during I/O. So
here is fix it.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/sec - add sm4 generic selection</title>
<updated>2022-05-06T10:16:55Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-26T11:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fdbf5e46e7af5b13ee9df35f2ea62484591c4341'/>
<id>urn:sha1:fdbf5e46e7af5b13ee9df35f2ea62484591c4341</id>
<content type='text'>
Add sm4 generic selection for fallback tfm in the Kconfig.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - remove hisi_qm_get_free_qp_num()</title>
<updated>2022-04-21T09:53:56Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2022-04-16T10:45:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b0c42232fce499ba96fbf2c5ebd2368efeb6597e'/>
<id>urn:sha1:b0c42232fce499ba96fbf2c5ebd2368efeb6597e</id>
<content type='text'>
hisi_qm_get_free_qp_num() is to get the free queue number on the function.
It is a simple function and is only called by
hisi_qm_get_available_instances().

This patch modifies to get the free queue directly in
hisi_qm_get_available_instances(), and remove hisi_qm_get_free_qp_num().

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - replace hisi_qm_release_qp() with hisi_qm_free_qps()</title>
<updated>2022-04-21T09:53:56Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2022-04-16T10:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7982996c5b0812cbf7846deff0e2f5dcbf290129'/>
<id>urn:sha1:7982996c5b0812cbf7846deff0e2f5dcbf290129</id>
<content type='text'>
hisi_qm_free_qps() can release multiple queues in one call, and it is
already exported. So, replace hisi_qm_release_qp() with hisi_qm_free_qps()
in zip_crypto.c, and do not export hisi_qm_release_qp() outside qm.c.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - set function with static</title>
<updated>2022-04-21T09:53:56Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2022-04-16T10:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fb06eb9727d67eac16e6b6aff35362476389cb88'/>
<id>urn:sha1:fb06eb9727d67eac16e6b6aff35362476389cb88</id>
<content type='text'>
These functions 'hisi_qm_create_qp' and 'hisi_qm_set_vft' are not
used outside qm.c, so they are marked as static.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/sgl - align the hardware sgl dma address</title>
<updated>2022-04-15T08:34:30Z</updated>
<author>
<name>Yang Shen</name>
<email>shenyang39@huawei.com</email>
</author>
<published>2022-04-09T09:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=948e35f13181a8ee85ca5b8cf50248746dfc6291'/>
<id>urn:sha1:948e35f13181a8ee85ca5b8cf50248746dfc6291</id>
<content type='text'>
The hardware needs aligned sgl dma address. So expend the sgl_size to
align 64 bytes.

Signed-off-by: Yang Shen &lt;shenyang39@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/zip - support last word dumping</title>
<updated>2022-04-15T08:34:29Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-09T08:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5bfabd50c6fa7fe817e492091fa9428a9202a045'/>
<id>urn:sha1:5bfabd50c6fa7fe817e492091fa9428a9202a045</id>
<content type='text'>
1. Add some debugging registers.
2. Add last word dumping function during zip engine controller reset.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/hpre - support last word dumping</title>
<updated>2022-04-15T08:34:29Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-09T08:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=42123e81fdba56ce5712a1f5d39a600c4d44ddad'/>
<id>urn:sha1:42123e81fdba56ce5712a1f5d39a600c4d44ddad</id>
<content type='text'>
1. Add some debugging registers.
2. Add last word dumping function during hpre engine controller reset.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/sec - support last word dumping</title>
<updated>2022-04-15T08:34:29Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-09T08:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8a88d0914529f3558bb160cb862ef4daafebb7b4'/>
<id>urn:sha1:8a88d0914529f3558bb160cb862ef4daafebb7b4</id>
<content type='text'>
Add last word dumping function during sec engine controller reset.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - add last word dumping for ACC</title>
<updated>2022-04-15T08:34:29Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-09T08:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a888ccd6c66683a49977ba6a2b91fe52fbec9367'/>
<id>urn:sha1:a888ccd6c66683a49977ba6a2b91fe52fbec9367</id>
<content type='text'>
Add last word dumping function during acc engines controller reset.
The last words are reported to the printed information during the
reset. The dmesg information included qm debugging registers and
engine debugging registers. It can help to improve debugging
capability.

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
