Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2026812ybi; Mon, 1 Jul 2019 04:57:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfPhU2NCa6K39Gnh8Iw0d3YGiWyrVLwqkGNBlaLyY5FDcfB6/wXc1JQfNLk4Us5KEHqya/ X-Received: by 2002:a63:d410:: with SMTP id a16mr23418607pgh.122.1561982229615; Mon, 01 Jul 2019 04:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561982229; cv=none; d=google.com; s=arc-20160816; b=dyR1M83JlSZaGq5Ou0lV6dasz0c2o3iXR6YffBKz847xa1sam6USj9jZckz0Mgb4M6 iH5GeUF6SWuQzkUPnagjW7JglkdcsJpzDikGWaqljrchlS5qE8bc0hcUAnoJU8u9xjDe +BKCqXs/fa9oxG0+lN2xo/B9z5tZc+bQcMlEaHMdmeZWpkwdtsHK3k6JvtZQOsh9wJfF +f6ZHc+JcLafudSe0z+LfJ6MG+IvJoJzTGAjpOfFI4ch3d5YBMKIhGrh2uNQyrzq72xq 2plwgw0eUp1tijK9lYttCWJvXUk1RFSm3t3PSZF6QGucbIz5P2dbS+ZorvpFqXLUqlRo vIXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xztvZrbOny/wnxivM8BScgN+42bOO6YZc6hJRIKsrAM=; b=MbbPDw4JK4MB5UOnW468QvhwqDejBYWlMJR09QOg2+H3eP7G0zIZ4YRY5EnpLvDJ1S 2JC246GNfyGnNHg0ZnH2njF3si1/0pKkhY78hvtysaWlp01zaVpxw9QYYOQ0JYX8+BtL WsgP4Btwn2bRDEakmFiwy3Hw1fZCrd5qtd8qqaYebpOjw3M/z3dtGXIb31Y6JXDvi8ix eI1dA5IFvtGMKsY/35obF/2bSVTdVczcjrrNrJYvWWAzMje5+awOxYmP5xHbykAFOH5n OUg2y+5kNPqrR+YHw5PJa02j9TBUkDdtHH3UjSvKDz64qz6+EVOlEDIN+Zt4RenyKgdd Yclg== 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 j64si3942127pge.556.2019.07.01.04.56.54; Mon, 01 Jul 2019 04:57:09 -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 S1729019AbfGAKnk (ORCPT + 99 others); Mon, 1 Jul 2019 06:43:40 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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