RE: [PATCH v1] ufs: introduce UFSHCD_QUIRK_USE_OF_HCE quirk

2016-11-08 Thread Kiwoong Kim
> On 2016-11-07 23:57, Kiwoong Kim wrote: > > Some host controller might not initialize itself by setting "Host > > Controller Enable" to 1. > > > They should do this to reset UIC. > > I am not sure if i understood this statment. can you give more details? UFSHCI spec says as follows: - When H

Re: [PATCH v1] ufs: introduce UFSHCD_QUIRK_USE_OF_HCE quirk

2016-11-08 Thread Subhash Jadavani
On 2016-11-07 23:57, Kiwoong Kim wrote: Some host controller might not initialize itself by setting "Host Controller Enable" to 1. They should do this to reset UIC. I am not sure if i understood this statment. can you give more details? In such cases, 'DME reset' and 'DME enable' are requi

[PATCH v1] ufs: introduce UFSHCD_QUIRK_USE_OF_HCE quirk

2016-11-07 Thread Kiwoong Kim
Some host controller might not initialize itself by setting "Host Controller Enable" to 1. They should do this to reset UIC. In such cases, 'DME reset' and 'DME enable' are required for normal subsequent operations. Signed-off-by: Kiwoong Kim --- drivers/scsi/ufs/ufshcd.c | 44 ++