Commit 96a7141
scsi: ufs: core: Add support for reinitializing the UFS device
Some platforms like Qcom, requires the UFS device to be reinitialized after
switching to maximum gear speed. So add support for that in UFS core by
introducing a new quirk (UFSHCD_CAP_REINIT_AFTER_MAX_GEAR_SWITCH) and doing
the reinitialization, if the quirk is enabled by the controller driver.
Suggested-by: Can Guo <quic_cang@quicinc.com>
Tested-by: Andrew Halaney <ahalaney@redhat.com> # Qdrive3/sa8540p-ride
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent c2c38c5 commit 96a7141
2 files changed
+53
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8231 | 8231 | | |
8232 | 8232 | | |
8233 | 8233 | | |
8234 | | - | |
8235 | | - | |
8236 | | - | |
8237 | | - | |
8238 | | - | |
8239 | | - | |
8240 | | - | |
8241 | | - | |
| 8234 | + | |
8242 | 8235 | | |
8243 | 8236 | | |
8244 | | - | |
8245 | | - | |
8246 | 8237 | | |
8247 | 8238 | | |
8248 | 8239 | | |
8249 | 8240 | | |
8250 | 8241 | | |
8251 | | - | |
| 8242 | + | |
8252 | 8243 | | |
8253 | 8244 | | |
8254 | | - | |
| 8245 | + | |
8255 | 8246 | | |
8256 | 8247 | | |
8257 | 8248 | | |
| |||
8262 | 8253 | | |
8263 | 8254 | | |
8264 | 8255 | | |
8265 | | - | |
| 8256 | + | |
8266 | 8257 | | |
8267 | 8258 | | |
8268 | 8259 | | |
8269 | 8260 | | |
8270 | | - | |
| 8261 | + | |
8271 | 8262 | | |
8272 | 8263 | | |
8273 | 8264 | | |
| |||
8276 | 8267 | | |
8277 | 8268 | | |
8278 | 8269 | | |
8279 | | - | |
| 8270 | + | |
8280 | 8271 | | |
8281 | 8272 | | |
8282 | 8273 | | |
| |||
8297 | 8288 | | |
8298 | 8289 | | |
8299 | 8290 | | |
| 8291 | + | |
| 8292 | + | |
| 8293 | + | |
| 8294 | + | |
| 8295 | + | |
| 8296 | + | |
| 8297 | + | |
| 8298 | + | |
| 8299 | + | |
| 8300 | + | |
| 8301 | + | |
| 8302 | + | |
| 8303 | + | |
| 8304 | + | |
| 8305 | + | |
| 8306 | + | |
| 8307 | + | |
| 8308 | + | |
| 8309 | + | |
| 8310 | + | |
| 8311 | + | |
| 8312 | + | |
| 8313 | + | |
| 8314 | + | |
| 8315 | + | |
| 8316 | + | |
| 8317 | + | |
| 8318 | + | |
| 8319 | + | |
| 8320 | + | |
| 8321 | + | |
| 8322 | + | |
| 8323 | + | |
| 8324 | + | |
8300 | 8325 | | |
8301 | 8326 | | |
8302 | | - | |
| 8327 | + | |
| 8328 | + | |
| 8329 | + | |
| 8330 | + | |
| 8331 | + | |
8303 | 8332 | | |
8304 | 8333 | | |
| 8334 | + | |
| 8335 | + | |
8305 | 8336 | | |
8306 | 8337 | | |
8307 | 8338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
599 | 605 | | |
600 | 606 | | |
601 | 607 | | |
| |||
0 commit comments