<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/hisilicon/zip, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-06-17T07:07:32Z</updated>
<entry>
<title>crypto: hisilicon/zip - adds the max shaper type rate</title>
<updated>2021-06-17T07:07:32Z</updated>
<author>
<name>Kai Ye</name>
</author>
<published>2021-06-11T09:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38a9eb8182a24c7ef2dbe82ab46cafe8f8e9b271'/>
<id>urn:sha1:38a9eb8182a24c7ef2dbe82ab46cafe8f8e9b271</id>
<content type='text'>
The ZIP driver support configure each function's QoS in the Host
for Kunpeng930. The ZIP driver needs to configure the maximum shaper
type rate.

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 - support address prefetching</title>
<updated>2021-05-28T07:11:47Z</updated>
<author>
<name>Longfang Liu</name>
</author>
<published>2021-05-22T07:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5c164b195a89aedc8179d68cedf00e7f8baa58e'/>
<id>urn:sha1:a5c164b195a89aedc8179d68cedf00e7f8baa58e</id>
<content type='text'>
Kunpeng930 hardware supports address prefetching to improve performance
before doing tasks in SVA scenario.

This patch enables this function in device initialization by writing
hardware registers. In the process of reset, address prefetching is
disabled to avoid the failure of interaction between accelerator device
and SMMU.

Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
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 - enable to close master ooo when NFE occurs</title>
<updated>2021-05-23T00:52:41Z</updated>
<author>
<name>Weili Qian</name>
</author>
<published>2021-05-15T10:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7da13d092a4919823c2b260ca7ea6ef1690b80b'/>
<id>urn:sha1:b7da13d092a4919823c2b260ca7ea6ef1690b80b</id>
<content type='text'>
Kunpeng930 could be able to close master ooo when NFE occurs, which will
disable memory accessing from device and execute tasks. This ensures that
errors do not spread.

This patch enables the hardware to close master ooo when an error occurs
by writing hardware registers, and ensures that the driver will not drain
qp because the hardware will empty the tasks automatically.

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 - adjust order of device error configuration</title>
<updated>2021-05-23T00:52:41Z</updated>
<author>
<name>Weili Qian</name>
</author>
<published>2021-05-15T10:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b9c24dec891d418e26032709d6f01fe3757a4a6'/>
<id>urn:sha1:3b9c24dec891d418e26032709d6f01fe3757a4a6</id>
<content type='text'>
In order to avoid reporting an exception but the error type is not
configured, the driver needs to configure the error type first, and then
enable the error interrupt. Before executing the task, hardware error
initialization is needed so that the hardware can detect the error in time.

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 - support new error types for ZIP</title>
<updated>2021-04-22T07:31:29Z</updated>
<author>
<name>Weili Qian</name>
</author>
<published>2021-04-12T12:31:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7220a7439fa5e2506428252e9046963ab51d48d'/>
<id>urn:sha1:b7220a7439fa5e2506428252e9046963ab51d48d</id>
<content type='text'>
Kunpeng930 ZIP adds 'zip_axi_poison_err' 'zip_sva_err' and
'QM_ACC_DO_TASK_TIMEOUT' hardware error types. This patch enables the error
types and configures the error types as NFE.

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 - dynamic configuration 'err_info'</title>
<updated>2021-04-22T07:31:29Z</updated>
<author>
<name>Weili Qian</name>
</author>
<published>2021-04-12T12:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9e21600dc0930d49a09060dd20ec8544983f202'/>
<id>urn:sha1:d9e21600dc0930d49a09060dd20ec8544983f202</id>
<content type='text'>
'err_info' does not support dynamic configuration since it is const type.
Therefore, in order to support new error type later, 'err_info' is changed
to dynamic configuration.

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/zip - support new 'sqe' type in Kunpeng930</title>
<updated>2021-04-02T07:28:13Z</updated>
<author>
<name>Yang Shen</name>
</author>
<published>2021-03-27T07:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95c612b30898ca5fe7c76ef31d910e37ace6f34e'/>
<id>urn:sha1:95c612b30898ca5fe7c76ef31d910e37ace6f34e</id>
<content type='text'>
The Kunpeng930 changes some field meanings in 'sqe'. So add a new
'hisi_zip_sqe_ops' to describe the 'sqe' operations.

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 - initialize operations about 'sqe' in 'acomp_alg.init'</title>
<updated>2021-04-02T07:28:13Z</updated>
<author>
<name>Yang Shen</name>
</author>
<published>2021-03-27T07:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bcf36348ce50e650fe8e1db046029afc89ef098'/>
<id>urn:sha1:2bcf36348ce50e650fe8e1db046029afc89ef098</id>
<content type='text'>
The operations about 'sqe' are different on some hardwares. Add a struct
'hisi_zip_sqe_ops' to describe the operations in a hardware. And choose the
'ops' in 'hisi_zip_acomp_init' according to the hardware.

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 - add comments for 'hisi_zip_sqe'</title>
<updated>2021-04-02T07:28:13Z</updated>
<author>
<name>Yang Shen</name>
</author>
<published>2021-03-27T07:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d746881855ba167597d835de512150b6e6ea19ae'/>
<id>urn:sha1:d746881855ba167597d835de512150b6e6ea19ae</id>
<content type='text'>
Some fields of 'hisi_zip_sqe' are unused, and some fields have misc
utilities. So add comments for used fields and make others unnamed.

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 - adjust functions location</title>
<updated>2021-04-02T07:28:13Z</updated>
<author>
<name>Yang Shen</name>
</author>
<published>2021-03-27T07:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30a4240e06ea7eecbc5645916501112ef8532533'/>
<id>urn:sha1:30a4240e06ea7eecbc5645916501112ef8532533</id>
<content type='text'>
This patch changes nothing about functions except location in order to make
code logic clearly.

This adjustment follows three principles:
1.The called functions are listed in order above the calling functions.
2.The paired functions are next to each other.
3.Logically similar functions are placed in the same area. Here, we use
the callback of 'acomp_alg' as the basis for dividing areas.

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