debugfs-hisi-zip 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs
  2. Date: Nov 2018
  3. Contact: linux-crypto@vger.kernel.org
  4. Description: Dump of compression cores related debug registers.
  5. Only available for PF.
  6. What: /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs
  7. Date: Nov 2018
  8. Contact: linux-crypto@vger.kernel.org
  9. Description: Dump of decompression cores related debug registers.
  10. Only available for PF.
  11. What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable
  12. Date: Nov 2018
  13. Contact: linux-crypto@vger.kernel.org
  14. Description: Compression/decompression core debug registers read clear
  15. control. 1 means enable register read clear, otherwise 0.
  16. Writing to this file has no functional effect, only enable or
  17. disable counters clear after reading of these registers.
  18. Only available for PF.
  19. What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm
  20. Date: Nov 2018
  21. Contact: linux-crypto@vger.kernel.org
  22. Description: One ZIP controller has one PF and multiple VFs, each function
  23. has a QM. Select the QM which below qm refers to.
  24. Only available for PF.
  25. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs
  26. Date: Nov 2018
  27. Contact: linux-crypto@vger.kernel.org
  28. Description: Dump of QM related debug registers.
  29. Available for PF and VF in host. VF in guest currently only
  30. has one debug register.
  31. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
  32. Date: Nov 2018
  33. Contact: linux-crypto@vger.kernel.org
  34. Description: One QM may contain multiple queues. Select specific queue to
  35. show its debug registers in above regs.
  36. Only available for PF.
  37. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
  38. Date: Nov 2018
  39. Contact: linux-crypto@vger.kernel.org
  40. Description: QM debug registers(regs) read clear control. 1 means enable
  41. register read clear, otherwise 0.
  42. Writing to this file has no functional effect, only enable or
  43. disable counters clear after reading of these registers.
  44. Only available for PF.
  45. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq
  46. Date: Apr 2020
  47. Contact: linux-crypto@vger.kernel.org
  48. Description: Dump the number of invalid interrupts for
  49. QM task completion.
  50. Available for both PF and VF, and take no other effect on ZIP.
  51. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq
  52. Date: Apr 2020
  53. Contact: linux-crypto@vger.kernel.org
  54. Description: Dump the number of QM async event queue interrupts.
  55. Available for both PF and VF, and take no other effect on ZIP.
  56. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq
  57. Date: Apr 2020
  58. Contact: linux-crypto@vger.kernel.org
  59. Description: Dump the number of interrupts for QM abnormal event.
  60. Available for both PF and VF, and take no other effect on ZIP.
  61. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/create_qp_err
  62. Date: Apr 2020
  63. Contact: linux-crypto@vger.kernel.org
  64. Description: Dump the number of queue allocation errors.
  65. Available for both PF and VF, and take no other effect on ZIP.
  66. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err
  67. Date: Apr 2020
  68. Contact: linux-crypto@vger.kernel.org
  69. Description: Dump the number of failed QM mailbox commands.
  70. Available for both PF and VF, and take no other effect on ZIP.
  71. What: /sys/kernel/debug/hisi_zip/<bdf>/qm/status
  72. Date: Apr 2020
  73. Contact: linux-crypto@vger.kernel.org
  74. Description: Dump the status of the QM.
  75. Four states: initiated, started, stopped and closed.
  76. Available for both PF and VF, and take no other effect on ZIP.
  77. What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_cnt
  78. Date: Apr 2020
  79. Contact: linux-crypto@vger.kernel.org
  80. Description: Dump the total number of sent requests.
  81. Available for both PF and VF, and take no other effect on ZIP.
  82. What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/recv_cnt
  83. Date: Apr 2020
  84. Contact: linux-crypto@vger.kernel.org
  85. Description: Dump the total number of received requests.
  86. Available for both PF and VF, and take no other effect on ZIP.
  87. What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_busy_cnt
  88. Date: Apr 2020
  89. Contact: linux-crypto@vger.kernel.org
  90. Description: Dump the total number of requests received
  91. with returning busy.
  92. Available for both PF and VF, and take no other effect on ZIP.
  93. What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/err_bd_cnt
  94. Date: Apr 2020
  95. Contact: linux-crypto@vger.kernel.org
  96. Description: Dump the total number of BD type error requests
  97. to be received.
  98. Available for both PF and VF, and take no other effect on ZIP.