]> www.infradead.org Git - users/willy/xarray.git/commit
crypto: hisilicon - support querying the capability register
authorQi Tao <taoqi10@huawei.com>
Sat, 26 Oct 2024 09:46:51 +0000 (17:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 2 Nov 2024 10:23:24 +0000 (18:23 +0800)
commit2a69297eed87c1f3ad33b8a169025c06adde5dcf
treea2f84b36f399a96474b785b30d125933d3dcd6e3
parentacb0ed843290f3b19ede1bd9328eb41dee58ce40
crypto: hisilicon - support querying the capability register

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@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
12 files changed:
Documentation/ABI/testing/debugfs-hisi-hpre
Documentation/ABI/testing/debugfs-hisi-sec
Documentation/ABI/testing/debugfs-hisi-zip
drivers/crypto/hisilicon/hpre/hpre.h
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec.h
drivers/crypto/hisilicon/sec2/sec_crypto.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip.h
drivers/crypto/hisilicon/zip/zip_main.c
include/linux/hisi_acc_qm.h