Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbdFLUu3 (ORCPT ); Mon, 12 Jun 2017 16:50:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59624 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752583AbdFLUu2 (ORCPT ); Mon, 12 Jun 2017 16:50:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 12 Jun 2017 13:50:25 -0700 From: Subhash Jadavani To: butao Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, guodong.xu@linaro.org, gengjianfeng@hisilicon.com, kongfei@hisilicon.com, suzhuangluan@hisilicon.com, steven.yujianfeng@hisilicon.com, zangleigang@hisilicon.com, linux-scsi-owner@vger.kernel.org Subject: Re: [PATCH 1/3] scsi:ufs:add AHIT for hi3660 ufs In-Reply-To: <20170610012045.33325-1-butao@hisilicon.com> References: <20170610012045.33325-1-butao@hisilicon.com> Message-ID: User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 35 On 2017-06-09 18:20, butao wrote: > add Auto-Hibernate Idle Timer value for hi3660 ufs > > Signed-off-by: Bu Tao > Signed-off-by: Geng Jianfeng > Signed-off-by: Zang Leigang > Signed-off-by: Yu Jianfeng > --- > drivers/scsi/ufs/ufshci.h | 3 +++ > 1 file changed, 3 insertions(+) > mode change 100644 => 100755 drivers/scsi/ufs/ufshci.h > > diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h > old mode 100644 > new mode 100755 > index f60145d4a66e..5ab9dfe4280e > --- a/drivers/scsi/ufs/ufshci.h > +++ b/drivers/scsi/ufs/ufshci.h > @@ -151,6 +151,9 @@ enum { > CONTROLLER_FATAL_ERROR |\ > SYSTEM_BUS_FATAL_ERROR) > > +/* AHIT - Auto-Hibernate Idle Timer */ > +#define UFS_AHIT_AH8ITV_MASK 0x3FF This should be added only when we would need it in the driver. > + > /* HCS - Host Controller Status 30h */ > #define DEVICE_PRESENT UFS_BIT(0) > #define UTP_TRANSFER_REQ_LIST_READY UFS_BIT(1) -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project