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