aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/debugfs-hisi-sec
AgeCommit message (Collapse)AuthorFilesLines
2024-02-17crypto: hisilicon/qm - obtain stop queue statusWeili Qian1-0/+15
The debugfs files 'dev_state' and 'dev_timeout' are added. Users can query the current queue stop status through these two files. And set the waiting timeout when the queue is released. dev_state: if dev_timeout is set, dev_state indicates the status of stopping the queue. 0 indicates that the queue is stopped successfully. Other values indicate that the queue stops fail. If dev_timeout is not set, the value of dev_state is 0; dev_timeout: if the queue fails to stop, the queue is released after waiting dev_timeout * 20ms. Signed-off-by: Weili Qian <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2024-01-26crypto: hisilicon/qm - support get device stateWeili Qian1-0/+7
Support get device current state. The value 0 indicates that the device is busy, and the value 1 indicates that the device is idle. When the device is in suspended, 1 is returned. Signed-off-by: Weili Qian <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2023-12-01crypto: hisilicon/qm - simplify the status of qmWeili Qian1-1/+1
The 'QM_INIT' and 'QM_CLOSE' status of qm and 'QP_INIT' and 'QP_CLOSE' status of queue are not actually used. Currently, driver only needs to switch status when the device or queue is enabled or stopped, Therefore, remove unneeded status to simplify driver. In addition, rename'QM_START to'QM_WORK' for ease to understand. Signed-off-by: Weili Qian <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-04-15Documentation: update debugfs doc for Hisilicon SECKai Ye1-0/+14
Update documentation describing DebugFS that could help to check the change of register values. Signed-off-by: Kai Ye <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-01-28Documentation: update debugfs doc for Hisilicon SECKai Ye1-0/+10
Update documentation describing DebugFS for function's QoS limiting. Signed-off-by: Kai Ye <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-01-28Documentation: use the tabs on all acc documentationKai Ye1-68/+68
Use the tabs on all Hisilicon Accelerator documentation. including hpre, sec, zip. Signed-off-by: Kai Ye <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2020-05-23crypto: hisilicon/qm - change debugfs file name from qm_regs to regsShukun Tan1-1/+1
The debugfs qm_regs file is already in the qm directory, so no qm_ prefix is required. Signed-off-by: Shukun Tan <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2020-05-23crypto: hisilicon/sec2 - add debugfs for Hisilicon SECKai Ye1-11/+43
Hisilicon SEC engine driver uses debugfs to provides IO operation debug information Signed-off-by: Kai Ye <[email protected]> Signed-off-by: Longfang Liu <[email protected]> Signed-off-by: Shukun Tan <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2020-05-23crypto: hisilicon/qm - add debugfs to the QM state machineLongfang Liu1-0/+7
The QM driver uses debugfs to provides the current state of the QM state machine Signed-off-by: Longfang Liu <[email protected]> Signed-off-by: Shukun Tan <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2020-05-23crypto: hisilicon/qm - add debugfs for QMLongfang Liu1-0/+31
Add DebugFS method to get the information of IRQ/Requests/QP .etc of QM for HPRE/ZIP/SEC drivers. Signed-off-by: Longfang Liu <[email protected]> Signed-off-by: Shukun Tan <[email protected]> Reviewed-by: Zaibo Xu <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2019-11-22Documentation: add DebugFS doc for HiSilicon SECLongfang Liu1-0/+43
This Documentation is for HiSilicon SEC DebugFS. Signed-off-by: Longfang Liu <[email protected]> Signed-off-by: Kai Ye <[email protected]> Reviewed-by: Zaibo Xu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>