Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2063301ybi; Mon, 1 Jul 2019 05:34:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjn40RUICgJYY5uS23DfDc1eWPTTKgOEIxM86ZHtogGNADi2rsn8tB8noZOYZ+kFHCFH+4 X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr27427988plr.274.1561984472999; Mon, 01 Jul 2019 05:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561984472; cv=none; d=google.com; s=arc-20160816; b=FsUwazAyZx0j0O4q9dMXGctySEqBKgJI1X+ihV4DZKBu5b6NFJ/qQof0LI9O4itwMO szUIinX4eP9HcbJtrnR+6gYIP12DN6exAzVee1LgsLtu1YW569vSy2mOec3xiDO5Tbz3 hwnm1avDd1RxYPt7wvwjMZKyoLw574SstosyFQGMTkT5TSY9J7O+YzklYP90VfWfZYq9 bzUYL9ZlDI84GO+dkzC4RfXFtKGwIcaQsr9J3lBpSEAmvrmwAPY9UIzNNej59JEjFTky rgZoE5iPF9eC8PbPZgcUdP9aMdS8NLX/HJwDBBMzykwNLA0glh0lhABveyKMj/tD3DWc S2pQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=4FZVerzE1oFDIf/AEgJefyhsJDoB9qh6VUR1z8DL6tw=; b=u186XZo+bVz04SJOAwtlLslkJeofQ4MjTmOKM48DEkKM2i7EkIT3LSVZhw28wyP6vA UL3emq3BwUsnL2FfggRmsyVw709mXrWic0YIVhG0Fiyn3HfHX7D128VpvMJAvDspIEd8 B3cLuXCQVRfVNG9CFyLHjbcz0mhSytr0YEh/nHaMGC/QErq5VWDtPe9kece1RAUFOAlf 0igKjfCUfWD6QwZi4LVK/+tArQsNX1WfndDL8Xa/uHF6naTIpQNeW341KfsDA4Mf1Mk3 ahy/0VspG7aOIGGbAjAWsysUm2gMNjj90FXqUQ6ymAJbAf7an7kNQqy8eWKwLebMAFi9 GTEA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si9832485pgs.168.2019.07.01.05.34.15; Mon, 01 Jul 2019 05:34:32 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbfGALa3 (ORCPT + 99 others); Mon, 1 Jul 2019 07:30:29 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:44506 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727279AbfGALa3 (ORCPT ); Mon, 1 Jul 2019 07:30:29 -0400 Received: by mail-ed1-f66.google.com with SMTP id k8so22879630edr.11 for ; Mon, 01 Jul 2019 04:30:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4FZVerzE1oFDIf/AEgJefyhsJDoB9qh6VUR1z8DL6tw=; b=SrB61me/+0JfOJyEayjPqtq0mAkqcfLd3WCwghSWA19QQVTdkfuH+6opTAqSd7TMdm WQxAN1+/cYb5dgo+S5mq6/drev76NpRFS6qGU3p7zsW4xV3n7CkIa1F8W5/L3AlaAvQf TEIvMa4LYEyDhnRTEwzaDrNCP4iv4mIbk8h/HxzdAX4EfB4WASEibxcYJ2ibM4TSMxnF WZpqzgHY3N2BG9nBKcH19bDxbHRqKAGr0GB9vIyKlh9QvKa+pv9nnvyqDubJRd3Diyz/ q1gK1ewqGJhwfdFEuOiJ1/jZn/N2qy7tfkm+rfTf1N96m3mHvfBY2P/5Vkqm7tFVY21E tkGw== X-Gm-Message-State: APjAAAUgCb0ZHUirH5w91I8qpfke20Hsk22N4ypcFvSLEyrhTpHvkuTZ uKQGXyJmiBLZ6GtcsUv76iW6iA== X-Received: by 2002:a50:e718:: with SMTP id a24mr28061508edn.91.1561980627445; Mon, 01 Jul 2019 04:30:27 -0700 (PDT) Received: from shalem.localdomain (84-106-84-65.cable.dynamic.v4.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id v32sm3589172edm.92.2019.07.01.04.30.26 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jul 2019 04:30:26 -0700 (PDT) Subject: Re: [PATCH v2 0/5] PM: PCI/ACPI: Hibernation handling fixes To: "Rafael J. Wysocki" , Linux PM Cc: Linux PCI , Linux ACPI , LKML , Bjorn Helgaas , Andy Shevchenko , Mika Westerberg , "Robert R. Howell" References: <4976412.ihyb9sT5jY@kreacher> From: Hans de Goede Message-ID: Date: Mon, 1 Jul 2019 13:30:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <4976412.ihyb9sT5jY@kreacher> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On 01-07-19 12:42, 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). Thank you for the new version, the entire series looks good to me now: Reviewed-by: Hans de Goede Regards, Hans p.s. FWIW I agree that the calling of the suspend_late method of the i2c-designware driver at suspend_noirq time is ugly, thank you for adding the comment documenting this.