summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/debugfs-pfo-nx-crypto
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:27:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:27:49 +0000
commitace9429bb58fd418f0c81d4c2835699bddf6bde6 (patch)
treeb2d64bc10158fdd5497876388cd68142ca374ed3 /Documentation/ABI/testing/debugfs-pfo-nx-crypto
parentInitial commit. (diff)
downloadlinux-ace9429bb58fd418f0c81d4c2835699bddf6bde6.tar.xz
linux-ace9429bb58fd418f0c81d4c2835699bddf6bde6.zip
Adding upstream version 6.6.15.upstream/6.6.15
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/ABI/testing/debugfs-pfo-nx-crypto')
-rw-r--r--Documentation/ABI/testing/debugfs-pfo-nx-crypto45
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 0000000000..f75a655c15
--- /dev/null
+++ b/Documentation/ABI/testing/debugfs-pfo-nx-crypto
@@ -0,0 +1,45 @@
+What: /sys/kernel/debug/nx-crypto/*
+Date: March 2012
+KernelVersion: 3.4
+Contact: Kent Yoder <key@linux.vnet.ibm.com>
+Description:
+
+These debugfs interfaces are built by the nx-crypto driver, built in
+arch/powerpc/crypto/nx.
+
+Error Detection
+===============
+
+errors:
+ A u32 providing a total count of errors since the driver was loaded. The
+ only errors counted here are those returned from the hcall, H_COP_OP.
+
+last_error:
+ The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
+ recorded here (the hcall will retry until -EBUSY goes away).
+
+last_error_pid:
+ The process ID of the process who received the most recent error from the
+ hcall.
+
+Device Use
+==========
+
+aes_bytes:
+ The total number of bytes encrypted using AES in any of the driver's
+ supported modes.
+
+aes_ops:
+ The total number of AES operations submitted to the hardware.
+
+sha256_bytes:
+ The total number of bytes hashed by the hardware using SHA-256.
+
+sha256_ops:
+ The total number of SHA-256 operations submitted to the hardware.
+
+sha512_bytes:
+ The total number of bytes hashed by the hardware using SHA-512.
+
+sha512_ops:
+ The total number of SHA-512 operations submitted to the hardware.