Can Guo
0834253734
scsi: ufs: Do not clear the DL layer timers
...
During power mode change, PACP_PWR_Req frame sends PAPowerModeUserData
parameters (and they are considered valid by device if Flags[4] -
UserDataValid bit is set in the same frame). Currently we don't set these
PAPowerModeUserData parameters and hardware always sets UserDataValid bit
which would clear all the DL layer timeout values of the peer device after
the power mode change.
This change sets the PAPowerModeUserData[0..5] to UniPro specification
recommended default values, in addition we are also setting the relevant
DME_LOCAL_* timer attributes as required by UFS HCI specification.
Link: https://lore.kernel.org/r/0101016ed3d688a4-cfaeb1c9-238b-46c4-9c89-d48c410ba325-000000@us-west-2.amazonses.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-12-19 22:08:53 -05:00
..
2019-12-09 10:36:44 -08:00
2019-07-11 15:14:01 -07:00
2019-07-30 12:12:59 -04:00
2019-11-19 21:37:34 -05:00
2019-10-24 21:22:32 -04:00
2019-12-09 10:36:44 -08:00
2019-09-30 23:59:53 -04:00
2019-11-19 22:31:18 -05:00
2019-11-19 21:37:34 -05:00
2019-11-12 22:21:34 -05:00
2019-12-09 10:36:44 -08:00
2019-12-02 13:37:02 -08:00
2019-11-07 06:43:18 -07:00
2019-05-30 11:26:32 -07:00
2019-12-02 13:37:02 -08:00
2019-09-21 10:50:15 -07:00
2019-11-06 00:04:02 -05:00
2019-11-12 22:21:34 -05:00
2019-09-21 10:50:15 -07:00
2019-11-21 20:47:17 -05:00
2019-10-24 21:22:32 -04:00
2019-07-29 21:12:35 -04:00
2019-12-09 19:15:52 -05:00
2019-12-14 12:51:57 -08:00
2019-12-08 12:23:42 -08:00
2019-10-24 21:20:31 -04:00
2019-09-30 22:42:41 -04:00
2019-11-12 22:21:34 -05:00
2019-12-08 12:23:42 -08:00
2019-10-24 21:22:32 -04:00
2019-10-24 21:22:32 -04:00
2019-12-14 12:51:57 -08:00
2019-12-09 19:01:51 -05:00
2019-12-09 10:36:44 -08:00
2019-01-29 00:40:54 -05:00
2019-08-12 21:58:07 -04:00
2019-12-19 22:08:53 -05:00
2019-02-25 21:37:25 -05:00
2019-03-02 11:39:54 -08:00
2019-10-23 17:23:44 +02:00
2018-10-17 21:58:51 -04:00
2019-05-24 17:36:45 +02:00
2019-01-08 07:58:37 -05:00
2019-05-21 10:50:45 +02:00
2019-10-18 15:01:54 +02:00
2019-05-21 10:50:45 +02:00
2019-07-11 15:17:41 -07:00
2019-07-11 15:17:41 -07:00
2019-05-21 10:50:45 +02:00
2018-12-18 23:13:12 -05:00
2019-05-21 10:50:45 +02:00
2019-11-12 22:21:34 -05:00
2019-11-12 22:21:35 -05:00
2019-06-05 17:37:11 +02:00
2019-06-05 17:37:11 +02:00
2019-05-21 10:50:45 +02:00
2019-10-09 23:39:35 -04:00
2018-12-18 23:19:21 -05:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-12-19 22:08:51 -05:00
2019-12-19 22:08:51 -05:00
2019-07-30 12:18:24 -04:00
2019-06-18 19:46:18 -04:00
2019-07-30 12:17:28 -04:00
2019-06-18 19:46:22 -04:00
2019-05-21 10:50:45 +02:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:57:42 -05:00
2019-05-30 11:25:18 -07:00
2019-01-08 21:58:35 -05:00
2019-05-21 10:50:45 +02:00
2019-11-01 20:12:50 -04:00
2019-07-11 15:14:01 -07:00
2019-11-07 06:43:18 -07:00
2019-06-18 19:46:18 -04:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-07-11 15:17:41 -07:00
2019-05-21 11:28:46 +02:00
2019-07-11 15:17:41 -07:00
2019-05-30 11:26:35 -07:00
2019-09-30 22:46:40 -04:00
2018-11-06 21:31:28 -05:00
2019-06-05 17:36:37 +02:00
2019-11-19 21:37:35 -05:00
2019-05-30 11:26:37 -07:00
2019-05-21 10:50:45 +02:00
2019-11-07 06:43:18 -07:00
2019-05-24 17:36:45 +02:00
2019-07-11 15:14:01 -07:00
2019-12-09 19:19:28 -05:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-11-12 22:21:34 -05:00
2019-07-17 22:39:27 +09:00
2019-09-23 23:09:42 -04:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2018-12-18 23:13:12 -05:00
2019-07-11 15:17:41 -07:00
2019-05-30 11:26:39 -07:00
2018-12-28 14:48:06 -08:00
2018-10-17 21:06:49 -04:00
2019-05-20 10:56:43 -04:00
2018-10-17 21:07:54 -04:00
2019-10-24 21:22:32 -04:00
2019-05-24 17:36:45 +02:00
2019-11-19 21:37:34 -05:00
2019-06-20 15:37:02 -04:00
2019-10-24 21:22:32 -04:00
2019-05-24 17:39:02 +02:00
2019-10-23 17:23:44 +02:00
2019-05-30 11:26:35 -07:00
2019-06-20 15:21:33 -04:00
2019-05-30 11:26:38 -07:00
2019-08-16 11:33:56 -07:00
2019-08-16 11:33:56 -07:00
2019-03-19 17:11:37 -04:00
2018-12-18 23:19:21 -05:00
2019-08-07 21:32:53 -04:00
2019-02-13 22:07:03 -05:00
2019-06-05 17:37:17 +02:00
2019-05-24 17:36:45 +02:00
2019-11-19 21:37:34 -05:00
2019-07-30 12:42:55 -04:00
2019-05-21 06:16:21 -04:00
2019-07-11 20:39:22 -04:00
2019-05-30 11:26:35 -07:00
2019-10-03 21:43:04 -04:00
2019-05-21 06:16:21 -04:00
2019-12-19 22:08:52 -05:00
2019-09-30 23:07:16 -04:00
2019-05-30 11:26:35 -07:00
2019-09-12 07:11:58 -06:00
2019-11-01 20:12:50 -04:00
2019-07-30 13:07:42 +02:00
2019-04-15 22:25:00 -04:00
2019-05-30 11:29:53 -07:00
2019-12-02 13:37:02 -08:00
2019-11-06 00:06:03 -05:00
2019-07-11 15:14:01 -07:00
2019-12-09 20:36:28 -05:00
2019-11-21 21:12:39 -05:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:56 +02:00
2019-12-02 13:37:02 -08:00
2019-06-05 17:37:14 +02:00
2019-12-08 12:23:42 -08:00
2019-12-08 12:23:42 -08:00
2019-12-08 12:23:42 -08:00
2019-07-11 15:14:01 -07:00
2019-12-02 13:37:02 -08:00
2018-12-18 23:19:21 -05:00
2019-05-24 17:36:45 +02:00
2019-10-09 23:35:42 -04:00
2019-11-26 13:02:26 -07:00
2019-05-21 06:16:23 -04:00
2019-10-23 17:23:44 +02:00
2019-05-30 11:26:32 -07:00
2019-11-21 20:10:44 -05:00
2019-11-12 22:21:34 -05:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-09-10 22:10:17 -04:00
2019-07-11 15:17:41 -07:00
2019-08-07 21:35:59 -04:00
2019-05-24 17:39:02 +02:00
2019-07-11 15:14:01 -07:00
2018-11-15 14:27:08 -05:00
2018-12-18 23:13:12 -05:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-11-12 22:21:34 -05:00