Re: [PATCH v1 2/5] scsi: ufs: Add new bit field PA_INIT to UECDL register

From: cang
Date: Tue Nov 12 2019 - 19:41:26 EST


On 2019-11-12 15:53, Avri Altman wrote:

Add new bit field (bit-15) PA_INIT to UECDL register, this will correctly handle
any PA_INIT error.

Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
Acked-by Avri Altman <avri.altman@xxxxxxx>

This is a HCI3.0 change, so maybe make note of that?
But UIC_DATA_LINK_LAYER_ERROR_CODE_MASK isn't being used anywhere,
better just remove it, don't you think?
Instead, while at it, fix ufshcd_update_uic_error to check
UIC_DATA_LINK_LAYER_ERROR when checking for data link layer errors?

Hi Avri,

I will squash this change to my patch, it is used there.
[PATCH v3 5/7] scsi: ufs: Fix irq return code
url - https://lore.kernel.org/patchwork/patch/1148656/

Thanks,
Can Guo.