Received: by 10.213.65.68 with SMTP id h4csp1339678imn; Mon, 19 Mar 2018 01:03:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELvDaEzzh/ALmDCqBA8rBLgKMZTMurRvVZcODUddDfAr6FK8TCEyvfOQ2lKtX3o6+Sf9Epqo X-Received: by 10.98.60.4 with SMTP id j4mr2176619pfa.229.1521446616115; Mon, 19 Mar 2018 01:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521446616; cv=none; d=google.com; s=arc-20160816; b=mWJXqVFOSMiI/kXYBC43ESfIuoTFC/SqeVMu4bOl8uWBYgYxvplgt3BX3qvnIu9UUL p63rn6M1AalHIvZM20MdQehjHZXih8K3X0TRmX/5FjkjX4XHseQ8xH9lR+VTdrRcp4/I IR/gBwTD3wClJ3nfh0OwIyj0Iehno593Mq+cuFRMJrbdmHbSjx59oZHNo0XHoUA93pDj OzrFI/UrnbfUwIltfETdklYjQNvKDpglHdzSXzndIdCEz4DhT0xPu69qP870FufGWpN6 vW+IuIk/e9hZp7XaBqDaVPCIMOedAK90phQtT2dG+le3Rhk7dOZg1PrqHR4fzhqAMoUF w4kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:message-id:date:subject:cc:to:from :arc-authentication-results; bh=m2/wnWVf4BByB8wORvRw3RV5ltTN1PMmz6awOu/iqjk=; b=bATVO15WUQMh6T56QI/FcSuNOph4mcx0MVocdMMZUxziBj5p4H0U8cW39oxvNYbeGF M2JGh+xlv57nt8pgZhcyLgaJijQAGdaNYm5uN0ZjOWg41hCc0tfo6gPFPb4ZG8vfNRyj lfhYgojGd+bZcxzV8bAU82074rpcfXP/ISQ0d8RDxowVSAH1sv35tZHPhx85QRE3fImg Li0s4k9HHfvcMwbpHywcLshkHH1WQRwKK6HNDT3d8PYoESLOPCWb6bcbsw1ior4J37FZ xNd+lWaMLYHmJCV3Qa/Wb+YiLuPkWWSbsidRAcdRYQPxZM4dt8PIOWmUzHVQPXnxPn24 hbVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si9108449pgq.86.2018.03.19.01.03.21; Mon, 19 Mar 2018 01:03:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932513AbeCSICS (ORCPT + 99 others); Mon, 19 Mar 2018 04:02:18 -0400 Received: from mga06.intel.com ([134.134.136.31]:5828 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932239AbeCSICM (ORCPT ); Mon, 19 Mar 2018 04:02:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2018 01:02:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,329,1517904000"; d="scan'208";a="40160977" Received: from ahunter-desktop.fi.intel.com ([10.237.72.168]) by orsmga001.jf.intel.com with ESMTP; 19 Mar 2018 01:02:08 -0700 From: Adrian Hunter To: Vinayak Holikatti , "Martin K. Petersen" , "James E.J. Bottomley" Cc: Stanislav Nijnikov , Jaegeuk Kim , Bart Van Assche , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Szymon Mielczarek , Alim Akhtar , Alex Lemberg , Vivek Gautam Subject: [PATCH V2 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer Date: Mon, 19 Mar 2018 10:01:17 +0200 Message-Id: <1521446478-12656-1-git-send-email-adrian.hunter@intel.com> X-Mailer: git-send-email 1.9.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Here is V2, now re-based on top of patch "scsi: ufs: sysfs:reworking of the rpm_lvl and spm_lvl entries". MichaƂ Potomski has previously sent a patch for Auto-Hibernate, but this patch is slightly different, based on the latest ufs-sysfs changes, it also takes care to restore auto-hibernate during resume, and otherwise avoids updating the register if the device is runtime suspended. Also a default value of 150ms is set. Changes in V2: Re-based on top of (yet to be applied) patch "scsi: ufs: sysfs: reworking of the rpm_lvl and spm_lvl entries" Adrian Hunter (1): scsi: ufs: Add support for Auto-Hibernate Idle Timer Documentation/ABI/testing/sysfs-driver-ufs | 15 ++++++ drivers/scsi/ufs/ufs-sysfs.c | 77 ++++++++++++++++++++++++++++++ drivers/scsi/ufs/ufshcd.c | 26 ++++++++++ drivers/scsi/ufs/ufshcd.h | 3 ++ drivers/scsi/ufs/ufshci.h | 7 +++ 5 files changed, 128 insertions(+) Regards Adrian