Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6892813pxv; Fri, 30 Jul 2021 05:15:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDHAG0t3/U6RtEm+YON93IeR6oRmZBz6b3WZZ5o71t+JYJRivxMibE/N7abEPXN7VFDisZ X-Received: by 2002:a05:6402:124e:: with SMTP id l14mr2677160edw.356.1627647310033; Fri, 30 Jul 2021 05:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627647310; cv=none; d=google.com; s=arc-20160816; b=Jf9rl3SyKeYj7TuFxlHS9X9/n3zuLVO0EiOqf9ajAchuqyOke0OPkqIxz8CQxeqTj2 fF64mt47DK7DdWBUtDYTUWUVYhkJn6asXWargeCOkRYTozwMlp+Zgg3T0W6HLxZDqYU/ Yvzn0VFFz/62IRnHAJJA5hqH8yd8jSrtfaeN4lvXKt6xel1PvSXp2Zy79yVNI4Xhfxsj WFkDdX2Ef78BQn2pZfIBAap9G0JZE104DqSevyyFxwiOEXWRZT+XJT6ZqKF31r3ymSEr BtYLt+hlCDDMiie+bZnTj8RK82CUSZwruGwRHq2aXm18aEic1XT1BD0xPUtPT44nPSxt +IdA== 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=h/nWd7/gRGV1qmwqjSQqAFbq0T5N0Ue6f9xRmUkU8nE=; b=bPJqT4uJEvjPChsYLK4XOR1DvoEFrVKjahjQmLGB9ZafIi3lsuXbPCUKYzFMMGilM6 ZdS36GGEZ51Jh56nADVZe1ghMCf90i3TESA4DLF77P5lBmQnOmqxwlplfu8vmxZpuYI9 MVlSH8Bch+iEZ8L4FYiBhN8suVGYsGkAlPQTDA0hqlCEkDz58PzcfK22gUcm528Znxni ifjEFJZrxIr5cbPIVACMy+UOPU2odjwwFixr2EVPkEoNQ8Lkbp4eeeSvXlFKkaJRB4Pv OpZrRPC2YXOY73HVEp9W2LxK3sQ40dZzHiw99Wo0L8KJKPBwZ/9AiZ5YseujCR1Ayq4J nzlQ== 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 v22si1495611eji.44.2021.07.30.05.14.46; Fri, 30 Jul 2021 05:15:10 -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 S238646AbhG3MN2 (ORCPT + 99 others); Fri, 30 Jul 2021 08:13:28 -0400 Received: from mail-oi1-f179.google.com ([209.85.167.179]:36815 "EHLO mail-oi1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbhG3MN1 (ORCPT ); Fri, 30 Jul 2021 08:13:27 -0400 Received: by mail-oi1-f179.google.com with SMTP id y18so12921321oiv.3; Fri, 30 Jul 2021 05:13:21 -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=h/nWd7/gRGV1qmwqjSQqAFbq0T5N0Ue6f9xRmUkU8nE=; b=fBbJsZ2AERbldlv6Oni+QBQNC30lXFlL8WtLXR77069BvNv6//2Wg1hNFNUbjDOndv n15pOBidjrH96JR5JpIWrkqsLkATa8tuA4kaq258ZDn68bVjbmdE81BaDVMGX8aUhcTo YfSbfru4rYiG92d/ty5nZEh5U4F1em3pBXyKb/1PK5qhYWRa9SXtVYEdCd7UEDIQHIEG XPy8gBZTA5crfskNTPys8hpScLAht0ZAC8mspm4ygY0xAJBJk5Z4RoFcNgYm2/5AVsLt pI6tMSZgFrKLaWU9naBBhqcfC/u4/CGgm++CQKCO2DR/6knMqGGYu4Vm4vv6vQu8dhwO fEMA== X-Gm-Message-State: AOAM532wWdg6BUIAxYRIhjA2KhLtVKeSUhAwdTQLj9HZHDbFkdiQrQ8g U8akIqgGI+YaWymXig+V6ANQ9ndOqMHzn9n6p68= X-Received: by 2002:a05:6808:198c:: with SMTP id bj12mr1556667oib.71.1627647201379; Fri, 30 Jul 2021 05:13:21 -0700 (PDT) MIME-Version: 1.0 References: <4668274.31r3eYUQgx@kreacher> <1791325.tdWV9SEqCh@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 30 Jul 2021 14:13:09 +0200 Message-ID: Subject: Re: [PATCH v1 2/2] PCI: PM: Enable PME if it can be signaled from D3cold To: Mika Westerberg Cc: "Rafael J. Wysocki" , Linux PCI , Linux ACPI , Linux PM , LKML , Bjorn Helgaas , Kai-Heng Feng , Utkarsh H Patel , Koba Ko Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 12:28 PM Mika Westerberg wrote: > > On Thu, Jul 29, 2021 at 04:49:10PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > PME signaling is only enabled by __pci_enable_wake() if the target > > device can signal PME from the given target power state (to avoid > > pointless reconfiguration of the device), but if the hierarchy above > > the device goes into D3cold, the device itself will end up in D3cold > > too, so if it can signal PME from D3cold, it should be enabled to > > do so in __pci_enable_wake(). > > > > [Note that if the device does not end up in D3cold and it cannot > > signal PME from the original target power state, it will not signal > > PME, so in that case the behavior does not change.] > > > > Link: https://lore.kernel.org/linux-pm/3149540.aeNJFYEL58@kreacher/ > > Fixes: 5bcc2fb4e815 ("PCI PM: Simplify PCI wake-up code") > > Reported-by: Mika Westerberg > > Reviewed-by: Mika Westerberg > > Also this solves the reported issue so, > > Tested-by: Mika Westerberg Thank you! I'll queue up these two patches for 5.15 barring any objections from Bjorn.