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) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) ========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) tcm_qla2xxx Driver Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) ========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) tcm_qla2xxx jam_host attribute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) ------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) There is now a new module endpoint atribute called jam_host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) attribute::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	jam_host: boolean=0/1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) This attribute and accompanying code is only included if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Kconfig parameter TCM_QLA2XXX_DEBUG is set to Y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) By default this jammer code and functionality is disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Use this attribute to control the discarding of SCSI commands to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) selected host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) This may be useful for testing error handling and simulating slow drain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) and other fabric issues.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Setting a boolean of 1 for the jam_host attribute for a particular host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) will discard the commands for that host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Reset back to 0 to stop the jamming.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Enable host 4 to be jammed::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)   echo 1 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Disable jamming on host 4::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)   echo 0 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host