Received: by 10.223.185.116 with SMTP id b49csp1028461wrg; Fri, 16 Feb 2018 11:05:24 -0800 (PST) X-Google-Smtp-Source: AH8x2275CoDx6QhN78+Rzz4EApOK5o0Hlr3eRBFZDiBz9jiOujky60v6C3Esb8MSjW8MJCChUZh9 X-Received: by 10.99.112.77 with SMTP id a13mr620557pgn.253.1518807924536; Fri, 16 Feb 2018 11:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518807924; cv=none; d=google.com; s=arc-20160816; b=IpyM5FPwKtOyJ7VyQ/iy2uhhy94CKhF/TU6k6azJ9ho8TMqH8SuP2mG2ynKIvYkEnU bbZaKBgp2VDcrPgtWwuTdnzSKPEvpHSqsN/yFx8Ed6GpMofhdP69fu97/fHrWL7HOek9 SxL5fep4bh/+aFi7J5DZKqLtEIyaYdnciP+ZToYVodTaT4U2FIY6RcvOqBfd5iUIBc8p ljSbb14DaoVbDgKaObUYWoXMM6LkwCy8Ormn92wtarXKv9/Dw3J1f++f1w5cZwLOoep6 fyCYsen7snZIdTy3lauLhwlPBBl+esMxwV79pgZMU9YUvVRq7tW4j6T+hWPjc+agJ8bG CLAA== 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=xrkQz4RFBR2MOz1pIQDp6wn7+N9JYyrcIVxjQ4s5Z98=; b=dun8RVrbHaujXC6Bv767BuOiRCHRur6UfnplFuyJPhGFuE0hvsri18YxR1W6AXuID7 uQ7GNdwk3Oll1xiJFDvN/KbAxfwf1QqWtpX2LFr8GDXCsW3DIVldp8ASVde3rLEN1xkY 95Jdd6sx4pAQgiXD+ZvTGJJPr9trJB7U9O+B389oS3THYpLTN3v1skLgYd0mSwHWgsxk CTgtiZPY3bbEKxSO7fpeSKJiyNwdeUUP5fAkjmLlmGXzUMDE1Jytv5w9v5hj2m0AopA1 OWl+Ro5F+WdVC0NYPzEr4sYaZytN9fPJtkvDBzzxS1gdS1rsJuWjlT0qoKXtOeZk80wh hzOQ== 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 v1si7998889pfg.288.2018.02.16.11.05.10; Fri, 16 Feb 2018 11:05:24 -0800 (PST) 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 S965551AbeBPMBv (ORCPT + 99 others); Fri, 16 Feb 2018 07:01:51 -0500 Received: from mga18.intel.com ([134.134.136.126]:41591 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965036AbeBPMBt (ORCPT ); Fri, 16 Feb 2018 07:01:49 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 04:01:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,519,1511856000"; d="scan'208";a="201651805" Received: from ahunter-desktop.fi.intel.com ([10.237.72.168]) by orsmga005.jf.intel.com with ESMTP; 16 Feb 2018 04:01:46 -0800 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, Michal Potomski , Szymon Mielczarek Subject: [PATCH 0/1] scsi: ufs: Add support for Auto-Hibernate Idle Timer Date: Fri, 16 Feb 2018 14:01:03 +0200 Message-Id: <1518782464-28847-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=y Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi MichaƂ Potomski has previously sent a patch for this, 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. 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