debugfs-pfo-nx-crypto 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. These debugfs interfaces are built by the nx-crypto driver, built in
  7. arch/powerpc/crypto/nx.
  8. Error Detection
  9. ===============
  10. errors:
  11. - A u32 providing a total count of errors since the driver was loaded. The
  12. only errors counted here are those returned from the hcall, H_COP_OP.
  13. last_error:
  14. - The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
  15. recorded here (the hcall will retry until -EBUSY goes away).
  16. last_error_pid:
  17. - The process ID of the process who received the most recent error from the
  18. hcall.
  19. Device Use
  20. ==========
  21. aes_bytes:
  22. - The total number of bytes encrypted using AES in any of the driver's
  23. supported modes.
  24. aes_ops:
  25. - The total number of AES operations submitted to the hardware.
  26. sha256_bytes:
  27. - The total number of bytes hashed by the hardware using SHA-256.
  28. sha256_ops:
  29. - The total number of SHA-256 operations submitted to the hardware.
  30. sha512_bytes:
  31. - The total number of bytes hashed by the hardware using SHA-512.
  32. sha512_ops:
  33. - The total number of SHA-512 operations submitted to the hardware.