From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667AbdFSVq7 (ORCPT ); Mon, 19 Jun 2017 17:46:59 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:52550 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752152AbdFSVpv (ORCPT ); Mon, 19 Jun 2017 17:45:51 -0400 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Linux PCI , Linux ACPI , Bjorn Helgaas , Mika Westerberg , Greg Kroah-Hartman Subject: [PATCH 0/6] PM: Unify the handling of device wakeup settings Date: Mon, 19 Jun 2017 23:31:58 +0200 Message-ID: <12296383.UdE5HVtyng@aspire.rjw.lan> User-Agent: KMail/4.14.10 (Linux/4.12.0-rc1+; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The handling of device wakeup settings, especially in the ACPI core and the PCI bus type, depends on whether it is about system wakeup from sleep states or remote wakeup in the working state (runtime). However, that distinction is mostly based on the ACPI concept of "wakeup" and "runtime" GPEs, which is somewhat artificial, because the underlying hardware mechanism is basically the same in both cases. Moreover, suspend-to-idle is now supported as a sleep state and wakeup from it is based on exactly the same hardware capabilities as the working-state (runtime) remote wakeup. The following patch series removes that distinction and unifies the handling of device wakeup settings between system sleep and runtime. It also fixes one issue related to wakeup signaling through PCI bridges. [1/6]: Get rid of the "runtime wakeup" concept from the ACPI core. [2/6]: Unify device wakeup settings code paths in the ACPI core. [3-4/6]: Unify device wakeup settings code paths in the PCI bus type code. [5/6]: Fix wakeup-related issue with bridges in the PCI bus type code. [6/6]: Get rid of the "runtime wakeup" concept from the driver core. The series is based on current linux-next and will be made available for testing in the linux-pm.git tree in a couple of days. Thanks, Rafael