Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4366541pxk; Tue, 8 Sep 2020 19:05:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR1Mz5qb15lwhl/8vJGx2acplRH3P/GgscdsVUvb0JfSDmTAvV+5vAImGcZjYU2KPrYl4Q X-Received: by 2002:a17:906:a1cf:: with SMTP id bx15mr1290091ejb.231.1599617143734; Tue, 08 Sep 2020 19:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599617143; cv=none; d=google.com; s=arc-20160816; b=YBYJ/moZvE8zrxNuw3R6SM7BtxKM450Z1PmRWFfQ063fa/nws7vjxsW5QUjRUXsYUA 3m59oB7JQCIdvo4Q3zRkX4Ist4WwlDABX2XNbCboLwvhQ+5Hgrawul8YgOTgv6tcX5l3 HwNvxBSb1A6+6lqzQsAJvdyp7iaahbMYYFbNsW5FtefJOapGCjKYhSO1T0TwEcPCP35d 9nIQ+vHnREw98hBryA9g+FK80uOQx8+qmUPZc7dY+bxMg1iSOnfx/WF9JBqYaLl7j0ij y5BgmpY+zdIQCgN36Ok7RmWzVNbEHAgtwW+84q2TDVi3FaFuhDc9iArbLzvSsnSZZRm3 tQ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=CwfXHWSMExojBrq5MqRUji39v4s5dmscJT5bDf3eIaE=; b=OZ1jzAYLAiameIEIO8tmiU8nj21q0CsYeWDNdl0+iz+AotWrMwC+JVEIaSWJ8k+SAn HMKm0nXpkAdA/2mg1dp0N+AEKL/Cqy24xrV5qdYviESRCFGm+/JI/UdopUF/QeCURRFV WN/+bLISo0qsB1PQT8X7CifR7ItJrkznSqPzFd8/nkJkE/elxXaeiGHPa14+nge6EKv9 8JRTKaTqmdktxvpIZYjfblMJLewwcAmDNil5UZdACOEyKGako0u7Y/32KWvAP9sNhsdK BiUPRPIq97+7U5rhRx8r/vZ2OSQSS5afbrl0Im8DvgddapEh+moLswuNN46rj2DWbh4d Pp9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=bPuFdKyA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si500901ejq.737.2020.09.08.19.05.19; Tue, 08 Sep 2020 19:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=bPuFdKyA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728584AbgIICEU (ORCPT + 99 others); Tue, 8 Sep 2020 22:04:20 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:36448 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726489AbgIICER (ORCPT ); Tue, 8 Sep 2020 22:04:17 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0891xvwb146266; Wed, 9 Sep 2020 02:03:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=CwfXHWSMExojBrq5MqRUji39v4s5dmscJT5bDf3eIaE=; b=bPuFdKyAJyZ9Qv4n/FAvjk3aRivD4LICe2rh7PDBMKCWaRKJYJ8Yxc4CgxqqiVImTRjS QMcPCzmeJWmToiu2bJiEc/gO1D+FHIVTetCNzGwUvE+wX3tJjiRnxxdQ8pCyr6YqKkJi 34NZg6oSxAaYOFU3QqYgqxSV9c4YwY1JNFoZz/ShNt/EbT8yTGMAAvkKkZgw13utHP+j mSiZyvndSK16VXCD/jP0iZCpShr/jRw5CD+T/ZVsZW6Y43zMl4ahDABxNkTSX5oSShPj HPuRomtPmQPErcKP6b86CwJ53X1M7wz2xkyfsQEhLlTM8TmxItwq8Vd1AyI45V21us3C 9Q== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 33c3amxt9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 09 Sep 2020 02:03:59 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08921SwF176092; Wed, 9 Sep 2020 02:03:58 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 33cmerwwf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Sep 2020 02:03:58 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08923tIT009003; Wed, 9 Sep 2020 02:03:55 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Sep 2020 19:03:54 -0700 To: "Bao D. Nguyen" Cc: cang@codeaurora.org, asutoshd@codeaurora.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, Alim Akhtar , Avri Altman , "James E.J. Bottomley" , Stanley Chu , Nitin Rawat , Bean Huo , Bart Van Assche , linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH v1 1/1] scsi: ufshcd: Allow zero value setting to Auto-Hibernate Timer From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: Date: Tue, 08 Sep 2020 22:03:51 -0400 In-Reply-To: (Bao D. Nguyen's message of "Fri, 28 Aug 2020 18:05:13 -0700") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 adultscore=0 bulkscore=0 phishscore=0 malwarescore=0 mlxlogscore=752 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090017 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 priorityscore=1501 clxscore=1011 bulkscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=759 suspectscore=1 adultscore=0 mlxscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090017 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bao, > The zero value Auto-Hibernate Timer is a valid setting, and it > indicates the Auto-Hibernate feature being disabled. Correctly support > this setting. In addition, when this value is queried from sysfs, read > from the host controller's register and return that value instead of > using the RAM value. Applied to my 5.10 staging tree. Thanks! -- Martin K. Petersen Oracle Linux Engineering