Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3193282ybi; Fri, 5 Jul 2019 03:28:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuZVWSA0ry+dCtT8U3KnLD5JpCzFFzBd21Z4+VSis2dhLyzgttyWLIYazibzJV4B7+pPih X-Received: by 2002:a65:4507:: with SMTP id n7mr4407616pgq.86.1562322531003; Fri, 05 Jul 2019 03:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562322530; cv=none; d=google.com; s=arc-20160816; b=hL9sIjJE+VvRHK08bZqJSUszIA8LDVBtQxC+vKrJJ2esI3qE200F6X6bZS5pAJnJFI bf/4QLJoiVxyEbbe4PDBqs8D8hsvQj6o5JJZYAlSCX5zbXfzUrQQ5RGA2hqoPTdleue6 ws+UweIdGPYrH9PxQb8B0ryad5jCzwThQw98d9TRrWRy74LZYfrdP8kDKJh/glr1KgiU EJeL+dc0LW900J324zS6pH6UtZGacPI0nQVyjJedm5waMbgEA7vTYFY6OR1jf6z46KuU Wv6FHOqO5Ac8EuMC8iMrW6nnw4Wlb6oH2Rovjbze75o8X4Scjo8cbHR/UmGqRcWtqpLI gtVA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MUzk3XhVAz4VCYM3Et3Adw0YIvGYVfDCpQUnupcyRjU=; b=M6b5J5pBXimUM2l+0RhlCaRSS4oEg2BPM/NaiEKHKnvFKAe5a7OzW2ISVbWY9OLtjR YuqE4PWK1RTkfQZ5kUyBVwew0dTO2VweEyq8xp+AWXhUpc0pdG1tit8+RHaRl666cr3k l9dgbrROuIZovTQUkyvNIbMRzt6+Elaranx/xASzVsjONTuj8DX8xLxD2dIMiMBVoKng XfcO8mmdl5M/AifH4xn1Rz8JjiknCWYDTQDqkb728eWr/MkVVDVlKpOsAasWEfPpJChc sttUkCOYvmgcNW7Pjt5pigXyziN0YTU7m6fwbsFBrwLPBJM/LGLrIvgxAoRoI5YWqBdj dQ4Q== 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 d64si8792982pgc.268.2019.07.05.03.28.35; Fri, 05 Jul 2019 03:28:50 -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 S1728351AbfGEJui (ORCPT + 99 others); Fri, 5 Jul 2019 05:50:38 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:42261 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbfGEJui (ORCPT ); Fri, 5 Jul 2019 05:50:38 -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 46046217919f682c; Fri, 5 Jul 2019 11:50:35 +0200 From: "Rafael J. Wysocki" To: Mika Westerberg Cc: Linux PM , Linux PCI , Linux ACPI , LKML , Bjorn Helgaas , Andy Shevchenko , Hans De Goede , "Robert R. Howell" Subject: Re: [PATCH v2 0/5] PM: PCI/ACPI: Hibernation handling fixes Date: Fri, 05 Jul 2019 11:50:35 +0200 Message-ID: <3380486.WkxyVYbAKD@kreacher> In-Reply-To: <20190701162017.GB2640@lahna.fi.intel.com> References: <4976412.ihyb9sT5jY@kreacher> <20190701162017.GB2640@lahna.fi.intel.com> 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 On Monday, July 1, 2019 6:20:17 PM CEST Mika Westerberg wrote: > On Mon, Jul 01, 2019 at 12:42:14PM +0200, Rafael J. Wysocki wrote: > > 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). > > For the whole series, > > Reviewed-by: Mika Westerberg > Thanks! Queued for 5.3 with the tags from you and Hans (I've fixed up comments in the first patch while applying it).