Documentation / ABI / testing / debugfs-pfo-nx-crypto


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 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.