From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DE35C06511 for ; Mon, 1 Jul 2019 10:43:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FE542133D for ; Mon, 1 Jul 2019 10:43:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727701AbfGAKnj (ORCPT ); Mon, 1 Jul 2019 06:43:39 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:56119 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727041AbfGAKnj (ORCPT ); Mon, 1 Jul 2019 06:43:39 -0400 Received: from 79.184.254.216.ipv4.supernova.orange.pl (79.184.254.216) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.267) id c2c9cab37650c19c; Mon, 1 Jul 2019 12:43:36 +0200 From: "Rafael J. Wysocki" To: Linux PM Cc: Linux PCI , Linux ACPI , LKML , Bjorn Helgaas , Andy Shevchenko , Mika Westerberg , Hans De Goede , "Robert R. Howell" Subject: [PATCH v2 0/5] PM: PCI/ACPI: Hibernation handling fixes Date: Mon, 01 Jul 2019 12:42:14 +0200 Message-ID: <4976412.ihyb9sT5jY@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi All, This series of patches addresses a few issues related to the handling of hibernation in the PCI bus type and the ACPI PM domain and ACPI LPSS driver. The v2 addresses Hans' concerns regarding the LPSS changes. First of all, all of the runtime-suspended PCI devices and devices in the ACPI PM and LPSS PM domains will be resumed during hibernation (first patch). This appears to be the only way to avoid weird corner cases and the benefit from avoiding to resume those devices during hibernation is questionable. That change allows the the hibernation callbacks in all of the involved subsystems to be simplified (patches 2 and 3). Moreover, reusing bus-level suspend callbacks for the "poweroff" transition during hibernation (which is the case for the ACPI PM domain and LPSS) is incorrect, so patch 4 fixes that. Finally, there are some leftover items in linux/acpi.h that can be dropped (patch 5). Thanks, Rafael