Re: [PATCH v6 02/10] scsi: ufshpb: Add host control mode support to rsp_upiu

2021-03-23 Thread Zang Leigang
On Mon, Mar 22, 2021 at 10:10:36AM +0200, Avri Altman wrote: > In device control mode, the device may recommend the host to either > activate or inactivate a region, and the host should follow. Meaning > those are not actually recommendations, but more of instructions. > > On the contrary, in host

Re: ufshcd_queuecommand() triggering after ufshcd_suspend()?

2019-01-13 Thread Zang Leigang
in ufshcd_queuecommand be checking the > clk_gating.is_suspended flag before proceeding? > > Other ideas? The logic all seems to be in the generic code, but I'm > not sure if maybe the ufs-hisi.c code is mis-managing something? > > thanks > -john -- Thanks, Zang Leigang

[PATCH v2] UFS: Date Segment only need for WRITE DESCRIPTOR

2016-08-25 Thread Zang Leigang
Some device may cause a compatibility issue while receiving a Query UPIU with Data Segment which does not expected. Signed-off-by: Zang Leigang --- drivers/scsi/ufs/ufshcd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs

[PATCH] UFS: Date Segment only need for WRITE DESCRIPTOR

2016-08-25 Thread Zang Leigang
Some device may cause a compatibility issue while receiving a Query UPIU with Data Segment which does not expected. Signed-off-by: Zang Leigang --- drivers/scsi/ufs/ufshcd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs