Re: [PATCH] crypto: hisilicon - support querying the capability register
From: Herbert Xu
Date: Sat Nov 02 2024 - 06:27:34 EST
On Sat, Oct 26, 2024 at 05:46:51PM +0800, Chenghai Huang wrote:
> From: Qi Tao <taoqi10@xxxxxxxxxx>
>
> Query the capability register status of accelerator devices
> (SEC, HPRE and ZIP) through the debugfs interface, for example:
> cat cap_regs. The purpose is to improve the robustness and
> locability of hardware devices and drivers.
>
> Signed-off-by: Qi Tao <taoqi10@xxxxxxxxxx>
> Signed-off-by: Chenghai Huang <huangchenghai2@xxxxxxxxxx>
> ---
> Documentation/ABI/testing/debugfs-hisi-hpre | 7 ++
> Documentation/ABI/testing/debugfs-hisi-sec | 7 ++
> Documentation/ABI/testing/debugfs-hisi-zip | 7 ++
> drivers/crypto/hisilicon/hpre/hpre.h | 23 ++++
> drivers/crypto/hisilicon/hpre/hpre_main.c | 121 +++++++++++++++-----
> drivers/crypto/hisilicon/qm.c | 88 +++++++++-----
> drivers/crypto/hisilicon/sec2/sec.h | 26 ++++-
> drivers/crypto/hisilicon/sec2/sec_crypto.c | 8 +-
> drivers/crypto/hisilicon/sec2/sec_main.c | 71 ++++++++++--
> drivers/crypto/hisilicon/zip/zip.h | 18 +++
> drivers/crypto/hisilicon/zip/zip_main.c | 116 +++++++++++++------
> include/linux/hisi_acc_qm.h | 15 +++
> 12 files changed, 396 insertions(+), 111 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt