lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cb03a80c6e0621b25d9c41be4e34bf47@codeaurora.org>
Date:   Mon, 12 Jun 2017 13:50:25 -0700
From:   Subhash Jadavani <subhashj@...eaurora.org>
To:     butao <butao@...ilicon.com>
Cc:     jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        guodong.xu@...aro.org, gengjianfeng@...ilicon.com,
        kongfei@...ilicon.com, suzhuangluan@...ilicon.com,
        steven.yujianfeng@...ilicon.com, zangleigang@...ilicon.com,
        linux-scsi-owner@...r.kernel.org
Subject: Re: [PATCH 1/3] scsi:ufs:add AHIT for hi3660 ufs

On 2017-06-09 18:20, butao wrote:
> add Auto-Hibernate Idle Timer value for hi3660 ufs
> 
> Signed-off-by: Bu Tao <butao@...ilicon.com>
> Signed-off-by: Geng Jianfeng <gengjianfeng@...ilicon.com>
> Signed-off-by: Zang Leigang <zangleigang@...ilicon.com>
> Signed-off-by: Yu Jianfeng <steven.yujianfeng@...ilicon.com>
> ---
>  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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ