From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Diestelhorst Subject: Re: [PATCH] SATA / AHCI: Do not play with the link PM during suspend to RAM Date: Thu, 19 Aug 2010 18:23:57 +0200 Message-ID: <201008191823.57915.stephan.diestelhorst@amd.com> References: <201007091750.05020.stephan.diestelhorst@amd.com> <4C6B79C8.7080602@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:40749 "EHLO TX2EHSOBE010.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150Ab0HSQYW (ORCPT ); Thu, 19 Aug 2010 12:24:22 -0400 In-Reply-To: <4C6B79C8.7080602@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , "linux-ide@vger.kernel.org" , "linux-pm@lists.osdl.org" , Stephan Diestelhorst Hi Tejun, On Wednesday 18 August 2010, 08:12:24 Tejun Heo wrote: > On 08/17/2010 11:28 PM, Stephan Diestelhorst wrote: > > 2010/8/17 Tejun Heo : > >> On 08/17/2010 12:51 PM, Stephan Diestelhorst wrote: > >>> I've also confirmed that the "XXX ahci_set_ipm" is present in > >>> libahci.ko. So either I've screwed up badly when compiling the initrd, > >>> the code is not executed or the printout does not make it into any > >>> logfile anymore. > >> > >> Yeah, that's weird. You're enabling IPM, right? > > You can check whether it's enabled by > > $ cat /sys/class/scsi_host/host0/link_power_management_policy > > If it says max_performance, it's disabled. If it says anything else, > it's enabled. It says "max_performance", I have not touched anyhting. So it has been like that all the time. Would this explain why your patch did not show the debug printout? Thanks, Stephan -- Stephan Diestelhorst, AMD Operating System Research Center stephan.diestelhorst@amd.com, Tel. +49 (0)351 448 356 719 Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632