From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427954AbcBSPyS (ORCPT ); Fri, 19 Feb 2016 10:54:18 -0500 Received: from mail-yw0-f169.google.com ([209.85.161.169]:36536 "EHLO mail-yw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1427925AbcBSPyN (ORCPT ); Fri, 19 Feb 2016 10:54:13 -0500 Date: Fri, 19 Feb 2016 10:54:11 -0500 From: Tejun Heo To: Mika Westerberg Cc: linux-block@vger.kernel.org, Jens Axboe , James Bottomley , "Martin K . Petersen" , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 0/7] Runtime PM support for AHCI host controller driver Message-ID: <20160219155411.GI13177@mtj.duckdns.org> References: <1455785657-22924-1-git-send-email-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455785657-22924-1-git-send-email-mika.westerberg@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2016 at 10:54:10AM +0200, Mika Westerberg wrote: > Linux already supports runtime PM of disks (drivers/scsi/sd.c) so that > after certain amount of idle time the disk is suspended automatically. This > series extends the support to AHCI host controllers. Whenever SATA ports > are determined to be idle (all children are runtime suspended) the host > controller is also suspended. > > On recent Intel CPUs like Broxton this allows the CPU to go low power idle > states like S0ix runtime (given that all necessary blocks are also in their > correesponding low power states). > > Patches [1-2/7] fix a lockup where disk is runtime suspended and the system > is put to sleep. They are independent of the rest of the series. > > Patch [3/7] makes it possible for SATA ports to be runtime suspended when > there is not disk connected. For example on Lenovo Yoga 900 there are two > SATA ports which only one of them has disk connected. This patch allows the > host controller to runtime suspend whenever the disk is idle. Applied to libata/for-4.6. Thanks. -- tejun