Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4054112ybx; Mon, 4 Nov 2019 07:08:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzQhFEgGl4UcAN0Jta4MG0xBT6+oyz6ShQv2/zjL+ZelBRKWrcpDXAnMdFiZ23Qy9UQWEOZ X-Received: by 2002:a50:b3b6:: with SMTP id s51mr29995018edd.88.1572880103752; Mon, 04 Nov 2019 07:08:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572880103; cv=none; d=google.com; s=arc-20160816; b=nboJA+nK6K7Bwa8fYF0BBo5x/+pdGKb2sBnvy0+eewqkyuHNPw38rDSeXGOjISircY mL526d9cAcoIiQM7JupMqVn6IJJTWH5cOuqwDzS6KAlhDUZ4LFlIZg18yYcwqklVIlfU h6kOTq8JUGqZLgUISR0F1D3QZVKtC+GAu6bEmX9uZroc/3ZBkzU9nSSwZgq6JeL8yD9g 9tDMt3tHQWIeU3sI+aLjaH1Neesy32m4nItbB3auZOs2Ntrz/JIlgAdD53M4t/dochTC RnWXxhDzAMLLYBW3vXbVTrognwdLXm4X5DNuFqmcWI/e6b+Z60b9zccY23XgufZ0oVjT DnYQ== 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=MHpNYIfusB0PEMUBHwc+1QFbE//cxZMfxjaQ5+DrkZ8=; b=cu1mMA35HHenWDvvBUpK8BlZsvjCIVOV+xX2ZreC4J4g6cia2VwtgJXTIDSJ/FXGDg d5wrJuR+uLug7Vryms6uQIqbLZcsHBWnHeD72y2jdTf/dHZU5ve4384BCWRbEDDDiGfd DvReyYeIFO2IMx0Gf9F8usPJxKvGJxiXgfiH1gtXvIG7zi80eY4M5+bo5scMyUvYPjSD rtNZv6OaiVjW8k9b7lazGfKn5v/knQqIs5OL7PzdlJCttbnQoEJLDoWDxTh3HnF7V4kS rrkG+502Z2O+Jz2W4YOMKQfl9EFZXOOOX+2l39cC53McXIBgPfmEh8q9LETKNbU8THyp DJDw== 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 b47si8303655edb.286.2019.11.04.07.07.59; Mon, 04 Nov 2019 07:08:23 -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 S1728910AbfKDPG4 (ORCPT + 99 others); Mon, 4 Nov 2019 10:06:56 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:36996 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728346AbfKDPGz (ORCPT ); Mon, 4 Nov 2019 10:06:55 -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 xA4F6p8P014881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Nov 2019 10:06:52 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id EF8B0420311; Mon, 4 Nov 2019 10:06:48 -0500 (EST) Date: Mon, 4 Nov 2019 10:06:48 -0500 From: "Theodore Y. Ts'o" To: Tom Cook Cc: linux-kernel@vger.kernel.org Subject: Re: Power management - HP 15-ds0502na Message-ID: <20191104150648.GG28764@mit.edu> References: <20191104135111.GF28764@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 02:32:30PM +0000, Tom Cook wrote: > s2idle sort of works - the thing appears to go to sleep and wake up > okay - but the power savings are not really enough to make it > worthwhile. Putting it into s2idle state and putting it in a bag > results in a very hot laptop - and of course that makes battery life > not great. I'm guessing this is the Ryzen 7 CPU idle states not being > very well supported? 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". I probably should see if newer kernels have fixed some of these issues, since the XPS13 is currently my preferred laptop, and I worry that future models will drop suspend-to-ram, since Windows 10 is using s2idle, and so the incentive for laptop manufacturers to support suspend-to-ram is almost non-existent, especially now that Windows XP and Windows 7 have moved to the great deprecation bitbucket in the sky.... :-( - Ted