Cover Letter Detail
Show a cover letter.
GET /api/covers/807145/?format=api
{ "id": 807145, "url": "http://patchwork.ozlabs.org/api/covers/807145/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/cover/1504018610-10822-1-git-send-email-ulf.hansson@linaro.org/", "project": { "id": 19, "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api", "name": "Linux IMX development", "link_name": "linux-imx", "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org", "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1504018610-10822-1-git-send-email-ulf.hansson@linaro.org>", "list_archive_url": null, "date": "2017-08-29T14:56:42", "name": "[v3,0/8] PM / ACPI / i2c: Deploy runtime PM centric path for system sleep", "submitter": { "id": 21036, "url": "http://patchwork.ozlabs.org/api/people/21036/?format=api", "name": "Ulf Hansson", "email": "ulf.hansson@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/linux-imx/cover/1504018610-10822-1-git-send-email-ulf.hansson@linaro.org/mbox/", "series": [ { "id": 388, "url": "http://patchwork.ozlabs.org/api/series/388/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=388", "date": "2017-08-29T14:56:42", "name": "PM / ACPI / i2c: Deploy runtime PM centric path for system sleep", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/388/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/807145/comments/", "headers": { "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming-imx@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"tBdYg9/E\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"SRjkI5vg\"; dkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhWx12SXlz9t38\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 00:58:45 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmhyR-0002aj-2t; Tue, 29 Aug 2017 14:58:39 +0000", "from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmhxC-00022S-6L for linux-arm-kernel@lists.infradead.org;\n\tTue, 29 Aug 2017 14:57:43 +0000", "by mail-lf0-x232.google.com with SMTP id y128so8736077lfd.4\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tTue, 29 Aug 2017 07:57:01 -0700 (PDT)", "from localhost.localdomain (h-158-174-22-67.NA.cust.bahnhof.se.\n\t[158.174.22.67]) by smtp.gmail.com with ESMTPSA id\n\ty23sm652454ljd.19.2017.08.29.07.56.58\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 07:56:59 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=aN8oeGI2l4pKFbBipR+DEL+uT7V7o2zVc2Pm9F4cgU4=;\n\tb=tBd\n\tYg9/Ew+jheGj5on4k0UeKfW2krWr0KDKKj1YVD8+vm0/qqCTC8sVSANta4rG8JR6nr1xl+sPPHBsu\n\tSClpytddchM7aeS6/bHdVOZNqvELAzC+J3STp2RzXA0raEFE1byD36xd3T2hSZ3qVyWzcasQRh6Ro\n\tKBIVN4++1W0PxxaTYzAiHPG+TbFdjTyFZry0okQ+4r+D7yfZJyGkm08NmAF0PfCfyi1qFroRazRMx\n\tMgpSbyQO4rgGljxyINspKWunWmrnwcTgHU2L/0Ak8lLRL7y/tB3od6VSHGU1wpdlbxe55vE0D8ApO\n\t9SYLVA2ZdXG8AiVaizUaXZo87/hLcMg==;", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=X8SYAw+I0xQAOB6bxbbt67cXTs9Hlryvu3HmsEkfoy0=;\n\tb=SRjkI5vgff3mykLJ48/eT+6DQUmO9W47okZ0+YHY0hhphpZV4oRGyD0VwKm3F3xhHt\n\tQ5f00QopgQbMpzhMzTiwBoCMDKwoVmEOvUwXXRApY6HodjHT8lnfTNemFpBJx1XXGFE5\n\tZmoVo6BYkLOZ1cKrOYHNA7KGZGml+B0rpLLcE=" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=X8SYAw+I0xQAOB6bxbbt67cXTs9Hlryvu3HmsEkfoy0=;\n\tb=Bxwv0yQ6kf/SNOPKyIK8sI4O35eHyNmXGfnYiYrSIFakxc4gEdh7xwnqh7Xm9Nohe0\n\tjCg1bHAB4ouu7Sm9iQzO+Fclsw2WVH0KRY8xJab181uEcBj+caZ4fhicSkgf18QtdWVZ\n\toQjzqGnsNe71Cum7FLZJ5YPUMcYM6vV/qNe03mG3u1fVhw2TCLyI/bxorFa9nXpPk4iI\n\tE9eSeHIKpJi7vdaZn79FxGBwppgPYOBfjs/oawGfIQKbv8/386lWJ99zugKk+K774bkM\n\txo8hW0eJSuiYgi020+VxKm6cyC4W4JHlnUiEvHID1vxqe2BNQYiQtjGrARXCCfPb1kqD\n\t1JdQ==", "X-Gm-Message-State": "AHYfb5h2b/t0/dCoR8TrNPSSd1+4tKg5KJLWMqYOhrAoUQab+pZgFqbI\n\trR93xSkD3HPpSHjR", "X-Received": "by 10.25.147.13 with SMTP id v13mr207854lfd.165.1504018619757;\n\tTue, 29 Aug 2017 07:56:59 -0700 (PDT)", "From": "Ulf Hansson <ulf.hansson@linaro.org>", "To": "Wolfram Sang <wsa@the-dreams.de>,\n\t\"Rafael J . Wysocki\" <rjw@rjwysocki.net>, \n\tLen Brown <lenb@kernel.org>, linux-acpi@vger.kernel.org,\n\tlinux-pm@vger.kernel.org", "Subject": "[PATCH v3 0/8] PM / ACPI / i2c: Deploy runtime PM centric path for\n\tsystem sleep", "Date": "Tue, 29 Aug 2017 16:56:42 +0200", "Message-Id": "<1504018610-10822-1-git-send-email-ulf.hansson@linaro.org>", "X-Mailer": "git-send-email 2.7.4", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170829_075723_174591_046E3EC4 ", "X-CRM114-Status": "GOOD ( 15.79 )", "X-Spam-Score": "-2.7 (--)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-2.7 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow\n\ttrust [2a00:1450:4010:c07:0:0:0:232 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain", "X-BeenThere": "linux-arm-kernel@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>", "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>", "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>", "Cc": "Jisheng Zhang <jszhang@marvell.com>, Johannes Stezenbach <js@sig21.net>, \n\tGuodong Xu <guodong.xu@linaro.org>, Kevin Hilman <khilman@kernel.org>,\n\tUlf Hansson <ulf.hansson@linaro.org>,\n\tJarkko Nikula <jarkko.nikula@linux.intel.com>,\n\tHaojian Zhuang <haojian.zhuang@linaro.org>,\n\tJohn Stultz <john.stultz@linaro.org>,\n\tAndy Shevchenko <andriy.shevchenko@linux.intel.com>,\n\tMika Westerberg <mika.westerberg@linux.intel.com>,\n\tSumit Semwal <sumit.semwal@linaro.org>,\n\tlinux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>", "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org", "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org" }, "content": "The i2c designware platform driver, drivers/i2c/busses/i2c-designware-platdrv.c,\nisn't well optimized for system sleep.\n\nWhat makes this driver particularly interesting is because it's a cross-SoC\ndriver, which sometimes means there is an ACPI PM domain attached to the i2c\ndevice and sometimes not. The driver is being used on both x86 and ARM.\n\nIn principle, to optimize the system sleep support in i2c driver, this series\nenables the proven runtime PM centric path for the i2c driver. However, to do\nthat the ACPI PM domain also have to collaborate and understand this behaviour.\n>From earlier versions, Rafael has also pointed out that also the PM core needs\nto be involved.\n\nTherefore a number of changes, patch 1 to patch 6, makes the needed changes to\nthe PM core and the ACPI PM domain. In patch7 and patch 8, the i2c driver gets\noptimized and is converted to the runtime PM centric path for system sleep.\n\nIt shall be noted, the behaviour of the ACPI PM domain should remain intact,\nstill taking benefit of using the direct_complete path during system sleep,\nexcept for those drivers that uses the runtime PM centric path.\n\nThis series has been tested on an ARM64 Hikey board, which isn't having the\ni2c device attached to the ACPI PM domain. This means that the ACPI changes\nneeds to be tested on some relevant Intel SoCs and it's greatly appreciated\nis someone could help out with this, so is of course review comments.\n\nSome news in v3:\n\t- The fix for the i2c driver [1], is now present in Linus' tree from tag\n\tv4.13-rc7 - and so does Rafael's tree.\n\t- To simplify for testers, I have published a branch [3] based upon\n\tRafael's pm tree and linux-next branch.\n\t- Rephrased some part of the coverletter to clarify the intent of this\n\tseries.\n\t- Addressed review comments from v2.\n\nSome news in v2:\n\t- The v1 contained a fix for the i2c driver, this has been sent\n\tseparately [1] and picked up for fixes by Wolfram for v4.13-rcs. However\n\tthe fix has not yet reached Linus' tree. The changes on i2c driver\n\tare based upon that change.\n\t- To simplify for testers, I have published a branch [2] based upon\n\tRafael's pm tree and linux-next branch, which also includes the above\n\tpatch.\n\t- Rephrased the coverletter to clarify the intent of this series.\n\t- Addressed review comments from v1.\n\n[1]\nhttp://patchwork.ozlabs.org/patch/799803/\n\n[2]\ngit://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git acpi_pm_i2c_rpm_path_v2\n\n[3]\ngit://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git acpi_pm_i2c_rpm_path_v3\n\nKind regards\nUlf Hansson\n\n\nUlf Hansson (8):\n PM / Sleep: Make the runtime PM centric path known to the PM core\n PM / ACPI: Restore acpi_subsys_complete()\n PM / Sleep: Remove pm_complete_with_resume_check()\n PM / ACPI: Split code validating need for runtime resume in\n ->prepare()\n PM / ACPI: Split acpi_lpss_suspend_late|resume_early()\n PM / ACPI: Enable the runtime PM centric approach for system sleep\n i2c: designware: Don't resume device in the ->complete() callback\n i2c: designware: Deploy the runtime PM centric path for system sleep\n\n drivers/acpi/acpi_lpss.c | 79 ++++++++++++++------\n drivers/acpi/device_pm.c | 111 ++++++++++++++++++++++------\n drivers/base/power/generic_ops.c | 23 ------\n drivers/base/power/main.c | 49 ++++++++++--\n drivers/base/power/runtime.c | 1 +\n drivers/i2c/busses/i2c-designware-platdrv.c | 34 ++-------\n include/linux/pm.h | 8 +-\n 7 files changed, 204 insertions(+), 101 deletions(-)" }