Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp432556pxf; Thu, 18 Mar 2021 04:11:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyylQ/UjRcopMseyV+WTw31cmcrKp9DehL5gpYnBqJ9svsIMaBctWlqqoSPVDEIsG7POnVY X-Received: by 2002:a05:6402:cb8:: with SMTP id cn24mr2985046edb.105.1616065907246; Thu, 18 Mar 2021 04:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616065907; cv=none; d=google.com; s=arc-20160816; b=bjxdp2k3MS32A52ihEqyGKi/q4eg3teJMFgxN06sczUU4bYcOduhqVpphrlkYyPOYV MhN2wo1h6XQd3A5W+8V7szGtr7bCMKQNQZ0vMfWMrmH8zopX2n9o2P98fEAeqs9cjvXg hoFcf8JPiYyg1IgXmqyTiRQ4esJK0sSKYGQIzQlLVhELk2hxlY+kanZQAqOvaSzGm6uw FA8EoursZTOpWLVCKGj0s74irT+29qptYjXT45XXm5tPp4saBnYjLogvflw4OhILyvBS Jy+gwZvYrLvb3OOwUuaQD81ZAfNKMswhnTzWT0hhRLzpD2LXYX3V9PRemeX3Ubb3C/2x 4PfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=TinDs4EVQQqlZ2LTjeSZTwhvPWfcUIiPPlSq9X257dw=; b=ugC3U6/ZTySHMNSzUnHFEUnQJ14+RkQAnIPkT3OgirI3f1LnQBGgxgF2PlWXRCWaIv XyyQq9VrcE0/Jah5StMyn8YJI/exY5OqTKiH0SGO0t/ax2y+Uer+7zcZc6UMGDI/UE81 7fKpsQC4oxuLBc+rHfTs0YrjR7jzNeO5Ax1u8rcSpOtirYgWT5odykvDBSmn1K4I0isW Z295OMjRMvj41v7KfcMZk5OxD0Scc+wBvsm7XioNqJrWTTev4kaMpY661+0xrgp/Nxk3 ZypZFIkEeH83Wd+gS5VV1VNeJ/9mwtQn5gjUuIpT6KozW2QSDWRcA/s3QOI8MHLoptxy J1+A== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si1370875edk.323.2021.03.18.04.11.24; Thu, 18 Mar 2021 04:11:47 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbhCRLHc (ORCPT + 99 others); Thu, 18 Mar 2021 07:07:32 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:33319 "EHLO mail-ot1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbhCRLH2 (ORCPT ); Thu, 18 Mar 2021 07:07:28 -0400 Received: by mail-ot1-f43.google.com with SMTP id o19-20020a9d22130000b02901bfa5b79e18so4814439ota.0; Thu, 18 Mar 2021 04:07:28 -0700 (PDT) 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=TinDs4EVQQqlZ2LTjeSZTwhvPWfcUIiPPlSq9X257dw=; b=tfmFrxXJy4TLmrn7HhjWFIFDumXictJZiezr7nyZRSvknfo3R+85nG7fk2sU+nucLt JDtUcqnbhxUPtjGseQKBzAShWHau9kTvJtn/vwpB66gL11G+x8512ngz0cb35ztC8i1S NpB9qCOrCBf9K/DfD3NpbgOYIp/rNZFOnnBg7phvdS4eIbux4dplEPgHar9rC6dz9e3d ujlYk6hPk2O+ZQVUYSKBwW+D0Mseggi5HNjRPYcnvLRgY1tbJaF+YBem1iacyUdRPSpC wWh48XrhT1dxr1qGawFQDEwx7d6G3cIAlpGQMluKiEkrwOGPN0IHTQgG2hfbwWgVBJrw WB1g== X-Gm-Message-State: AOAM530NDVTE4JLPQQ9HloskI4UAuNdi5x0jP52PcYaKlz7Mar6h+6S+ OoAuiCm8IsnBffRyvlw/mwBNtBggfXKHqJ4XQ6o= X-Received: by 2002:a9d:4811:: with SMTP id c17mr4799994otf.206.1616065648247; Thu, 18 Mar 2021 04:07:28 -0700 (PDT) MIME-Version: 1.0 References: <2527835.vZkJICojNU@kreacher> <8b35de7b-072f-128c-6a3f-c7da5a1b91b8@molgen.mpg.de> In-Reply-To: <8b35de7b-072f-128c-6a3f-c7da5a1b91b8@molgen.mpg.de> From: "Rafael J. Wysocki" Date: Thu, 18 Mar 2021 12:07:16 +0100 Message-ID: Subject: Re: [PATCH] ACPI: scan: Turn off unused power resources during initialization To: Paul Menzel Cc: "Rafael J. Wysocki" , LKML , Linux PM , David Box , ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 17, 2021 at 10:27 PM Paul Menzel wrote: > > Dear Rafael, > > > Am 17.03.21 um 17:49 schrieb Rafael J. Wysocki: > > From: Rafael J. Wysocki > > > > It is reported that on certain platforms unused ACPI power resources > > that have not been explicitly turned off prevent the platform from > > reaching the lowest power state in suspend-to-idle which leads to > > excessive power draw. > > > > For this reason, turn all of the unused ACPI power resources off > > at the end of the initial namespace scan for devices in analogy with > > resume from suspend-to-RAM. > > > > Reported-by: David Box > > Thank you for the patch. Could you please add more details to the commit > message, saying what device this was on, and if there were some > error/warning messages pointing to the problem? The actual report is not public, so I cannot quote it. In essence, there is a power resource in the affected system that would be dedicated to a specific device, but that device is not present in that variant of the platform. However, the behavior introduced by this patch is generally mandated by the spec and evidently depended on by firmware developers (see the second paragraph in https://uefi.org/specs/ACPI/6.4/07_Power_and_Performance_Mgmt/device-power-management-objects.html).