<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/crypto/hisilicon/hpre, branch jd/unified-crypt-queue</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/crypto/hisilicon/hpre?h=jd%2Funified-crypt-queue</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/crypto/hisilicon/hpre?h=jd%2Funified-crypt-queue'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2020-03-20T03:36:50Z</updated>
<entry>
<title>crypto: hisilicon/hpre - Optimize finding hpre device process</title>
<updated>2020-03-20T03:36:50Z</updated>
<author>
<name>Hui Tang</name>
<email>tanghui20@huawei.com</email>
</author>
<published>2020-03-10T08:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=0f4146fadc580b7b479aa46a9991ed451ed911eb'/>
<id>urn:sha1:0f4146fadc580b7b479aa46a9991ed451ed911eb</id>
<content type='text'>
Optimize finding hpre device process according to priority of numa
distance.

Signed-off-by: Hui Tang &lt;tanghui20@huawei.com&gt;
Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Reviewed-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Reviewed-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - Unify error detect process into qm</title>
<updated>2020-02-13T08:58:08Z</updated>
<author>
<name>Shukun Tan</name>
<email>tanshukun1@huawei.com</email>
</author>
<published>2020-01-20T07:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f826e6efb42b9eb0097d0969310a407aa039be08'/>
<id>urn:sha1:f826e6efb42b9eb0097d0969310a407aa039be08</id>
<content type='text'>
In error detect process, a lot of duplicate code can put into qm. We add
two callback(get_dev_hw_err_status and log_dev_hw_err) into struct
hisi_qm_err_ini to handle device error detect, meanwhile the qm error
detect not changed.

Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Signed-off-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 - Unify hardware error init/uninit into QM</title>
<updated>2020-02-13T08:58:08Z</updated>
<author>
<name>Shukun Tan</name>
<email>tanshukun1@huawei.com</email>
</author>
<published>2020-01-20T07:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=eaebf4c3b103dfc3c00dd3b6d3966fb9e08777ce'/>
<id>urn:sha1:eaebf4c3b103dfc3c00dd3b6d3966fb9e08777ce</id>
<content type='text'>
The initialization and uninitialization of zip/hpre/sec/qm hardware error
is processed in respective drivers, which could be unified into qm.c. We
add struct hisi_qm_err_ini into struct hisi_qm, which involve all error
handlers of device and assignment should be done in driver probe.

Signed-off-by: Shukun Tan &lt;tanshukun1@huawei.com&gt;
Signed-off-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 - add branch prediction macro</title>
<updated>2020-01-16T07:18:15Z</updated>
<author>
<name>Zaibo Xu</name>
<email>xuzaibo@huawei.com</email>
</author>
<published>2020-01-11T08:58:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=63fabc87a01d31ae98da5d9a8efeda04621d45aa'/>
<id>urn:sha1:63fabc87a01d31ae98da5d9a8efeda04621d45aa</id>
<content type='text'>
This branch prediction macro on the hot path can improve
small performance(about 2%) according to the test.

Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - adjust hpre_crt_para_get</title>
<updated>2020-01-16T07:18:15Z</updated>
<author>
<name>Zaibo Xu</name>
<email>xuzaibo@huawei.com</email>
</author>
<published>2020-01-11T08:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=92f0726d9c42b4fb503cb4e5c433743cc44312af'/>
<id>urn:sha1:92f0726d9c42b4fb503cb4e5c433743cc44312af</id>
<content type='text'>
Reorder the input parameters of hpre_crt_para_get to
make it cleaner.

Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - Fixed some tiny bugs of HPRE</title>
<updated>2020-01-16T07:18:15Z</updated>
<author>
<name>Zaibo Xu</name>
<email>xuzaibo@huawei.com</email>
</author>
<published>2020-01-11T08:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=02ab994635eb4914e1c419b29594b19195669b78'/>
<id>urn:sha1:02ab994635eb4914e1c419b29594b19195669b78</id>
<content type='text'>
1.Use memzero_explicit to clear key;
2.Fix some little endian writings;
3.Fix some other bugs and stuff of code style;

Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - Bugfixed tfm leak</title>
<updated>2020-01-16T07:18:15Z</updated>
<author>
<name>Zaibo Xu</name>
<email>xuzaibo@huawei.com</email>
</author>
<published>2020-01-11T08:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=dfee9955abc7ec9364413d16316181322cf44f2f'/>
<id>urn:sha1:dfee9955abc7ec9364413d16316181322cf44f2f</id>
<content type='text'>
1.Fixed the bug of software tfm leakage.
2.Update HW error log message.

Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - still no need to check return value of debugfs_create functions</title>
<updated>2019-12-20T06:58:33Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-12-09T15:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f2c5d27bb8899b7f527e2e7005d691c432563145'/>
<id>urn:sha1:f2c5d27bb8899b7f527e2e7005d691c432563145</id>
<content type='text'>
Just like in 4a97bfc79619 ("crypto: hisilicon - no need to check return
value of debugfs_create functions"), there still is no need to ever
check the return value.  The function can work or not, but the code
logic should never do something different based on this.

Cc: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon: Fix misuse of GENMASK macro</title>
<updated>2019-10-23T08:47:00Z</updated>
<author>
<name>Rikard Falkeborn</name>
<email>rikard.falkeborn@gmail.com</email>
</author>
<published>2019-10-15T20:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=5b243b6c4aa2114ab84bb8a4b604c892a6ffd391'/>
<id>urn:sha1:5b243b6c4aa2114ab84bb8a4b604c892a6ffd391</id>
<content type='text'>
Arguments are supposed to be ordered high then low.

Fixes: c8b4b477079d ("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: Rikard Falkeborn &lt;rikard.falkeborn@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - Add debugfs for HPRE</title>
<updated>2019-10-10T12:36:32Z</updated>
<author>
<name>Zaibo Xu</name>
<email>xuzaibo@huawei.com</email>
</author>
<published>2019-09-30T09:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=8489741516182d8ac57a69e9f4ca963450607351'/>
<id>urn:sha1:8489741516182d8ac57a69e9f4ca963450607351</id>
<content type='text'>
HiSilicon HPRE engine driver uses debugfs to provide debug information,
the usage can be found in /Documentation/ABI/testing/debugfs-hisi-hpre.

Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;
Signed-off-by: Hui Tang &lt;tanghui20@huawei.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
