^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/*/drivers/ufshcd/*/auto_hibern8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: linux-scsi@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) This file contains the auto-hibernate idle timer setting of a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) UFS host controller. A value of '0' means auto-hibernate is not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) enabled. Otherwise the value is the number of microseconds of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) idle time before the UFS host controller will autonomously put
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) the link into hibernate state. That will save power at the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) expense of increased latency. Note that the hardware supports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 10-bit values with a power-of-ten multiplier which allows a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) maximum value of 102300000. Refer to the UFS Host Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Interface specification for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Description: This file shows the device type. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) device descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_class
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Description: This file shows the device class. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) device descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_sub_class
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Description: This file shows the UFS storage subclass. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/protocol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Description: This file shows the protocol supported by an UFS device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_luns
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Description: This file shows number of logical units. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_wluns
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Description: This file shows number of well known logical units.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/boot_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Description: This file shows value that indicates whether the device is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) enabled for boot. This is one of the UFS device descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) parameters. The full information about the descriptor could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/descriptor_access_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Description: This file shows value that indicates whether the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) descriptor could be read after partial initialization phase
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) of the boot sequence. This is one of the UFS device descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) parameters. The full information about the descriptor could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/initial_power_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) Description: This file shows value that defines the power mode after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) device initialization or hardware reset. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/high_priority_lun
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) Description: This file shows the high priority lun. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/secure_removal_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Description: This file shows the secure removal type. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/support_security_lun
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Description: This file shows whether the security lun is supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/bkops_termination_latency
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) Description: This file shows the background operations termination
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) latency. This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/initial_active_icc_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) Description: This file shows the initial active ICC level. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) of the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/specification_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) Description: This file shows the specification version. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) of the UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/manufacturing_date
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) Description: This file shows the manufacturing date in BCD format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/manufacturer_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) Description: This file shows the manufacturee ID. This is one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) UFS device descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/rtt_capability
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) Description: This file shows the maximum number of outstanding RTTs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) supported by the device. This is one of the UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/rtc_update
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) Description: This file shows the frequency and method of the realtime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) clock update. This is one of the UFS device descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) parameters. The full information about the descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/ufs_features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) Description: This file shows which features are supported by the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) The full information about the descriptor could be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/ffu_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) Description: This file shows the FFU timeout. This is one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/queue_depth
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) Description: This file shows the device queue depth. This is one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) Description: This file shows the device version. This is one of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) UFS device descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_secure_wpa
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) Description: This file shows number of secure write protect areas
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) supported by the device. This is one of the UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/psa_max_data_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) Description: This file shows the maximum amount of data that may be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) written during the pre-soldering phase of the PSA flow.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) This is one of the UFS device descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) The full information about the descriptor could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/psa_state_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) Description: This file shows the command maximum timeout for a change
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) in PSA state. This is one of the UFS device descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) parameters. The full information about the descriptor could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) What: /sys/bus/platform/drivers/ufshcd/*/interconnect_descriptor/unipro_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) Description: This file shows the MIPI UniPro version number in BCD format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) This is one of the UFS interconnect descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) The full information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) What: /sys/bus/platform/drivers/ufshcd/*/interconnect_descriptor/mphy_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) Description: This file shows the MIPI M-PHY version number in BCD format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) This is one of the UFS interconnect descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) The full information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/raw_device_capacity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) Description: This file shows the total memory quantity available to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) the user to configure the device logical units. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_number_of_luns
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) Description: This file shows the maximum number of logical units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) supported by the UFS device. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) geometry descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/segment_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) Description: This file shows the segment size. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) geometry descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/allocation_unit_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) Description: This file shows the allocation unit size. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) the UFS geometry descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/min_addressable_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) Description: This file shows the minimum addressable block size. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) is one of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/optimal_read_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) Description: This file shows the optimal read block size. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/optimal_write_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) Description: This file shows the optimal write block size. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_in_buffer_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) Description: This file shows the maximum data-in buffer size. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) is one of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_out_buffer_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) Description: This file shows the maximum data-out buffer size. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) is one of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/rpmb_rw_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) Description: This file shows the maximum number of RPMB frames allowed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) in Security Protocol In/Out. This is one of the UFS geometry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) descriptor parameters. The full information about the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/dyn_capacity_resource_policy
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) Description: This file shows the dynamic capacity resource policy. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) is one of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/data_ordering
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) Description: This file shows support for out-of-order data transfer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) This is one of the UFS geometry descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) The full information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_number_of_contexts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) Description: This file shows maximum available number of contexts which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) are supported by the device. This is one of the UFS geometry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) descriptor parameters. The full information about the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/sys_data_tag_unit_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) Description: This file shows system data tag unit size. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) the UFS geometry descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/sys_data_tag_resource_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) Description: This file shows maximum storage area size allocated by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) the device to handle system data by the tagging mechanism.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) This is one of the UFS geometry descriptor parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) The full information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/secure_removal_types
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) Description: This file shows supported secure removal types. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) one of the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/memory_types
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) Description: This file shows supported memory types. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) the UFS geometry descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/*_memory_max_alloc_units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) Description: This file shows the maximum number of allocation units for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) different memory types (system code, non persistent,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) enhanced type 1-4). This is one of the UFS geometry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) descriptor parameters. The full information about the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/*_memory_capacity_adjustment_factor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) Description: This file shows the memory capacity adjustment factor for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) different memory types (system code, non persistent,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) enhanced type 1-4). This is one of the UFS geometry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) descriptor parameters. The full information about the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) What: /sys/bus/platform/drivers/ufshcd/*/health_descriptor/eol_info
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) Description: This file shows preend of life information. This is one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) of the UFS health descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489) What: /sys/bus/platform/drivers/ufshcd/*/health_descriptor/life_time_estimation_a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492) Description: This file shows indication of the device life time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) (method a). This is one of the UFS health descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494) parameters. The full information about the descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495) could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499) What: /sys/bus/platform/drivers/ufshcd/*/health_descriptor/life_time_estimation_b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502) Description: This file shows indication of the device life time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503) (method b). This is one of the UFS health descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504) parameters. The full information about the descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 510) What: /sys/bus/platform/drivers/ufshcd/*/power_descriptor/active_icc_levels_vcc*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 511) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 512) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 513) Description: This file shows maximum VCC, VCCQ and VCCQ2 value for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 514) active ICC levels from 0 to 15. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 515) power descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 516) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 517)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 518) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 519)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 520)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 521) What: /sys/bus/platform/drivers/ufshcd/*/string_descriptors/manufacturer_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 522) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 523) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 524) Description: This file contains a device manufactureer name string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 525) The full information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 526) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 527)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 528) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 529)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 530) What: /sys/bus/platform/drivers/ufshcd/*/string_descriptors/product_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 531) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 532) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 533) Description: This file contains a product name string. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 534) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 535)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 536) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 537)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 538) What: /sys/bus/platform/drivers/ufshcd/*/string_descriptors/oem_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 539) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 540) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 541) Description: This file contains a OEM ID string. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 542) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 543)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 544) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 545)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 546) What: /sys/bus/platform/drivers/ufshcd/*/string_descriptors/serial_number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 547) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 548) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 549) Description: This file contains a device serial number string. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 550) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 551) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 552)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 553) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 554)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 555) What: /sys/bus/platform/drivers/ufshcd/*/string_descriptors/product_revision
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 556) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 557) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 558) Description: This file contains a product revision string. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 559) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 560) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 561)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 562) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 563)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 564)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 565) What: /sys/class/scsi_device/*/device/unit_descriptor/boot_lun_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 566) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 567) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 568) Description: This file shows boot LUN information. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 569) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 570) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 571)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 572) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 573)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 574) What: /sys/class/scsi_device/*/device/unit_descriptor/lun_write_protect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 575) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 576) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 577) Description: This file shows LUN write protection status. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 578) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 579) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 580)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 581) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 582)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 583) What: /sys/class/scsi_device/*/device/unit_descriptor/lun_queue_depth
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 584) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 585) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 586) Description: This file shows LUN queue depth. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 587) unit descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 588) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 589)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 590) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 591)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 592) What: /sys/class/scsi_device/*/device/unit_descriptor/psa_sensitive
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 593) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 594) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 595) Description: This file shows PSA sensitivity. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 596) unit descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 597) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 598)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 599) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 600)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 601) What: /sys/class/scsi_device/*/device/unit_descriptor/lun_memory_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 602) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 603) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 604) Description: This file shows LUN memory type. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 605) unit descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 606) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 607)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 608) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 609)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 610) What: /sys/class/scsi_device/*/device/unit_descriptor/data_reliability
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 611) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 612) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 613) Description: This file defines the device behavior when a power failure
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 614) occurs during a write operation. This is one of the UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 615) unit descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 616) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 617)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 618) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 619)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 620) What: /sys/class/scsi_device/*/device/unit_descriptor/logical_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 621) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 622) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 623) Description: This file shows the size of addressable logical blocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 624) (calculated as an exponent with base 2). This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 625) the UFS unit descriptor parameters. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 626) the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 627)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 628) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 629)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 630) What: /sys/class/scsi_device/*/device/unit_descriptor/logical_block_count
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 631) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 632) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 633) Description: This file shows total number of addressable logical blocks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 634) This is one of the UFS unit descriptor parameters. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 635) information about the descriptor could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 636) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 637)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 638) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 639)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 640) What: /sys/class/scsi_device/*/device/unit_descriptor/erase_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 641) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 642) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 643) Description: This file shows the erase block size. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 644) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 645) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 646)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 647) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 648)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 649) What: /sys/class/scsi_device/*/device/unit_descriptor/provisioning_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 650) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 651) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 652) Description: This file shows the thin provisioning type. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 653) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 654) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 655)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 656) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 657)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 658) What: /sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resourse_count
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 659) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 660) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 661) Description: This file shows the total physical memory resources. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 662) one of the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 663) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 664)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 665) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 666)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 667) What: /sys/class/scsi_device/*/device/unit_descriptor/context_capabilities
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 668) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 669) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 670) Description: This file shows the context capabilities. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 671) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 672) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 673)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 674) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 675)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 676) What: /sys/class/scsi_device/*/device/unit_descriptor/large_unit_granularity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 677) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 678) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 679) Description: This file shows the granularity of the LUN. This is one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 680) the UFS unit descriptor parameters. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 681) about the descriptor could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 682)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 683) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 684)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 685)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 686) What: /sys/bus/platform/drivers/ufshcd/*/flags/device_init
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 687) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 688) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 689) Description: This file shows the device init status. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 690) about the flag could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 691)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 692) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 693)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 694) What: /sys/bus/platform/drivers/ufshcd/*/flags/permanent_wpe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 695) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 696) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 697) Description: This file shows whether permanent write protection is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 698) The full information about the flag could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 699) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 700)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 701) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 702)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 703) What: /sys/bus/platform/drivers/ufshcd/*/flags/power_on_wpe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 704) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 705) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 706) Description: This file shows whether write protection is enabled on all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 707) logical units configured as power on write protected. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 708) full information about the flag could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 709) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 710)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 711) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 712)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 713) What: /sys/bus/platform/drivers/ufshcd/*/flags/bkops_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 714) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 715) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 716) Description: This file shows whether the device background operations are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 717) enabled. The full information about the flag could be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 718) found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 719)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 720) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 721)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 722) What: /sys/bus/platform/drivers/ufshcd/*/flags/life_span_mode_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 723) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 724) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 725) Description: This file shows whether the device life span mode is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 726) The full information about the flag could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 727) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 728)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 729) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 730)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 731) What: /sys/bus/platform/drivers/ufshcd/*/flags/phy_resource_removal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 732) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 733) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 734) Description: This file shows whether physical resource removal is enable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 735) The full information about the flag could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 736) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 737)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 738) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 739)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 740) What: /sys/bus/platform/drivers/ufshcd/*/flags/busy_rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 741) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 742) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 743) Description: This file shows whether the device is executing internal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 744) operation related to real time clock. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 745) about the flag could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 746)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 747) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 748)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 749) What: /sys/bus/platform/drivers/ufshcd/*/flags/disable_fw_update
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 750) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 751) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 752) Description: This file shows whether the device FW update is permanently
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 753) disabled. The full information about the flag could be found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 754) at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 755)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 756) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 757)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 758)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 759) What: /sys/bus/platform/drivers/ufshcd/*/attributes/boot_lun_enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 760) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 761) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 762) Description: This file provides the boot lun enabled UFS device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 763) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 764) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 765)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 766) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 767)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 768) What: /sys/bus/platform/drivers/ufshcd/*/attributes/current_power_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 769) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 770) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 771) Description: This file provides the current power mode UFS device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 772) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 773) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 774)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 775) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 776)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 777) What: /sys/bus/platform/drivers/ufshcd/*/attributes/active_icc_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 778) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 779) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 780) Description: This file provides the active icc level UFS device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 781) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 782) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 783)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 784) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 785)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 786) What: /sys/bus/platform/drivers/ufshcd/*/attributes/ooo_data_enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 787) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 788) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 789) Description: This file provides the out of order data transfer enabled UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 790) device attribute. The full information about the attribute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 791) could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 792)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 793) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 794)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 795) What: /sys/bus/platform/drivers/ufshcd/*/attributes/bkops_status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 796) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 797) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 798) Description: This file provides the background operations status UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 799) attribute. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 800) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 801)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 802) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 803)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 804) What: /sys/bus/platform/drivers/ufshcd/*/attributes/purge_status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 805) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 806) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 807) Description: This file provides the purge operation status UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 808) attribute. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 809) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 810)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 811) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 812)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 813) What: /sys/bus/platform/drivers/ufshcd/*/attributes/max_data_in_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 814) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 815) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 816) Description: This file shows the maximum data size in a DATA IN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 817) UPIU. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 818) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 819)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 820) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 821)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 822) What: /sys/bus/platform/drivers/ufshcd/*/attributes/max_data_out_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 823) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 824) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 825) Description: This file shows the maximum number of bytes that can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 826) requested with a READY TO TRANSFER UPIU. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 827) about the attribute could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 828)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 829) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 830)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 831) What: /sys/bus/platform/drivers/ufshcd/*/attributes/reference_clock_frequency
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 832) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 833) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 834) Description: This file provides the reference clock frequency UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 835) attribute. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 836) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 837)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 838) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 839)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 840) What: /sys/bus/platform/drivers/ufshcd/*/attributes/configuration_descriptor_lock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 841) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 842) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 843) Description: This file shows whether the configuration descriptor is locked.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 844) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 845) UFS specifications 2.1. The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 846)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 847) What: /sys/bus/platform/drivers/ufshcd/*/attributes/max_number_of_rtt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 848) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 849) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 850) Description: This file provides the maximum current number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 851) outstanding RTTs in device that is allowed. The full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 852) information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 853) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 854)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 855) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 856)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 857) What: /sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 858) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 859) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 860) Description: This file provides the exception event control UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 861) attribute. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 862) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 863)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 864) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 865)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 866) What: /sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 867) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 868) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 869) Description: This file provides the exception event status UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 870) attribute. The full information about the attribute could
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 871) be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 872)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 873) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 874)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 875) What: /sys/bus/platform/drivers/ufshcd/*/attributes/ffu_status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 876) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 877) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 878) Description: This file provides the ffu status UFS device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 879) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 880) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 881)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 882) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 883)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 884) What: /sys/bus/platform/drivers/ufshcd/*/attributes/psa_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 885) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 886) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 887) Description: This file show the PSA feature status. The full information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 888) about the attribute could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 889)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 890) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 891)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 892) What: /sys/bus/platform/drivers/ufshcd/*/attributes/psa_data_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 893) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 894) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 895) Description: This file shows the amount of data that the host plans to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 896) load to all logical units in pre-soldering state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 897) The full information about the attribute could be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 898) UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 899)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 900) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 901)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 902)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 903) What: /sys/class/scsi_device/*/device/dyn_cap_needed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 904) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 905) Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 906) Description: This file shows the The amount of physical memory needed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 907) to be removed from the physical memory resources pool of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 908) the particular logical unit. The full information about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 909) the attribute could be found at UFS specifications 2.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 910)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 911) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 912)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 913)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 914) What: /sys/bus/platform/drivers/ufshcd/*/rpm_lvl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 915) Date: September 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 916) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 917) Description: This entry could be used to set or show the UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 918) runtime power management level. The current driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 919) implementation supports 6 levels with next target states:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 920)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 921) == ====================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 922) 0 an UFS device will stay active, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 923) stay active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 924) 1 an UFS device will stay active, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 925) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 926) 2 an UFS device will moved to sleep, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 927) stay active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 928) 3 an UFS device will moved to sleep, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 929) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 930) 4 an UFS device will be powered off, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 931) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 932) 5 an UFS device will be powered off, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 933) be powered off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 934) == ====================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 935)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 936) What: /sys/bus/platform/drivers/ufshcd/*/rpm_target_dev_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 937) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 938) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 939) Description: This entry shows the target power mode of an UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 940) for the chosen runtime power management level.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 941)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 942) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 943)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 944) What: /sys/bus/platform/drivers/ufshcd/*/rpm_target_link_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 945) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 946) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 947) Description: This entry shows the target state of an UFS UIC link
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 948) for the chosen runtime power management level.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 949)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 950) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 951)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 952) What: /sys/bus/platform/drivers/ufshcd/*/spm_lvl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 953) Date: September 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 954) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 955) Description: This entry could be used to set or show the UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 956) system power management level. The current driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 957) implementation supports 6 levels with next target states:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 958)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 959) == ====================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 960) 0 an UFS device will stay active, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 961) stay active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 962) 1 an UFS device will stay active, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 963) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 964) 2 an UFS device will moved to sleep, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 965) stay active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 966) 3 an UFS device will moved to sleep, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 967) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 968) 4 an UFS device will be powered off, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 969) hibernate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 970) 5 an UFS device will be powered off, an UIC link will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 971) be powered off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 972) == ====================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 973)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 974) What: /sys/bus/platform/drivers/ufshcd/*/spm_target_dev_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 975) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 976) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 977) Description: This entry shows the target power mode of an UFS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 978) for the chosen system power management level.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 979)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 980) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 981)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 982) What: /sys/bus/platform/drivers/ufshcd/*/spm_target_link_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 983) Date: February 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 984) Contact: Subhash Jadavani <subhashj@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 985) Description: This entry shows the target state of an UFS UIC link
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 986) for the chosen system power management level.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 987)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 988) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 989)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 990) What: /sys/bus/platform/drivers/ufshcd/*/monitor/monitor_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 991) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 992) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 993) Description: This file shows the status of performance monitor enablement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 994) and it can be used to start/stop the monitor. When the monitor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 995) is stopped, the performance data collected is also cleared.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 996)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 997) What: /sys/bus/platform/drivers/ufshcd/*/monitor/monitor_chunk_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 998) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 999) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1000) Description: This file tells the monitor to focus on requests transferring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1001) data of specific chunk size (in Bytes). 0 means any chunk size.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1002) It can only be changed when monitor is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1003)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1004) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_total_sectors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1005) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1006) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1007) Description: This file shows how many sectors (in 512 Bytes) have been
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1008) sent from device to host after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1009)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1010) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1011)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1012) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_total_busy
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1013) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1014) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1015) Description: This file shows how long (in micro seconds) has been spent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1016) sending data from device to host after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1017)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1018) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1019)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1020) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_nr_requests
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1021) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1022) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1023) Description: This file shows how many read requests have been sent after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1024) monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1025)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1026) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1027)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1028) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1029) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1030) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1031) Description: This file shows the maximum latency (in micro seconds) of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1032) read requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1033)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1034) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1035)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1036) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_min
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1037) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1038) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1039) Description: This file shows the minimum latency (in micro seconds) of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1040) read requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1041)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1042) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1043)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1044) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_avg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1045) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1046) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1047) Description: This file shows the average latency (in micro seconds) of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1048) read requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1049)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1050) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1051)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1052) What: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_sum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1053) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1054) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1055) Description: This file shows the total latency (in micro seconds) of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1056) read requests sent after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1057)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1058) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1059)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1060) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_total_sectors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1061) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1062) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1063) Description: This file shows how many sectors (in 512 Bytes) have been sent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1064) from host to device after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1065)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1066) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1067)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1068) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_total_busy
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1069) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1070) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1071) Description: This file shows how long (in micro seconds) has been spent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1072) sending data from host to device after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1073)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1074) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1075)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1076) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_nr_requests
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1077) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1078) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1079) Description: This file shows how many write requests have been sent after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1080) monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1081)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1082) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1083)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1084) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_max
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1085) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1086) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1087) Description: This file shows the maximum latency (in micro seconds) of write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1088) requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1089)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1090) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1091)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1092) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_min
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1093) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1094) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1095) Description: This file shows the minimum latency (in micro seconds) of write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1096) requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1097)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1098) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1099)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1100) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_avg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1101) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1102) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1103) Description: This file shows the average latency (in micro seconds) of write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1104) requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1105)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1106) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1108) What: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_sum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1109) Date: January 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1110) Contact: Can Guo <cang@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1111) Description: This file shows the total latency (in micro seconds) of write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1112) requests after monitor gets started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1114) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1115)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1116) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_presv_us_en
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1117) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1118) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1119) Description: This entry shows if preserve user-space was configured
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1120)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1121) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1122)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1123) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_shared_alloc_units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1124) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1125) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1126) Description: This entry shows the shared allocated units of WB buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1127)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1128) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1130) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1131) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1132) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1133) Description: This entry shows the configured WB type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1134) 0x1 for shared buffer mode. 0x0 for dedicated buffer mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1135)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1136) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1137)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1138) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_buff_cap_adj
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1139) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1140) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1141) Description: This entry shows the total user-space decrease in shared
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1142) buffer mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1143) The value of this parameter is 3 for TLC NAND when SLC mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1144) is used as WriteBooster Buffer. 2 for MLC NAND.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1145)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1146) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1147)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1148) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_alloc_units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1149) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1150) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1151) Description: This entry shows the Maximum total WriteBooster Buffer size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1152) which is supported by the entire device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1153)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1154) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1155)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1156) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_wb_luns
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1157) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1158) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1159) Description: This entry shows the maximum number of luns that can support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1160) WriteBooster.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1161)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1162) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1164) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_red_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1165) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1166) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1167) Description: The supportability of user space reduction mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1168) and preserve user space mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1169) 00h: WriteBooster Buffer can be configured only in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1170) user space reduction type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1171) 01h: WriteBooster Buffer can be configured only in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1172) preserve user space type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1173) 02h: Device can be configured in either user space
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1174) reduction type or preserve user space type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1175)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1176) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1177)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1178) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_wb_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1179) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1180) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1181) Description: The supportability of WriteBooster Buffer type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1183) === ==========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1184) 00h LU based WriteBooster Buffer configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1185) 01h Single shared WriteBooster Buffer configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1186) 02h Supporting both LU based WriteBooster.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1187) Buffer and Single shared WriteBooster Buffer configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1188) === ==========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1189)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1190) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1192) What: /sys/bus/platform/drivers/ufshcd/*/flags/wb_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1193) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1194) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1195) Description: This entry shows the status of WriteBooster.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1196)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1197) == ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1198) 0 WriteBooster is not enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1199) 1 WriteBooster is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1200) == ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1202) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1204) What: /sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_en
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1205) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1206) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1207) Description: This entry shows if flush is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1208)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1209) == =================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1210) 0 Flush operation is not performed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1211) 1 Flush operation is performed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1212) == =================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1214) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1216) What: /sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_during_h8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1217) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1218) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1219) Description: Flush WriteBooster Buffer during hibernate state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1220)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1221) == =================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1222) 0 Device is not allowed to flush the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1223) WriteBooster Buffer during link hibernate state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1224) 1 Device is allowed to flush the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1225) WriteBooster Buffer during link hibernate state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1226) == =================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1227)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1228) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1230) What: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_avail_buf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1231) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1232) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1233) Description: This entry shows the amount of unused WriteBooster buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1234) available.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1235)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1236) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1237)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1238) What: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_cur_buf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1239) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1240) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1241) Description: This entry shows the amount of unused current buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1242)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1243) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1244)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1245) What: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_flush_status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1246) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1247) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1248) Description: This entry shows the flush operation status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1249)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1250)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1251) === ======================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1252) 00h idle
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1253) 01h Flush operation in progress
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1254) 02h Flush operation stopped prematurely.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1255) 03h Flush operation completed successfully
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1256) 04h Flush operation general failure
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1257) === ======================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1258)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1259) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1260)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1261) What: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_life_time_est
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1262) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1263) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1264) Description: This entry shows an indication of the WriteBooster Buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1265) lifetime based on the amount of performed program/erase cycles
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1267) === =============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1268) 01h 0% - 10% WriteBooster Buffer life time used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1269) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1270) 0Ah 90% - 100% WriteBooster Buffer life time used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1271) === =============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1272)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1273) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1274)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1275) What: /sys/class/scsi_device/*/device/unit_descriptor/wb_buf_alloc_units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1276) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1277) Contact: Asutosh Das <asutoshd@codeaurora.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1278) Description: This entry shows the configured size of WriteBooster buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1279) 0400h corresponds to 4GB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1280)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1281) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1282)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1283) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/hpb_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1284) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1285) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1286) Description: This entry shows the HPB specification version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1287) The full information about the descriptor could be found at UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1288) HPB (Host Performance Booster) Extension specifications.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1289) Example: version 1.2.3 = 0123h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1290)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1291) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1292)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1293) What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/hpb_control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1294) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1295) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1296) Description: This entry shows an indication of the HPB control mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1297) 00h: Host control mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1298) 01h: Device control mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1299)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1300) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1301)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1302) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/hpb_region_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1303) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1304) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1305) Description: This entry shows the bHPBRegionSize which can be calculated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1306) as in the following (in bytes):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1307) HPB Region size = 512B * 2^bHPBRegionSize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1308)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1309) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1310)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1311) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/hpb_number_lu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1312) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1313) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1314) Description: This entry shows the maximum number of HPB LU supported by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1315) the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1316) 00h: HPB is not supported by the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1317) 01h ~ 20h: Maximum number of HPB LU supported by the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1318)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1319) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1320)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1321) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/hpb_subregion_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1322) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1323) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1324) Description: This entry shows the bHPBSubRegionSize, which can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1325) calculated as in the following (in bytes) and shall be a multiple of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1326) logical block size:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1327) HPB Sub-Region size = 512B x 2^bHPBSubRegionSize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1328) bHPBSubRegionSize shall not exceed bHPBRegionSize.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1329)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1330) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1331)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1332) What: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/hpb_max_active_regions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1333) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1334) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1335) Description: This entry shows the maximum number of active HPB regions that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1336) is supported by the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1337)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1338) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1339)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1340) What: /sys/class/scsi_device/*/device/unit_descriptor/hpb_lu_max_active_regions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1341) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1342) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1343) Description: This entry shows the maximum number of HPB regions assigned to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1344) the HPB logical unit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1345)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1346) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1347)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1348) What: /sys/class/scsi_device/*/device/unit_descriptor/hpb_pinned_region_start_offset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1349) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1350) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1351) Description: This entry shows the start offset of HPB pinned region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1352)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1353) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1354)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1355) What: /sys/class/scsi_device/*/device/unit_descriptor/hpb_number_pinned_regions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1356) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1357) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1358) Description: This entry shows the number of HPB pinned regions assigned to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1359) the HPB logical unit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1360)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1361) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1362)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1363) What: /sys/class/scsi_device/*/device/hpb_stats/hit_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1364) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1365) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1366) Description: This entry shows the number of reads that changed to HPB read.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1367)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1368) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1369)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1370) What: /sys/class/scsi_device/*/device/hpb_stats/miss_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1371) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1372) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1373) Description: This entry shows the number of reads that cannot be changed to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1374) HPB read.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1375)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1376) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1377)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1378) What: /sys/class/scsi_device/*/device/hpb_stats/rb_noti_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1379) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1380) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1381) Description: This entry shows the number of response UPIUs that has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1382) recommendations for activating sub-regions and/or inactivating region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1383)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1384) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1385)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1386) What: /sys/class/scsi_device/*/device/hpb_stats/rb_active_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1387) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1388) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1389) Description: This entry shows the number of active sub-regions recommended by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1390) response UPIUs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1391)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1392) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1393)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1394) What: /sys/class/scsi_device/*/device/hpb_stats/rb_inactive_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1395) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1396) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1397) Description: This entry shows the number of inactive regions recommended by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1398) response UPIUs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1399)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1400) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1401)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1402) What: /sys/class/scsi_device/*/device/hpb_stats/map_req_cnt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1403) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1404) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1405) Description: This entry shows the number of read buffer commands for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1406) activating sub-regions recommended by response UPIUs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1407)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1408) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1409)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1410) What: /sys/class/scsi_device/*/device/hpb_params/requeue_timeout_ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1411) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1412) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1413) Description: This entry shows the requeue timeout threshold for write buffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1414) command in ms. This value can be changed by writing proper integer to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1415) this entry.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1416)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1417) What: /sys/bus/platform/drivers/ufshcd/*/attributes/max_data_size_hpb_single_cmd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1418) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1419) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1420) Description: This entry shows the maximum HPB data size for using single HPB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1421) command.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1422)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1423) === ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1424) 00h 4KB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1425) 01h 8KB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1426) 02h 12KB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1427) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1428) FFh 1024KB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1429) === ========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1430)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1431) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1432)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1433) What: /sys/bus/platform/drivers/ufshcd/*/flags/hpb_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1434) Date: June 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1435) Contact: Daejun Park <daejun7.park@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1436) Description: This entry shows the status of HPB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1437)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1438) == ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1439) 0 HPB is not enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1440) 1 HPB is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1441) == ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1442)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1443) The file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1444)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1445) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/activation_thld
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1446) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1447) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1448) Description: In host control mode, reads are the major source of activation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1449) trials. once this threshold hs met, the region is added to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1450) "to-be-activated" list. Since we reset the read counter upon
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1451) write, this include sending a rb command updating the region
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1452) ppn as well.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1453)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1454) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/normalization_factor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1455) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1456) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1457) Description: In host control mode, We think of the regions as "buckets".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1458) Those buckets are being filled with reads, and emptied on write.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1459) We use entries_per_srgn - the amount of blocks in a subregion as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1460) our bucket size. This applies because HPB1.0 only concern a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1461) single-block reads. Once the bucket size is crossed, we trigger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1462) a normalization work - not only to avoid overflow, but mainly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1463) because we want to keep those counters normalized, as we are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1464) using those reads as a comparative score, to make various decisions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1465) The normalization is dividing (shift right) the read counter by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1466) the normalization_factor. If during consecutive normalizations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1467) an active region has exhaust its reads - inactivate it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1468)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1469) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/eviction_thld_enter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1470) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1471) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1472) Description: Region deactivation is often due to the fact that eviction took
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1473) place: a region become active on the expense of another. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1474) happening when the max-active-regions limit has crossed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1475) In host mode, eviction is considered an extreme measure. We
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1476) want to verify that the entering region has enough reads, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1477) the exiting region has much less reads. eviction_thld_enter is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1478) the min reads that a region must have in order to be considered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1479) as a candidate to evict other region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1480)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1481) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/eviction_thld_exit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1482) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1483) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1484) Description: same as above for the exiting region. A region is consider to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1485) be a candidate to be evicted, only if it has less reads than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1486) eviction_thld_exit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1487)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1488) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/read_timeout_ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1489) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1490) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1491) Description: In order not to hang on to “cold” regions, we shall inactivate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1492) a region that has no READ access for a predefined amount of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1493) time - read_timeout_ms. If read_timeout_ms has expired, and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1494) region is dirty - it is less likely that we can make any use of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1495) HPB-READing it. So we inactivate it. Still, deactivation has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1496) its overhead, and we may still benefit from HPB-READing this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1497) region if it is clean - see read_timeout_expiries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1498)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1499) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/read_timeout_expiries
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1500) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1501) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1502) Description: if the region read timeout has expired, but the region is clean,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1503) just re-wind its timer for another spin. Do that as long as it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1504) is clean and did not exhaust its read_timeout_expiries threshold.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1505)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1506) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/timeout_polling_interval_ms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1507) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1508) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1509) Description: the frequency in which the delayed worker that checks the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1510) read_timeouts is awaken.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1511)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1512) What: /sys/class/scsi_device/*/device/hpb_param_sysfs/inflight_map_req
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1513) Date: February 2021
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1514) Contact: Avri Altman <avri.altman@wdc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1515) Description: in host control mode the host is the originator of map requests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1516) To not flood the device with map requests, use a simple throttling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1517) mechanism that limits the number of inflight map requests.