Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp787637pxf; Thu, 18 Mar 2021 11:31:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ9P6VlVIDn2zpF7EeNv1ogTeVDzHtv2KuWVztN5hLRDKJC/JDcAecNq9vO/8gy1JBK7m1 X-Received: by 2002:a50:f38f:: with SMTP id g15mr5243486edm.262.1616092269941; Thu, 18 Mar 2021 11:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616092269; cv=none; d=google.com; s=arc-20160816; b=OQ4m5NHg6Tp0OSWAi0dLEULL3IkB3TL7pxALJeSH8sB1DHceJvg6bpp3qI0KAWtFT6 rmtBKQ2c+Huk9e6y/IZ3VTG2/0u3IlPycnW/Zr5D3GIG7dvCpGvBILld5FyVst6aN9SN 3bGvG3TLSg3eI18N4uc81Uaob5dnvJV09JSF03szkI63MZKhzOppF34IhJw9OOG3In+z xlGsnTZ+iSj87yoYdefTO/RnDXP/KR8yLccP/8paak5ZXvuZP+1T6HZRpcUDnFhZDO1N tEd5K9vd/EaC0AlEWZc0JONu4XUHxxDnB4axxR+FEmK1xPtZuqTxm6/7/McZFlTs/X80 VUaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=mmZvt5YOv9N3Ie3jvYOt3JtqIbn9Y+T7/L/oNPZxcQg=; b=gVH0gcaierXSBuc4F9236jG/chD0JXDIE64Rwhkkixa3wZ89PpMxJgg7px4eF3ZH4x I+ad2hOLT/NaI6g8wGx+jed5rFapRRaaHooEP+RviQ5poNjcjudYR+Bw7E5L6Zyg4UqK xhzYGW303TvUzVtYESXj7LXpCMKz4hQVEtKWxR19I60a7gQGo9PgfJaTVAzQ2Eq4/ry0 JxGDF7baLFGZEuJFA0fzjJ7msOtMRl8WurnCOiYkHZPwm7jNmpK5C7brzujph/VWYMWz XQwQ/awaFEucCdg4Gzgnc2GQAqQE7YfeJPBHclZt6HV/CNeCDqnQ1Zc9QBoE4E/Oibv4 WOlw== 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 o16si2253699ejb.259.2021.03.18.11.30.46; Thu, 18 Mar 2021 11:31:09 -0700 (PDT) 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 S232502AbhCRS3S (ORCPT + 99 others); Thu, 18 Mar 2021 14:29:18 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:51570 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232291AbhCRS3N (ORCPT ); Thu, 18 Mar 2021 14:29:13 -0400 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 2.0.3) id 90fddb0d8e680081; Thu, 18 Mar 2021 19:29:11 +0100 Received: from kreacher.localnet (89-64-80-250.dynamic.chello.pl [89.64.80.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 2A6C9668FA9; Thu, 18 Mar 2021 19:29:10 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linux PM , David Box Subject: [PATCH v2 0/2] ACPI: scan: Turn off unused power resources during initialization Date: Thu, 18 Mar 2021 19:23:38 +0100 Message-ID: <3108574.44csPzL39Z@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudefiedgudduiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgggfgtsehtufertddttddvnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvedufefggeeutdejvdfhteevgeeludevueevvdejkeelfefhudfhfeehkefffeevnecukfhppeekledrieegrdektddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrieegrdektddrvdehtddphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhpmhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopegurghvihgurdgvrdgsohigsehlihhnuhigrdhinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Power resources that aren't associated with any devices are expected to be turned off by the OS, but Linux only does that during resume from suspend-to-RAM. That turns out to be problematic, so turn them off during system initialization too (patch [1/2]). In addition to that, turn them off unconditionally, without checking the current status, which should be safe and may help to work around firmware issues (patch [2/2]). Please refer to the patch changelogs for details. Thanks!