<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/crypto/hisilicon/hpre, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon/hpre?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/crypto/hisilicon/hpre?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-04-15T08:34:29Z</updated>
<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/hpre - support register checking</title>
<updated>2022-04-15T08:34:28Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2022-04-09T08:03:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9210bdaa0d49d271fcff901d47ecadfaf1786a76'/>
<id>urn:sha1:9210bdaa0d49d271fcff901d47ecadfaf1786a76</id>
<content type='text'>
The value of the register is changed after the task running. A debugfs
file node is added to help users to check the change of register values.

Signed-off-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
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>hisi_acc_vfio_pci: Add helper to retrieve the struct pci_driver</title>
<updated>2022-03-15T17:34:09Z</updated>
<author>
<name>Shameer Kolothum</name>
<email>shameerali.kolothum.thodi@huawei.com</email>
</author>
<published>2022-03-08T18:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=442fbc099b839551f8576723da22c1269cc695ce'/>
<id>urn:sha1:442fbc099b839551f8576723da22c1269cc695ce</id>
<content type='text'>
struct pci_driver pointer is an input into the pci_iov_get_pf_drvdata().
Introduce helpers to retrieve the ACC PF dev struct pci_driver pointers
as we use this in ACC vfio migration driver.

Acked-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Acked-by: Kai Ye &lt;yekai13@huawei.com&gt;
Acked-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Signed-off-by: Shameer Kolothum &lt;shameerali.kolothum.thodi@huawei.com&gt;
Link: https://lore.kernel.org/r/20220308184902.2242-7-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>hisi_acc_qm: Move VF PCI device IDs to common header</title>
<updated>2022-03-15T17:34:08Z</updated>
<author>
<name>Shameer Kolothum</name>
<email>shameerali.kolothum.thodi@huawei.com</email>
</author>
<published>2022-03-08T18:48:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fae74feacd2dfb6172c4862fc760f969a991c06f'/>
<id>urn:sha1:fae74feacd2dfb6172c4862fc760f969a991c06f</id>
<content type='text'>
Move the PCI Device IDs of HiSilicon ACC VF devices to a common header
and also use a uniform naming convention.

This will be useful when we introduce the vfio PCI HiSilicon ACC live
migration driver in subsequent patches.

Cc: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Acked-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Acked-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Acked-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Shameer Kolothum &lt;shameerali.kolothum.thodi@huawei.com&gt;
Acked-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;	# pci_ids.h
Link: https://lore.kernel.org/r/20220308184902.2242-4-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/qm: Move the QM header to include/linux</title>
<updated>2022-03-15T17:34:08Z</updated>
<author>
<name>Shameer Kolothum</name>
<email>shameerali.kolothum.thodi@huawei.com</email>
</author>
<published>2022-03-08T18:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ff5812e00d5e7bdeae68784d99686eff67896931'/>
<id>urn:sha1:ff5812e00d5e7bdeae68784d99686eff67896931</id>
<content type='text'>
Since we are going to introduce VFIO PCI HiSilicon ACC driver for live
migration in subsequent patches, move the ACC QM header file to a
common include dir.

Acked-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;
Acked-by: Longfang Liu &lt;liulongfang@huawei.com&gt;
Acked-by: Kai Ye &lt;yekai13@huawei.com&gt;
Signed-off-by: Shameer Kolothum &lt;shameerali.kolothum.thodi@huawei.com&gt;
Link: https://lore.kernel.org/r/20220308184902.2242-2-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()</title>
<updated>2021-12-17T05:59:48Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2021-12-11T08:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=51fa916b81e5f406a74f14a31a3a228c3cc060ad'/>
<id>urn:sha1:51fa916b81e5f406a74f14a31a3a228c3cc060ad</id>
<content type='text'>
hpre_curve25519_src_init() allocates memory for 'ptr' before calling
memcmp(). If memcmp() returns 0, the function will return '-EINVAL'
without freeing memory.

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 - modify the value of engine type rate</title>
<updated>2021-11-26T05:25:17Z</updated>
<author>
<name>Kai Ye</name>
<email>yekai13@huawei.com</email>
</author>
<published>2021-11-20T04:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=376a5c3cdd7cf47d2436dd466548c0fff792f4c7'/>
<id>urn:sha1:376a5c3cdd7cf47d2436dd466548c0fff792f4c7</id>
<content type='text'>
Modify the value of type rate from new QM spec.

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 - use swap() to make code cleaner</title>
<updated>2021-11-20T04:02:08Z</updated>
<author>
<name>Yang Guang</name>
<email>yang.guang5@zte.com.cn</email>
</author>
<published>2021-11-04T06:19:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=574c833ef3a60dc5dff6c9e885a30ba13e88971e'/>
<id>urn:sha1:574c833ef3a60dc5dff6c9e885a30ba13e88971e</id>
<content type='text'>
Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Yang Guang &lt;yang.guang5@zte.com.cn&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: hisilicon - support runtime PM for accelerator device</title>
<updated>2021-08-21T07:44:58Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2021-08-13T09:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=607c191b371d72952c11dc209e583303a4515f14'/>
<id>urn:sha1:607c191b371d72952c11dc209e583303a4515f14</id>
<content type='text'>
Add runtime PM support for Kunpeng930 accelerator device.

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 - using 'debugfs_create_file' instead of 'debugfs_create_regset32'</title>
<updated>2021-08-21T07:44:58Z</updated>
<author>
<name>Weili Qian</name>
<email>qianweili@huawei.com</email>
</author>
<published>2021-08-13T09:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1295292d65b729fc8b234fcdf884d79ff5a63ca1'/>
<id>urn:sha1:1295292d65b729fc8b234fcdf884d79ff5a63ca1</id>
<content type='text'>
The accelerator devices support runtime PM, when device is in suspended, an
exception will occur if reading registers. Therefore, this patch uses
'debugfs_create_file' instead of 'debugfs_create_regset32' to create
debugfs file, and then the driver can get the device status before
reading the register.

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