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_sec2/<bdf>/clear_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) Date:           Oct 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:    Enabling/disabling of clear action after reading
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 		the SEC debug registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 		0: disable, 1: enable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 		Only available for PF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) What:           /sys/kernel/debug/hisi_sec2/<bdf>/current_qm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) Date:           Oct 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) Description:    One SEC controller has one PF and multiple VFs, each function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 		has a QM. This file can be used to select the QM which below
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 		qm refers to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) Date:           Oct 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) Description:    Dump of QM related debug registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 		Available for PF and VF in host. VF in guest currently only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 		has one debug register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) Date:           Oct 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) Description:    One QM of SEC may contain multiple queues. Select specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 		queue to show its debug registers in above 'regs'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 		Only available for PF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) Date:           Oct 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) Description:    Enabling/disabling of clear action after reading
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 		the SEC's QM debug registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 		0: disable, 1: enable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 		Only available for PF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) Description:    Dump the number of invalid interrupts for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 		QM task completion.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) Description:    Dump the number of QM async event queue interrupts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) Description:    Dump the number of interrupts for QM abnormal event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) Description:    Dump the number of queue allocation errors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) Description:    Dump the number of failed QM mailbox commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) Description:    Dump the status of the QM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 		Four states: initiated, started, stopped and closed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) Description:    Dump the total number of sent requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/recv_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) Description:    Dump the total number of received requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_busy_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) Description:    Dump the total number of requests sent with returning busy.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/err_bd_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) Description:    Dump the total number of BD type error requests
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 		to be received.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/invalid_req_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) Description:    Dump the total number of invalid requests being received.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 		Available for both PF and VF, and take no other effect on SEC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/done_flag_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) Date:           Apr 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Contact:        linux-crypto@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Description:    Dump the total number of completed but marked error requests
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 		to be received.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 		Available for both PF and VF, and take no other effect on SEC.