<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/crypto/hisilicon/zip, branch jd/unified-crypt-queue</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/crypto/hisilicon/zip?h=jd%2Funified-crypt-queue</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/crypto/hisilicon/zip?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/zip - Use hisi_qm_alloc_qps_node() when init ctx</title>
<updated>2020-03-20T03:36:50Z</updated>
<author>
<name>Shukun Tan</name>
<email>tanshukun1@huawei.com</email>
</author>
<published>2020-03-10T08:42:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=18f1ab3f74d61f773dcad257783bfbcef9ac10ea'/>
<id>urn:sha1:18f1ab3f74d61f773dcad257783bfbcef9ac10ea</id>
<content type='text'>
Encapsulate hisi_qm_alloc_qps_node() to new interface to replace
find_zip_device(), which will fix the bug of creating QP failure
especially in multi-thread scenario.

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 - register zip engine to uacce</title>
<updated>2020-02-22T01:25:42Z</updated>
<author>
<name>Zhangfei Gao</name>
<email>zhangfei.gao@linaro.org</email>
</author>
<published>2020-02-11T07:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9e00df7156e45e42c695ffc596b4bf1328d00516'/>
<id>urn:sha1:9e00df7156e45e42c695ffc596b4bf1328d00516</id>
<content type='text'>
Register qm to uacce framework for user crypto driver

Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Reviewed-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;
Signed-off-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 - Remove module_param uacce_mode</title>
<updated>2020-02-22T01:25:42Z</updated>
<author>
<name>Zhangfei Gao</name>
<email>zhangfei.gao@linaro.org</email>
</author>
<published>2020-02-11T07:54:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=18bead70e9919bb2d1826c4070f2982dd63e2fcc'/>
<id>urn:sha1:18bead70e9919bb2d1826c4070f2982dd63e2fcc</id>
<content type='text'>
Remove the module_param uacce_mode, which is not used currently.

Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Reviewed-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;
Signed-off-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 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 - Configure zip RAS error type</title>
<updated>2020-02-13T08:58:08Z</updated>
<author>
<name>Shukun Tan</name>
<email>tanshukun1@huawei.com</email>
</author>
<published>2020-01-20T07:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=de3daf4b4ad58d3c4110f437f4b2f3fc631a2d3a'/>
<id>urn:sha1:de3daf4b4ad58d3c4110f437f4b2f3fc631a2d3a</id>
<content type='text'>
Configure zip RAS error type in error handle initialization,
Where ECC 1bit is configured as CE error, others are NFE.

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 - 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 - Use the offset fields in sqe to avoid need to split scatterlists</title>
<updated>2019-12-11T08:34:45Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2019-11-19T05:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=484a897ffa3005f16cd9a31efd747bcf8155826f'/>
<id>urn:sha1:484a897ffa3005f16cd9a31efd747bcf8155826f</id>
<content type='text'>
We can configure sgl offset fields in ZIP sqe to let ZIP engine read/write
sgl data with skipped data. Hence no need to splite the sgl.

Fixes: 62c455ca853e (crypto: hisilicon - add HiSilicon ZIP accelerator support)
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Signed-off-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 - no need to check return value of debugfs_create functions</title>
<updated>2019-11-17T00:37:29Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-07T08:52:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=4a97bfc79619c40d400f2a7b763a0d9cd1d33891'/>
<id>urn:sha1:4a97bfc79619c40d400f2a7b763a0d9cd1d33891</id>
<content type='text'>
When calling debugfs functions, there 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 - add vfs_num module param for zip</title>
<updated>2019-11-17T00:37:29Z</updated>
<author>
<name>Hao Fang</name>
<email>fanghao11@huawei.com</email>
</author>
<published>2019-11-07T03:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=39977f4b51cdc544de4e5950751655f6693654a7'/>
<id>urn:sha1:39977f4b51cdc544de4e5950751655f6693654a7</id>
<content type='text'>
Currently the VF can be enabled only through sysfs interface
after module loaded, but this also needs to be done when the
module loaded in some scenarios.

This patch adds module param vfs_num, adds hisi_zip_sriov_enable()
in probe, and also adjusts the position of probe.

Signed-off-by: Hao Fang &lt;fanghao11@huawei.com&gt;
Signed-off-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 - replace #ifdef with IS_ENABLED for CONFIG_NUMA</title>
<updated>2019-11-08T15:15:52Z</updated>
<author>
<name>Zhou Wang</name>
<email>wangzhou1@hisilicon.com</email>
</author>
<published>2019-11-01T12:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=1e67ee9344abbbd35ee286d641461faecf43933f'/>
<id>urn:sha1:1e67ee9344abbbd35ee286d641461faecf43933f</id>
<content type='text'>
Replace #ifdef CONFIG_NUMA with IS_ENABLED(CONFIG_NUMA) to fix kbuild error.

Fixes: 700f7d0d29c7 ("crypto: hisilicon - fix to return...")
Signed-off-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Reported-by: kbuild test robot &lt;lkp@intel.com&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
