Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) Description:    Dump debug registers from the HPRE cluster.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) Description:    Write the HPRE core selection in the cluster into this file,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 		and then we can read the debug information of the core.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) What:           /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) Description:    HPRE cores debug registers read clear control. 1 means enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 		register read clear, otherwise 0. Writing to this file has no
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 		functional effect, only enable or disable counters clear after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 		reading of these registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) What:           /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) Description:    One HPRE controller has one PF and multiple VFs, each function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 		has a QM. Select the QM which below qm refers to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) What:           /sys/kernel/debug/hisi_hpre/<bdf>/regs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) Description:    Dump debug registers from the HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) Description:    Dump debug registers from the QM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 		Available for PF and VF in host. VF in guest currently only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 		has one debug register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) Description:    One QM may contain multiple queues. Select specific queue to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 		show its debug registers in above regs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) Date:           Sep 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) Description:    QM debug registers(regs) read clear control. 1 means enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 		register read clear, otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 		Writing to this file has no functional effect, only enable or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 		disable counters clear after reading of these registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) Description:    Dump the number of invalid interrupts for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 		QM task completion.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) Description:    Dump the number of QM async event queue interrupts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/abnormal_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) Description:    Dump the number of interrupts for QM abnormal event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/create_qp_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) Description:    Dump the number of queue allocation errors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) Description:    Dump the number of failed QM mailbox commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) Description:    Dump the status of the QM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 		Four states: initiated, started, stopped and closed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Description:    Dump the total number of sent requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/recv_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) Description:    Dump the total number of received requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_busy_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) Description:    Dump the total number of requests sent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 		with returning busy.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_fail_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) Description:    Dump the total number of completed but error requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/invalid_req_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Description:    Dump the total number of invalid requests being received.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/overtime_thrhld
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) Description:    Set the threshold time for counting the request which is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 		processed longer than the threshold.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 		0: disable(default), 1: 1 microsecond.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 		Available for both PF and VF, and take no other effect on HPRE.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/over_thrhld_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) Description:    Dump the total number of time out requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 		Available for both PF and VF, and take no other effect on HPRE.