Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2310413ybi; Mon, 1 Jul 2019 09:47:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIvL4wRJ/y4KMlYFy0IZ7okffrZMDJa0L5sHBTdli7+YrTyX8DrECC3CLHmDi31sVNEfuj X-Received: by 2002:a17:90a:9281:: with SMTP id n1mr227704pjo.25.1561999622804; Mon, 01 Jul 2019 09:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561999622; cv=none; d=google.com; s=arc-20160816; b=YllBMY6p4n3lGp7aG2LTfOc836VJ+8tXsBuVpSl0IwDPbLyy6g+iUOPF76E1vqGFsN Vy4L5vPXRdpi5YVIutfdvscnBZIgzpyjaFTkz6SkOMLbfdtypRCT9kwNNUrHAz7BlfEa jVfsM/9Dp+hEQidLdDXpegaU3VYFcFR1bU4c4y+j5sSofW/Ii/YbYJ+dg4sdcUv9VUdr ZXJjopMijbH8FmTpVIGQ0BCMj9eC6s9IJXH+8mYPHzVzJ3s+Mpu7WYZrqKKMO/N9U86q 0S9KtPOfOobC1pbOalWYZcqBSYYteVK0zWs0LulTH8CzBSaAaVZbgrg4XjRFSRF3IuvE LKSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=RsQT3nF1KCtklospyI4+V75TEEk7hhZtJVoP9FPYgN0=; b=jitGf4NYpxpjv2wVrWjC6Ro9shCcBhmteYXYrHNnfjDVCuplmo8ESWR1DPMwvdE1ay XicSMkhHF8cjtXCHnW+DXBsTQIBjEoPAL8F4O9UuQPjZFvZ19i6uWkwlT3mCqJzvhh1x NoBc3bXBsgAaTzbXYykw7NgoVa/zLP6r1QgeCVocUkZcsevj6zHflmUomfRIuoTNSwzm 12Eodq1nyDkeXmEdbfRIl4LVxOeMSris5sj3ZyBPTsLrgETU9nMmca699y7zRtwtvnbq ndYxsYWZS0D8mV1WhzN6i48aXTGdG9T8oZ4E2sughI6wkKWhfIXu5ihOVsHmkY3xBFI9 e59A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24si10589807pgi.3.2019.07.01.09.46.46; Mon, 01 Jul 2019 09:47:02 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728762AbfGAQUX (ORCPT + 99 others); Mon, 1 Jul 2019 12:20:23 -0400 Received: from mga06.intel.com ([134.134.136.31]:41787 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbfGAQUW (ORCPT ); Mon, 1 Jul 2019 12:20:22 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 09:20:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,440,1557212400"; d="scan'208";a="184280416" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga001.fm.intel.com with SMTP; 01 Jul 2019 09:20:18 -0700 Received: by lahna (sSMTP sendmail emulation); Mon, 01 Jul 2019 19:20:17 +0300 Date: Mon, 1 Jul 2019 19:20:17 +0300 From: Mika Westerberg To: "Rafael J. Wysocki" 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 Message-ID: <20190701162017.GB2640@lahna.fi.intel.com> References: <4976412.ihyb9sT5jY@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4976412.ihyb9sT5jY@kreacher> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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