[PATCH] crypto: vmx: fix incorrect kernel-doc comment syntax in files

2021-03-20 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/vmx, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed du

Re: [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning

2021-03-20 Thread Randy Dunlap
On Sat, 20 Mar 2021, Meng Yu wrote: Fix kernel-doc warnings due to missing "struct" keyword. The warning likes: drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx ' Signed-off-by: Meng Yu Acked-by: Randy Dunlap Thanks. --- drivers/cr

[PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning

2021-03-20 Thread Meng Yu
Fix kernel-doc warnings due to missing "struct" keyword. The warning likes: drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx ' Signed-off-by: Meng Yu --- drivers/crypto/atmel-ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[PATCH 2/4] crypto: hisilicon/qm - move 'CURRENT_QM' code to qm.c

2021-03-20 Thread Weili Qian
Since the code related to 'CURRENT_QM' debugfs is exactly same in sec/hpre/zip driver, move 'CURRENT_QM' to qm.c to reduce duplicate code. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_main.c | 61 -- driver

[PATCH 3/4] crypto: hisilicon/qm - set the number of queues for function

2021-03-20 Thread Weili Qian
Kunpeng930 supports queue doorbell isolation. When doorbell isolation is enabled, it supports to obtain the maximum number of queues of one function from hardware register. Otherwise, the 'max_qp_num' is the total number of queues. When assigning queues to VF, it is necessary to ensure that the nu

[PATCH 4/4] crypto: hisilicon/qm - add queue isolation support for Kunpeng930

2021-03-20 Thread Weili Qian
Kunpeng930 supports doorbell isolation to ensure that each queue has an independent doorbell address space. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/qm.c | 161 +++--- drivers/crypto/hisilicon/qm.h | 4 +- include/uapi/misc/uacce/hisi_qm.h

[PATCH 0/4] crypto: hisilicon/qm - support doorbell isolation and queue number configuration

2021-03-20 Thread Weili Qian
Kunpeng930 supports getting the number of queues from hardware registers and queue doorbell isolation. This patchset configures the total number of hardware queues and the maximum number of function queues, and supports queue doorbell isolation. Weili Qian (4): crypto: hisilicon/qm - set the to

[PATCH 1/4] crypto: hisilicon/qm - set the total number of queues

2021-03-20 Thread Weili Qian
Move the configuration of the total number of queues 'ctrl_qp_num' from sec2/hpre/zip to qm.c. And get the total number of queues from the hardware register for Kunpeng930. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/hpre/hpre_main.c | 3 --- drivers/crypto/hisilicon/qm.c