Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5305635imb; Thu, 7 Mar 2019 12:29:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwG3mosUbnt5OmHOo+TA+zoyQC9MZ/yJWs1N/wMmwBS63XzaDhg0GoZt2i4hCEpSZmefKKY X-Received: by 2002:a63:584e:: with SMTP id i14mr13216153pgm.68.1551990560255; Thu, 07 Mar 2019 12:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551990560; cv=none; d=google.com; s=arc-20160816; b=0aHRvcN7eV0e2wM8mj22mU6y0AqLmtdV6eESB91U+Bc9jKnm8Pvuy5X3m9OOwJ5fYe Nkz7LZyoVVOjfQixR+FUdjpTJdxcgCsMJtlQ7mJJEx8fcilqtNiKxbylceKfugxaQB+8 SnF9qSVu6mTQAV9cj3yM6U8DmMPJOARRDPhwo9qMEDOtpFelp9Y4K6spYmAXrNBEp1bu yeS+8AX0nhKiFMoO1DQZeOMhmH6X4de6xvJFTNZxGeEWIF+EvvoqW6rQszo06h0ZB92V /R7MQB5v0CgHWItjycHl5GWOBDacZk5YMBLfAiFoB42h6DML0XFplJQq3bEMX5+mwxt9 Z8bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wBlNSo7HAYuMJs+aJMR6Uu2EgbzXOL50Q/wOaOFZ/hE=; b=v0sBjmtSpuSYW2+47w7VZOvl75j6qVZx93eSy1Xv8djYKH9H4Piw8XTtQM1i7kHUZC 9OWPDXyd/5qAwFse6CoIMAn9g52+xCkd5XQPMd7DehzZjkuRS/HkPPNhUyxSRzmuQcEQ sk5Ex3/So4pkRhpmXq5GNiYP6ZGn5IHzFOXT9QzSdQe0Tj1n+DzreUsKTABDtICu76Nz ogunYMk+pX9EzDNqy01aXYx6Urk1qgvJxQ0UOwwll+7nUpXhuR/WCOK6dY+B7j8Ox1Sc Prn0TLBWs/ovzqOTfsg2bNumFhyHGECfL35U70+xCxcwu9pyj/Er29fLJQty7s6pJQxK Kwyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LWMljVSp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si5023671ple.279.2019.03.07.12.29.04; Thu, 07 Mar 2019 12:29:20 -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; dkim=pass header.i=@chromium.org header.s=google header.b=LWMljVSp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726311AbfCGU1s (ORCPT + 99 others); Thu, 7 Mar 2019 15:27:48 -0500 Received: from mail-yw1-f65.google.com ([209.85.161.65]:41262 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbfCGU1s (ORCPT ); Thu, 7 Mar 2019 15:27:48 -0500 Received: by mail-yw1-f65.google.com with SMTP id q128so14444555ywg.8 for ; Thu, 07 Mar 2019 12:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wBlNSo7HAYuMJs+aJMR6Uu2EgbzXOL50Q/wOaOFZ/hE=; b=LWMljVSp3x/sn+xiSUMQbv2Yrd0xIM3aRcyEgRhsi0BUnRCjybbySQeZRtZ3fan8Pg uy7KXVN7ZNT6AB9rwzbRLsACMZoFhJLvI+8VDGTTAeF6uBx63NV3Sxtznm+doY/uDFbd SAF16pVcuWpCLEUWHcycErmsH1fWjH8B+nL/8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wBlNSo7HAYuMJs+aJMR6Uu2EgbzXOL50Q/wOaOFZ/hE=; b=WX0FIQWTT8YfKCcALSf9x9sTq7fKqLhXOsLdYEd0ArUTZ1mHJBZdUKWAEwiWoSif6+ 83owq9v5HK5DyIiV5jAc3D8dYHZ/bZY4XpXE1cq3DKn33utNjLQ1URWgQ9DfNF05yfoz LJVaNeAU+MYiQXyapkfoiOD39pIiiURGn1BPKxm2aeqo9N9WugUVXrUq6YAcGHmmtxk+ 1YbOZvd15kc2VjRou4jU2on0I23Lqa4bhH7aXG/VJFk7xINMyhrnu2yIHwOFMdxRj5ZS uNaun+LVnb0UrVVkDQ83tU2/gz27UhM0mX4tJKgyosqUOdGk9+1RX2EOvp85KmsZ2XDW ARbQ== X-Gm-Message-State: APjAAAVg8SG+lqpN3JdyNErKY1yrkTFj+CZVNaIXPxOYwcwCN/H5cVbB UIEyEB966xmB6/JYksL0TsX8rJ8i4AJdyRCTYnSM3Q== X-Received: by 2002:a0d:e607:: with SMTP id p7mr11306266ywe.329.1551990466813; Thu, 07 Mar 2019 12:27:46 -0800 (PST) MIME-Version: 1.0 References: <20180702190154.6864-1-srinivas.pandruvada@linux.intel.com> <9712316ab62bef25953c523bce02e260a9ea40fe.camel@linux.intel.com> <20180730152256.GF1206094@devbig004.ftw2.facebook.com> <20180730173345.GI1206094@devbig004.ftw2.facebook.com> In-Reply-To: <20180730173345.GI1206094@devbig004.ftw2.facebook.com> From: Gwendal Grignou Date: Thu, 7 Mar 2019 12:27:35 -0800 Message-ID: Subject: Re: [PATCH 0/2] ata: libahci: devslp fixes To: Srinivas Pandruvada , Tejun Heo Cc: Hans de Goede , "Rafael J. Wysocki" , alan.cox@intel.com, "IDE/ATA development list" , Linux Kernel , rajatja@chromium.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Srinivas, I am looking at problem on a laptop machine that suspends to S01x, but link_management is set to max_performance, because the machine is connected to a charger. Given DVLSP must be set before the laptop suspends ["""One of the requirement for modern x86 system to enter lowest power mode (SLP_S0) is SATA IP block to be off."""], the machine never reaches S01x. Does it make sense to change the target_lpm_policy at suspend (ata_port_suspend()) to min_power and bring it back to the original value on resume? Gwendal. On Mon, Jul 30, 2018 at 10:33 AM Tejun Heo wrote: > > On Mon, Jul 30, 2018 at 05:26:45PM +0200, Hans de Goede wrote: > > Hi, > > > > On 30-07-18 17:22, Tejun Heo wrote: > > >On Mon, Jul 30, 2018 at 08:15:47AM -0700, Srinivas Pandruvada wrote: > > >>Hi Tejan, > > >> > > >>On Mon, 2018-07-02 at 12:01 -0700, Srinivas Pandruvada wrote: > > >>>Some minor fixes to be able to correctly set devslp register > > >>>to optimize power. > > >>> > > >>>Srinivas Pandruvada (2): > > >>> ata: libahci: Correct setting of DEVSLP register > > >>> ata: libahci: Allow reconfigure of DEVSLP register > > >>> > > >>Are you applying this series? > > > > > >I was waiting for Hans's reviews. Hans, what do you think? > > > > Ah I missed that this was another series. With the caveat that > > I do not really know that much about devslp, both patches > > seem sensible to me, so both are: > > > > Reviewed-by: Hans de Goede > > Applied 1-2 to libata/for-4.19. > > Thanks. > > -- > tejun > -- > To unsubscribe from this list: send the line "unsubscribe linux-ide" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html