<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/hisilicon, branch linux-5.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-29T09:08:19Z</updated>
<entry>
<title>crypto: hisilicon - fixed memory allocation error</title>
<updated>2020-10-29T09:08:19Z</updated>
<author>
<name>Longfang Liu</name>
</author>
<published>2020-09-10T11:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75d927fc55874b3098d6be8be0b4790a490bbe8f'/>
<id>urn:sha1:75d927fc55874b3098d6be8be0b4790a490bbe8f</id>
<content type='text'>
[ Upstream commit 24efcec2919afa7d56f848c83a605b46c8042a53 ]

1. Fix the bug of 'mac' memory leak as allocating 'pbuf' failing.
2. Fix the bug of 'qps' leak as allocating 'qp_ctx' failing.

Signed-off-by: Longfang Liu &lt;liulongfang@huawei.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: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified</title>
<updated>2020-08-19T06:27:02Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2020-06-17T13:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a256a5c33ab3608c20e3cb8406fb98805266e02d'/>
<id>urn:sha1:a256a5c33ab3608c20e3cb8406fb98805266e02d</id>
<content type='text'>
commit 5ead051780404b5cb22147170acadd1994dc3236 upstream.

There is this call chain:
sec_alg_skcipher_encrypt -&gt; sec_alg_skcipher_crypto -&gt;
sec_alg_alloc_and_calc_split_sizes -&gt; kcalloc
where we call sleeping allocator function even if CRYPTO_TFM_REQ_MAY_SLEEP
was not specified.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Cc: stable@vger.kernel.org	# v4.19+
Fixes: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver")
Acked-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.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: hisilicon - Cap block size at 2^31</title>
<updated>2020-06-15T07:38:53Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2020-06-04T07:37:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c61e5644c69775ae9d54b86018fca238aca64a9b'/>
<id>urn:sha1:c61e5644c69775ae9d54b86018fca238aca64a9b</id>
<content type='text'>
The function hisi_acc_create_sg_pool may allocate a block of
memory of size PAGE_SIZE * 2^(MAX_ORDER - 1).  This value may
exceed 2^31 on ia64, which would overflow the u32.

This patch caps it at 2^31.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Fixes: d8ac7b85236b ("crypto: hisilicon - fix large sgl memory...")
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - fix driver compatibility issue with different versions of devices</title>
<updated>2020-05-28T07:27:52Z</updated>
<author>
<name>Weili Qian</name>
</author>
<published>2020-05-20T09:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58ca0060ec4e51208d2eee12198fc55fd9e4feb3'/>
<id>urn:sha1:58ca0060ec4e51208d2eee12198fc55fd9e4feb3</id>
<content type='text'>
In order to be compatible with devices of different versions, V1 in the
accelerator driver is now isolated, and other versions are the previous
V2 processing flow.

Signed-off-by: Weili Qian &lt;qianweili@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - change debugfs file name from qm_regs to regs</title>
<updated>2020-05-22T14:08:23Z</updated>
<author>
<name>Shukun Tan</name>
</author>
<published>2020-05-15T09:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=988453fb2f18be3f3915220e4c6f18018186aa89'/>
<id>urn:sha1:988453fb2f18be3f3915220e4c6f18018186aa89</id>
<content type='text'>
The debugfs qm_regs file is already in the qm directory, so no qm_ prefix
is required.

Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - add DebugFS for xQC and xQE dump</title>
<updated>2020-05-22T14:08:22Z</updated>
<author>
<name>Shukun Tan</name>
</author>
<published>2020-05-15T09:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c31dc9fe165d1b53c0494e0260a798d491de7bb4'/>
<id>urn:sha1:c31dc9fe165d1b53c0494e0260a798d491de7bb4</id>
<content type='text'>
Add dump information of SQC/CQC/EQC/AEQC/SQE/CQE/EQE/AEQE.

Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/zip - add debugfs for Hisilicon ZIP</title>
<updated>2020-05-22T14:08:22Z</updated>
<author>
<name>Longfang Liu</name>
</author>
<published>2020-05-15T09:13:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6621e6492fbdf55d25ea7dd09c8a4cd520c0028d'/>
<id>urn:sha1:6621e6492fbdf55d25ea7dd09c8a4cd520c0028d</id>
<content type='text'>
Hisilicon ZIP engine driver uses debugfs
to provides IO operation debug information

Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/hpre - add debugfs for Hisilicon HPRE</title>
<updated>2020-05-22T14:08:22Z</updated>
<author>
<name>Hui Tang</name>
</author>
<published>2020-05-15T09:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64a6301ebee769073e84daa14eeee01125aef79d'/>
<id>urn:sha1:64a6301ebee769073e84daa14eeee01125aef79d</id>
<content type='text'>
Add debugfs to provides IO operation debug information
and add BD processing timeout count function

Signed-off-by: Hui Tang &lt;tanghui20@huawei.com&gt;
Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/sec2 - add debugfs for Hisilicon SEC</title>
<updated>2020-05-22T14:08:22Z</updated>
<author>
<name>Kai Ye</name>
</author>
<published>2020-05-15T09:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8213a1a60c5329501ff903339b248ceb84278cc3'/>
<id>urn:sha1:8213a1a60c5329501ff903339b248ceb84278cc3</id>
<content type='text'>
Hisilicon SEC engine driver uses debugfs
to provides IO operation debug information

Signed-off-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm - add debugfs to the QM state machine</title>
<updated>2020-05-22T14:08:21Z</updated>
<author>
<name>Longfang Liu</name>
</author>
<published>2020-05-15T09:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a3a3960210b4bc6cfe5db45b4af714ee4a010e1'/>
<id>urn:sha1:0a3a3960210b4bc6cfe5db45b4af714ee4a010e1</id>
<content type='text'>
The QM driver uses debugfs to provides the current state of
the QM state machine

Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
