{"id":810337,"url":"http://patchwork.ozlabs.org/api/covers/810337/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/cover/3958866.l2qnKDbinI@aspire.rjw.lan/","project":{"id":35,"url":"http://patchwork.ozlabs.org/api/projects/35/?format=json","name":"Linux I2C development","link_name":"linux-i2c","list_id":"linux-i2c.vger.kernel.org","list_email":"linux-i2c@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<3958866.l2qnKDbinI@aspire.rjw.lan>","list_archive_url":null,"date":"2017-09-05T23:41:37","name":"[RFT,v3,0/3] i2c: designware: Runtime PM aware system sleep handling","submitter":{"id":26536,"url":"http://patchwork.ozlabs.org/api/people/26536/?format=json","name":"Rafael J. Wysocki","email":"rjw@rjwysocki.net"},"mbox":"http://patchwork.ozlabs.org/project/linux-i2c/cover/3958866.l2qnKDbinI@aspire.rjw.lan/mbox/","series":[{"id":1671,"url":"http://patchwork.ozlabs.org/api/series/1671/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/list/?series=1671","date":"2017-09-05T23:46:01","name":"i2c: designware: Runtime PM aware system sleep handling","version":3,"mbox":"http://patchwork.ozlabs.org/series/1671/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/810337/comments/","headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn3fh4p93z9sD9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 10:02:04 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754574AbdIFACB (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 5 Sep 2017 20:02:01 -0400","from cloudserver094114.home.net.pl ([79.96.170.134]:61875 \"EHLO\n\tcloudserver094114.home.net.pl\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1754581AbdIFAB5 (ORCPT\n\t<rfc822;linux-i2c@vger.kernel.org>); Tue, 5 Sep 2017 20:01:57 -0400","from 79.184.253.199.ipv4.supernova.orange.pl (79.184.253.199)\n\t(HELO aspire.rjw.lan)\n\tby serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer\n\t0.82) id c4414ecc1cea330f; Wed, 6 Sep 2017 02:01:55 +0200"],"From":"\"Rafael J. Wysocki\" <rjw@rjwysocki.net>","To":"\"Rafael J. Wysocki\" <rjw@rjwysocki.net>, linux-pm@vger.kernel.org","Cc":"linux-i2c@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>,\n\tlinux-acpi@vger.kernel.org, Kevin Hilman <khilman@kernel.org>,\n\tJarkko Nikula <jarkko.nikula@linux.intel.com>,\n\tAndy Shevchenko <andriy.shevchenko@linux.intel.com>,\n\tMika Westerberg <mika.westerberg@linux.intel.com>,\n\tJisheng Zhang <jszhang@marvell.com>,\n\tJohn Stultz <john.stultz@linaro.org>, Guodong Xu <guodong.xu@linaro.org>,\n\tSumit Semwal <sumit.semwal@linaro.org>,\n\tHaojian Zhuang <haojian.zhuang@linaro.org>,\n\tJohannes Stezenbach <js@sig21.net>, Ulf Hansson <ulf.hansson@linaro.org>,\n\tLee Jones <lee@kernel.org>","Subject":"[RFT][PATCH v3 0/3] i2c: designware: Runtime PM aware system sleep\n\thandling","Date":"Wed, 06 Sep 2017 01:41:37 +0200","Message-ID":"<3958866.l2qnKDbinI@aspire.rjw.lan>","In-Reply-To":"<3023226.l5IfJK6GIc@aspire.rjw.lan>","References":"<3023226.l5IfJK6GIc@aspire.rjw.lan>","MIME-Version":"1.0","Content-Transfer-Encoding":"7Bit","Content-Type":"text/plain; charset=\"us-ascii\"","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"},"content":"On Monday, September 4, 2017 1:05:57 AM CEST Rafael J. Wysocki wrote:\n> Hi,\n\nAn update related to the dependency on intel-lpss.\n\n> The point here is to avoid runtime resuming i2c designware devices during\n> system suspend in the driver's ->suspend callback in the case when the\n> ACPI PM domain is not present.  That will allow us to deal with the\n> ACPI PM domain case going forward, among other things.\n> \n> The first patch cleans up the runtime PM handling in the i2c-designware-platdrv\n> _probe() routine so as to make it enable runtime PM in all cases, but prevent\n> the device from being runtime suspended via pm_runtime_forbid() if\n> pm_disabled is set.\n\nThe second one pushed the intel-lpss system suspend/resume callbacks to the\nlate/early stages of suspend/resume, respectively, so that the i2c-designware-platdrv\nones can be pushed too.\n\n> The second one get rids of some ugly code and makes the PM callbacks of the\n> driver handle runtime-suspended devices during system suspend/resume.\n\nThis is the third one and it does less than it did before now.\n\n> Please test if you can and let me know if anything breaks.\n\nThat still applies. :-)\n\nThanks,\nRafael"}