diff options
author | Kent Yoder <key@linux.vnet.ibm.com> | 2012-04-12 01:38:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-05-16 01:05:45 -0400 |
commit | 175e0e23466185a861339796efc5b51958a48dc1 (patch) | |
tree | 115b35adac8ce6c04388f5fb634c43fd2eb1b3a0 /Documentation/ABI/testing/debugfs-pfo-nx-crypto | |
parent | fc482a86c38fc50ff30dcd8c990b19dae795beeb (diff) |
powerpc/crypto: debugfs routines and docs for the nx device driver
These routines add debugfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/ABI/testing/debugfs-pfo-nx-crypto')
-rw-r--r-- | Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-pfo-nx-crypto b/Documentation/ABI/testing/debugfs-pfo-nx-crypto new file mode 100644 index 000000000000..685d5a448423 --- /dev/null +++ b/Documentation/ABI/testing/debugfs-pfo-nx-crypto | |||
@@ -0,0 +1,45 @@ | |||
1 | What: /sys/kernel/debug/nx-crypto/* | ||
2 | Date: March 2012 | ||
3 | KernelVersion: 3.4 | ||
4 | Contact: Kent Yoder <key@linux.vnet.ibm.com> | ||
5 | Description: | ||
6 | |||
7 | These debugfs interfaces are built by the nx-crypto driver, built in | ||
8 | arch/powerpc/crypto/nx. | ||
9 | |||
10 | Error Detection | ||
11 | =============== | ||
12 | |||
13 | errors: | ||
14 | - A u32 providing a total count of errors since the driver was loaded. The | ||
15 | only errors counted here are those returned from the hcall, H_COP_OP. | ||
16 | |||
17 | last_error: | ||
18 | - The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not | ||
19 | recorded here (the hcall will retry until -EBUSY goes away). | ||
20 | |||
21 | last_error_pid: | ||
22 | - The process ID of the process who received the most recent error from the | ||
23 | hcall. | ||
24 | |||
25 | Device Use | ||
26 | ========== | ||
27 | |||
28 | aes_bytes: | ||
29 | - The total number of bytes encrypted using AES in any of the driver's | ||
30 | supported modes. | ||
31 | |||
32 | aes_ops: | ||
33 | - The total number of AES operations submitted to the hardware. | ||
34 | |||
35 | sha256_bytes: | ||
36 | - The total number of bytes hashed by the hardware using SHA-256. | ||
37 | |||
38 | sha256_ops: | ||
39 | - The total number of SHA-256 operations submitted to the hardware. | ||
40 | |||
41 | sha512_bytes: | ||
42 | - The total number of bytes hashed by the hardware using SHA-512. | ||
43 | |||
44 | sha512_ops: | ||
45 | - The total number of SHA-512 operations submitted to the hardware. | ||