Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9728057pxu; Tue, 29 Dec 2020 03:32:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDcC4SkpnwWY9XWxPOEHPLYUVyn0ROhfABbA0dBM9JgS2Z1VO9R0Y2ItCw6CdzEKCsQGkv X-Received: by 2002:a17:906:4e53:: with SMTP id g19mr44523153ejw.454.1609241519989; Tue, 29 Dec 2020 03:31:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609241519; cv=none; d=google.com; s=arc-20160816; b=EwQp7pM88C81VFbLANa6Xa09S+4P1q1elNYJMIaN+tZRDk2KW+nGYzC3gY5YQOAIwV m8JCbIysLCI9W8hl289JhjjaGWXHPi5vVt50Z5CsiT648D3WFKKQhGxkdwKoeQIdk349 DYp4TpmOkxNkgAUbRuwVPvzlRg2k1+d0BEAl9y+hnMXoalZ2dQmEIAh3Xtp1Ot8inhen IPnW8YwYo4xyVxlRyVBZ7tE+5kBdTVeZ33W2r8zepzitf6qK6tB85e4XY+Zorp/ZHjww pyfApxUTxyEEC8R7JKB6D1ufneyiB9/sGUnm11Miuuj7J4ksLfgWnGBHJCQDaxi8w6Em AFhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=J5MRogh91IMILijx29EHptPhYFmwnw5Cnp9XpsHd4AU=; b=rhTev4nSV4XsMfWGvC0uKlLXZEKn/ioLJBQ/zNiwODtPU6YigECA6AZT75JJdJ6cz4 6OhWUR1P8P9CauMKIcsZKlqK/KnZ/KpmJJ2IG7+Dj1dXzcF0h7APimVwXSxLOC//tXXs qEteyYnkrwC1YOq/3elsZ6hnljXRdLI1Sd/+Duk2PhYQgG/GoiGDRtGiIGbtLDayCSKQ O9RSaqPB9EBK2GeWt/KAvQF/zZWFsTSgJjG3Dh7o4G90NXhC3+cx2QG0u7fj4gvc1AI/ IqE+JzClzpXQRxWpF/v1LZTAQzg48BsmlanMOulbexzMU+NohGBVcwG02dHsCcxHQakQ JrIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si20161545ejd.332.2020.12.29.03.31.34; Tue, 29 Dec 2020 03:31:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726021AbgL2LbH (ORCPT + 99 others); Tue, 29 Dec 2020 06:31:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgL2LbH (ORCPT ); Tue, 29 Dec 2020 06:31:07 -0500 Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [IPv6:2a01:37:1000::53df:5f64:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D9F5C061793 for ; Tue, 29 Dec 2020 03:30:26 -0800 (PST) Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 7A02E30000CC4; Tue, 29 Dec 2020 12:30:24 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 70562197A; Tue, 29 Dec 2020 12:30:24 +0100 (CET) Date: Tue, 29 Dec 2020 12:30:24 +0100 From: Lukas Wunner To: Bjorn Helgaas Cc: Heiner Kallweit , "Rafael J. Wysocki" , Bjorn Helgaas , Mika Westerberg , Kai Heng Feng , "linux-pci@vger.kernel.org" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Time to re-enable Runtime PM per default for PCI devcies? Message-ID: <20201229113024.GA7615@wunner.de> References: <79940973-b631-90f9-dbc4-9579c6000816@gmail.com> <20201117163817.GA1397220@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117163817.GA1397220@bjorn-Precision-5520> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, Nov 17, 2020 at 04:56:09PM +0100, Heiner Kallweit wrote: > > With Runtime PM disabled e.g. the PHY on network devices may remain > > powered up even with no cable plugged in, affecting battery lifetime > > on mobile devices. Currently we have to rely on the respective distro > > or user to enable Runtime PM via sysfs (echo auto > power/control). > > Some devices work around this restriction by calling pm_runtime_allow > > in their probe routine, even though that's not recommended by > > https://www.kernel.org/doc/Documentation/power/pci.txt > > > > Disabling Runtime PM per default seems to be a big hammer, a quirk > > for affected devices / systems may had been better. And we still > > have the option to disable Runtime PM for selected devices via sysfs. Removing the recommendation in pci.txt and allowing runtime PM in more drivers by default seems sensible to me. Such an incremental approach is less risky with regards to regressions than a big hammer. Heiner, care to submit patches to that effect? Thanks, Lukas