From patchwork Mon Sep 17 08:54:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Ying" X-Patchwork-Id: 1466251 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 782D33FE79 for ; Mon, 17 Sep 2012 08:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753576Ab2IQIzA (ORCPT ); Mon, 17 Sep 2012 04:55:00 -0400 Received: from mga01.intel.com ([192.55.52.88]:12419 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754784Ab2IQIyv (ORCPT ); Mon, 17 Sep 2012 04:54:51 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 17 Sep 2012 01:54:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,434,1344236400"; d="scan'208";a="222936846" Received: from yhuang-dev.sh.intel.com ([10.239.13.28]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2012 01:54:50 -0700 From: Huang Ying To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Huang Ying Subject: [RFC 3/3] PCI/PM: Disable PME poll for PCIe devices Date: Mon, 17 Sep 2012 16:54:36 +0800 Message-Id: <1347872076-5260-4-git-send-email-ying.huang@intel.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1347872076-5260-1-git-send-email-ying.huang@intel.com> References: <1347872076-5260-1-git-send-email-ying.huang@intel.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org PME poll is not necessary for PCIe devices, because PCIe devices use in-band PME message and IRQ on PCIe port to report PME. PME poll is useful for PCI devices. Because for PCI devices, PME is reported via a side-band PME# line and some platform logic, and the platform logic is often missing on many systems. Signed-off-by: Huang Ying --- drivers/pci/pcie/pme.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/pci/pcie/pme.c +++ b/drivers/pci/pcie/pme.c @@ -313,6 +313,7 @@ static int pcie_pme_set_native(struct pc device_set_run_wake(&dev->dev, true); dev->pme_interrupt = true; + dev->pme_poll = false; return 0; }