Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1916468ybh; Sun, 4 Aug 2019 12:54:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3rqigdx8Q62YMU1csZjdNWMUlJuhjeGyPFLdiehUqArv+iHHYHs8LNjVV0n/qpyJgkAxE X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr14555578pjq.64.1564948440284; Sun, 04 Aug 2019 12:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564948440; cv=none; d=google.com; s=arc-20160816; b=KSCAfPYpsYkoUDbYjTfgwo3kok9Cc93+cKJ+ytefbWadKK36KTrmUgQm0ZIaU3F4GR +VdQHbU1S3gSa7YvKLqzfBXt0pDz+wfok7f47uOgTUhmxUNoKEoezhKUW2iwWEliar38 otLVVMcO1rptnLdHmFNs7oBFGZ6jGjOBywQLbOOwri1p1JyzbFcppjBcX9fRu3Bg0okP g7R5O02gL2cumlPrCeIOTevlSg1JIzMEZ54L8wof+Z0bFrHqD1xH26qRJs3DGQQMbWdq VhQTYvqxTM10Y7gF4QfWlWTqg62N0vEi+aIvQMFBcbklDipLlEm5zOZFOlSJeystbqEV 1ICA== 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=4/xRh2IiNwm8zsrjoJ2nwf3wqEM5QBtRwkv5xF0j8Ww=; b=y3ZYjaXC5PeKcHy9rhmOrEWWX1mNLfDsfwN7YGrmBscAT1aFYsvUyfHARtNwEI+fRy n9r7Ia5o+sCS0bqG8i7VXFjL3J8GVS2ZvNghQHxCCBZc0NnsXrCFZVABSJwMSRlp0+XA etkpM81GkNKxJx31uRRBj8UXEIH1VCyzN05MAam6kM1RHrrgV/ocO6kU8o3FfdBv+4xP 1DClTczK6iAf8UtJdZfYAYhu3Aibj1f9DUXwSkoTe7HgCQaMedARDTwjRI6akftSfj1E yZ9HUydFOo6ZrU/egeUp0zP0DZVfLvgD3ruQsANrshs1aFzUvHo3xU3JeLlBqiB1ZM/6 3nNw== 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 b32si27761910pla.277.2019.08.04.12.53.43; Sun, 04 Aug 2019 12:54:00 -0700 (PDT) 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 S1726656AbfHDTxI (ORCPT + 99 others); Sun, 4 Aug 2019 15:53:08 -0400 Received: from bmailout3.hostsharing.net ([176.9.242.62]:49435 "EHLO bmailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbfHDTxI (ORCPT ); Sun, 4 Aug 2019 15:53:08 -0400 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 bmailout3.hostsharing.net (Postfix) with ESMTPS id D0DCD100D9411; Sun, 4 Aug 2019 21:53:06 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 88F281EC0; Sun, 4 Aug 2019 21:53:06 +0200 (CEST) Date: Sun, 4 Aug 2019 21:53:06 +0200 From: Lukas Wunner To: Mika Westerberg Cc: Bjorn Helgaas , "Rafael J. Wysocki" , Keith Busch , Andy Shevchenko , Frederick Lawler , "Gustavo A . R . Silva" , Sinan Kaya , Kai Heng Feng , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend Message-ID: <20190804195306.gm4livsxkrleaciv@wunner.de> References: <20190618125051.2382-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190618125051.2382-1-mika.westerberg@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 03:50:50PM +0300, Mika Westerberg wrote: > @@ -313,10 +332,12 @@ static struct pcie_port_service_driver hpdriver_portdrv = { > .remove = pciehp_remove, > > #ifdef CONFIG_PM > +#ifdef CONFIG_PM_SLEEP > .suspend = pciehp_suspend, > .resume_noirq = pciehp_resume_noirq, > +#endif > .resume = pciehp_resume, > - .runtime_suspend = pciehp_suspend, > + .runtime_suspend = pciehp_runtime_suspend, > .runtime_resume = pciehp_runtime_resume, > #endif /* PM */ > }; Hm, why isn't ".resume" part of the "#ifdef CONFIG_PM_SLEEP" section? Otherwise LGTM. Thanks, Lukas