Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4097618ybx; Mon, 4 Nov 2019 07:49:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzYCCB0j4UOXILtng3FjePNXRRsOnRl6QTzqnZyIWJvMyPedI26wwIKPSXEF+EahkWQfRAZ X-Received: by 2002:a17:906:4d58:: with SMTP id b24mr4134157ejv.277.1572882558234; Mon, 04 Nov 2019 07:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572882558; cv=none; d=google.com; s=arc-20160816; b=l8zSLynmrr/OMOFqjy9SInKDFsMX1BLIrwhsCUCzdRBfc6wwSh5yqi6udyxKLx68ZQ z/B1s94plFeijQJJSoKDfUqKzOSrs6kM67GAtkaBuAyBSSCimCSJ8A5flVBcg40yAIdq nE5f3vrwOPA5CjspNWYSF0brTOmpGzzOgeSV9/TooFTI/6YeMVfzhXRn9IqFdGiRtlVC cXmW8YRysviJlmoti0AW5G+nB/N6lE6hbdW067KF/4jqJP4tjrwtGSJwfRIcf9BN+3oz hoaNDrFJU9M7JHFPfZsBSH/CyoXKWT96RZI0HWhJkXOeEGFZWd4ews2j9RkpEpAijB94 A2ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Aa4FXGiiXNuGN1U6qc9Ybvzd6cSGCPpbYL4+tx3/pdc=; b=o7ZZ7gLC7O++Y2VUMpb2kQ86lUk7wQ4ks6Hx2fymHLlFmFhmhcT5KnqERLv1pnnHXI i2EnezPRElC4MjYmD/wUGUgNPiJeTns0u+EyWJ1DV6ph8NFf4cnk2YqHWMB6+DN8RZMF w2GEwB7RDwsoKtJVtHoKtqjEiDmegn2T1SzQKH04ex/TeaGPB+Ok5pF+7CE32+LeHQrC 0rV6zNwFj8+RzT3zlTQTH4NEm4BXhYTqOupX6Knyg7QGGgqcdF8keb2Aw8yBManEYqdW 5rAyiDjxORs4JWlJZJzrVe78PD5GrnqC6I5WX6/zYiG8TO03Cj9b7+wdZJgsPtafkKRU NTQA== 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 ci3si2403732ejb.37.2019.11.04.07.48.54; Mon, 04 Nov 2019 07:49:18 -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 S1728843AbfKDPpd (ORCPT + 99 others); Mon, 4 Nov 2019 10:45:33 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:47185 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727891AbfKDPpc (ORCPT ); Mon, 4 Nov 2019 10:45:32 -0500 Received: from callcc.thunk.org (ip-12-2-52-196.nyc.us.northamericancoax.com [196.52.2.12]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id xA4FjPF3032066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Nov 2019 10:45:26 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 33FD0420311; Mon, 4 Nov 2019 10:45:23 -0500 (EST) Date: Mon, 4 Nov 2019 10:45:23 -0500 From: "Theodore Y. Ts'o" To: Tom Cook Cc: linux-kernel@vger.kernel.org Subject: Re: Power management - HP 15-ds0502na Message-ID: <20191104154523.GH28764@mit.edu> References: <20191104135111.GF28764@mit.edu> <20191104150648.GG28764@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191104150648.GG28764@mit.edu> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 04, 2019 at 10:06:48AM -0500, Theodore Y. Ts'o wrote: > Actually, it's probably because one of the device drives isn't > properly putting that particular device into a low power state. When > I was trying to make s2idle work on the XPS 13, there was needed patch > to make the SATA AHCI controller go into a lower power state. This > was a patch which the Dell folks had gotten into their special > "Optimized for Dell laptops" Ubuntu kernel that was running into > resistance upstream. I *think* that patch finally made it upstream, > but to be honest, I haven't been keeping track since I decided "life > was too short to fight and make s2idle work". Oh, and I forgot; the other thing I had to do to get s2idle's power consumption down to suspend-2-ram was to unload the SD card reader; apparently that device driver didn't know how to do the low power saving thing under OS control. So I ultimately was able to get the power while suspended of s2idle down to that of s2ram. What I wasn't able to solve for my laptop was the reliability of resuming after the suspend.... - Ted