[{"id":1774154,"web_url":"http://patchwork.ozlabs.org/comment/1774154/","msgid":"<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>","list_archive_url":null,"date":"2017-09-24T12:01:03","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"content":"On 09/24/2017 12:59 PM, Vignesh R wrote:\n> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n> switch on QSPI power domain on TI 66AK2G SoC during probe.\n> \n> Signed-off-by: Vignesh R <vigneshr@ti.com>\n\nAre you planning to add some more fine-grained PM control later?\n\n> ---\n>  drivers/mtd/spi-nor/cadence-quadspi.c | 11 +++++++++++\n>  1 file changed, 11 insertions(+)\n> \n> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c\n> index d9629e8f4798..2c8e6226d267 100644\n> --- a/drivers/mtd/spi-nor/cadence-quadspi.c\n> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c\n> @@ -31,6 +31,7 @@\n>  #include <linux/of_device.h>\n>  #include <linux/of.h>\n>  #include <linux/platform_device.h>\n> +#include <linux/pm_runtime.h>\n>  #include <linux/sched.h>\n>  #include <linux/spi/spi.h>\n>  #include <linux/timer.h>\n> @@ -1224,6 +1225,13 @@ static int cqspi_probe(struct platform_device *pdev)\n>  \t\treturn -ENXIO;\n>  \t}\n>  \n> +\tpm_runtime_enable(&pdev->dev);\n> +\tret = pm_runtime_get_sync(&pdev->dev);\n> +\tif (ret < 0) {\n> +\t\tpm_runtime_put_noidle(&pdev->dev);\n> +\t\treturn ret;\n> +\t}\n> +\n>  \tret = clk_prepare_enable(cqspi->clk);\n>  \tif (ret) {\n>  \t\tdev_err(dev, \"Cannot enable QSPI clock.\\n\");\n> @@ -1275,6 +1283,9 @@ static int cqspi_remove(struct platform_device *pdev)\n>  \n>  \tclk_disable_unprepare(cqspi->clk);\n>  \n> +\tpm_runtime_put_sync(&pdev->dev);\n> +\tpm_runtime_disable(&pdev->dev);\n> +\n>  \treturn 0;\n>  }\n>  \n>","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"fucisfoJ\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"FJg2JAuK\"; 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 3y0R2v5Ngwz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 22:13:59 +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 1dw5n6-0005HR-M4; Sun, 24 Sep 2017 12:13:44 +0000","from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dw5lh-0004Ah-NS; Sun, 24 Sep 2017 12:12:24 +0000","by mail-wr0-x242.google.com with SMTP id k20so2910454wre.1;\n\tSun, 24 Sep 2017 05:11:56 -0700 (PDT)","from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tr73sm3309912wmg.19.2017.09.24.05.11.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 24 Sep 2017 05:11:54 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=7PywdlmKlh1kttnRBPVSkntmSxYWxG18ZRtxbIKMe4Q=;\n\tb=fucisfoJUW6wMm\n\tC7a5zoNLmihXXlA+0JUSjCrvWGI/4JL/HF6tLybwLBE8TkWvMouQPoAVIx/ZoUQP5n/qK5uaosEFV\n\tv26rZ0ZImyMVfwdHbd7CSsB0AEqRcn4us+jDIxrKwcyQS4jXpSXBXqKTNzLkmaCied79JINcLXvBw\n\tw9Hs47XabY2YoA1oRT1QqpA6yKVg4ERqOwxajcRnXoQ031wLox56+xgA5GdvQSMbHE7P8PtPqgT7D\n\tzzGl8DI4AqBLjOtb5gR/XCFviuwg7106sKSGqOT/dO/WSiYHunj70pRqyMeUwPtx31wqmKJM1dLcX\n\tXbpqL9r+a856LLqc6WJQ==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=uooae0hFGXjq0bKLM5WInyyryMVM56r8ySShsuoocm8=;\n\tb=FJg2JAuKxFd/SCahTIA3cA3KAFYR+GRnYeqqAkSjtAjQO2WGpGGXCmS+G6VjXC4k54\n\tfHElvu/m0G3nfTdYVcCIaCKCvpWOegtVSTR+zcyJWQ6qQrkDRR6ZXU4R4gMq20Lq3sCA\n\tNUzBLH1BQlmU3A+jwkYPy97sPCTKSejwLDApvMKWywgcBLM49C4pw3ciKEQh8q/chBxr\n\tHI29IknLgd/24QK+3fTshJeWao6wb3lNk/YbKYVbeJojyYklyFR1ygYsT50HWsILwfTz\n\t2mbqbFn1U5L11vXn6gqRUCzC+BqdL8hoE8bUWyESDMD6kUyp+tHMqt0reWjpyvMf+hWQ\n\tfQEA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=uooae0hFGXjq0bKLM5WInyyryMVM56r8ySShsuoocm8=;\n\tb=J1Numscb9+jRxz4TXt7leCnRoC5K/F2zLyI9yhW82OmboBAgLFviJ1SWvvuPttj2hN\n\tQ2F7MfPWSOmpWmx4BO9qRnnXxTrJIc4wIlVA9L/HdnAq7JkUIhXVbyNHhZ09Pi8vDkxi\n\t5VhO7mV21yDHkR19ZvrGKITuXv+fwlfGmVQCo/RjJ0knpIyyCDd7OUIfnjE6EdljN+xd\n\tHZ+YYWTaVqL62YD9imh3ezigkm2wgdE4UBPMKkfIRgldjvRavlR8+q3q0yF2eLeA/Ti7\n\tz1R/Mr4VlqIFZUfmRzuJi2NKVhDB/uyHp8F73ltNl7Nv0ytYjlsZk/CivwICP8JEZAT9\n\tjiVA==","X-Gm-Message-State":"AHPjjUiHAdHCMIIAw1yPGMV6D23gqGMCS2RVXPsEP9BsS2YKOFghV+T3\n\txGnJPxjVao1SMmh9tMlTd44q28Q5","X-Google-Smtp-Source":"AOwi7QDiZ7fJE8gGZLIOq0q5GJDZIqnb8l5PFKuA+why498HSAGbk3TRmfgu5wvXZisFLlFZ1WMK4g==","X-Received":"by 10.223.175.230 with SMTP id y38mr3327959wrd.213.1506255115171;\n\tSun, 24 Sep 2017 05:11:55 -0700 (PDT)","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"Vignesh R <vigneshr@ti.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>","From":"Marek Vasut <marek.vasut@gmail.com>","Message-ID":"<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>","Date":"Sun, 24 Sep 2017 14:01:03 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<20170924105924.23923-6-vigneshr@ti.com>","Content-Language":"en-US","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170924_051218_670488_39A88A4C ","X-CRM114-Status":"GOOD (  15.03  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c0c:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (marek.vasut[at]gmail.com)\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, linux-mtd@lists.infradead.org,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1774178,"web_url":"http://patchwork.ozlabs.org/comment/1774178/","msgid":"<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>","list_archive_url":null,"date":"2017-09-24T13:08:23","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":65039,"url":"http://patchwork.ozlabs.org/api/people/65039/","name":"Raghavendra, Vignesh","email":"vigneshr@ti.com"},"content":"On 9/24/2017 5:31 PM, Marek Vasut wrote:\n> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>\n>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n> \n> Are you planning to add some more fine-grained PM control later?\n\nYes, I will need to add fine-grained PM control at some point. But, for\nnow SoC does not really support low power mode or runtime power saving\noption.\nThe fact that driver still uses clk_prepare_*() calls to enable/disable\nclocks instead of pm_*() calls makes it a bit tricky though.\n\nJust figured out I forgot to add cleanup code in error handling path of\nprobe(). Will fix that and send a v4.\n\n> \n>> ---\n>>  drivers/mtd/spi-nor/cadence-quadspi.c | 11 +++++++++++\n>>  1 file changed, 11 insertions(+)\n>>\n>> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c\n>> index d9629e8f4798..2c8e6226d267 100644\n>> --- a/drivers/mtd/spi-nor/cadence-quadspi.c\n>> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c\n>> @@ -31,6 +31,7 @@\n>>  #include <linux/of_device.h>\n>>  #include <linux/of.h>\n>>  #include <linux/platform_device.h>\n>> +#include <linux/pm_runtime.h>\n>>  #include <linux/sched.h>\n>>  #include <linux/spi/spi.h>\n>>  #include <linux/timer.h>\n>> @@ -1224,6 +1225,13 @@ static int cqspi_probe(struct platform_device *pdev)\n>>  \t\treturn -ENXIO;\n>>  \t}\n>>  \n>> +\tpm_runtime_enable(&pdev->dev);\n>> +\tret = pm_runtime_get_sync(&pdev->dev);\n>> +\tif (ret < 0) {\n>> +\t\tpm_runtime_put_noidle(&pdev->dev);\n>> +\t\treturn ret;\n>> +\t}\n>> +\n>>  \tret = clk_prepare_enable(cqspi->clk);\n>>  \tif (ret) {\n>>  \t\tdev_err(dev, \"Cannot enable QSPI clock.\\n\");\n>> @@ -1275,6 +1283,9 @@ static int cqspi_remove(struct platform_device *pdev)\n>>  \n>>  \tclk_disable_unprepare(cqspi->clk);\n>>  \n>> +\tpm_runtime_put_sync(&pdev->dev);\n>> +\tpm_runtime_disable(&pdev->dev);\n>> +\n>>  \treturn 0;\n>>  }\n>>  \n>>\n> \n>","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"NjhyZZar\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"FrtUls4n\";\n\tdkim-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 3y0SJG0QDHz9sxR\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 23:10:38 +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 1dw6fz-0004S0-9j; Sun, 24 Sep 2017 13:10:27 +0000","from fllnx209.ext.ti.com ([198.47.19.16])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dw6fs-00047I-T1; Sun, 24 Sep 2017 13:10:23 +0000","from dlelxv90.itg.ti.com ([172.17.2.17])\n\tby fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8OD8ZqD000873; \n\tSun, 24 Sep 2017 08:08:35 -0500","from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30])\n\tby dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8OD8Uf4008266; \n\tSun, 24 Sep 2017 08:08:30 -0500","from DLEE106.ent.ti.com (157.170.170.36) by DLEE100.ent.ti.com\n\t(157.170.170.30) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tSun, 24 Sep 2017 08:08:30 -0500","from dlep33.itg.ti.com (157.170.170.75) by DLEE106.ent.ti.com\n\t(157.170.170.36) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Sun, 24 Sep 2017 08:08:30 -0500","from [172.22.218.57] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8OD8Op7018225;\n\tSun, 24 Sep 2017 08:08:25 -0500"],"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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=tgf7yr8m/VBGjfzykH2bhefobGmAIu+8KDr+EELvs+Q=;\n\tb=NjhyZZaryFVde3\n\tDzwVlkFvQFB1Lq21/rshrLG/j/X9FHBnB6/muiAC/TMuHtWCu5be2kqJRu+oPPqvFs6bCIK+fQENW\n\t7vkU8oXiEsW0Fr4XlgHE2PQycPMm8PwaXO06/gmEtt1CNqjmVyN04EfpThDtvcHHJfnRyuQ7OX0e5\n\tTRfg8MsAfwPVWXOJjieJ9l/IcLN2gaRvJ9kR+t4g+nFYld/0ZVB+HUAFI8jUQvN7kgcWxPPJ5Rqiy\n\tgltUcNvKpyf0P6O2MobdqUQhoYxACD7RnAw0BoreIgL+Ciz9C/L0xGfsi75VHZtQU4g4GlbTzEjtw\n\teF8usWQ+nssG4gy398pw==;","v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506258515;\n\tbh=awk7ZFFBUO7M3Pfur1niddfdlV1zeWFvGhfus+VnrE8=;\n\th=Subject:To:CC:References:From:Date:In-Reply-To;\n\tb=FrtUls4nGw1YlkIX+6wd7sPLvmJLpZ+nBboG3IsT9yeFmKbNEISUTOHTv+LvnphZz\n\tkvHopk8XomIk/oyCp7jMeQkpElYo1d1D0SXaNtxYuz9beUnBrFXrt2OVZ4NKn+U3F4\n\tG9GSIlGXy6KuJEA0pPSior/89umzZZkdkh/DonCE="],"Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"Marek Vasut <marek.vasut@gmail.com>, Cyrille Pitchen\n\t<cyrille.pitchen@wedev4u.fr>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>","From":"Vignesh R <vigneshr@ti.com>","Message-ID":"<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>","Date":"Sun, 24 Sep 2017 18:38:23 +0530","User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>","Content-Language":"en-US","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170924_061021_419390_0A0DF451 ","X-CRM114-Status":"GOOD (  10.63  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.47.19.16 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, linux-mtd@lists.infradead.org,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1774182,"web_url":"http://patchwork.ozlabs.org/comment/1774182/","msgid":"<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>","list_archive_url":null,"date":"2017-09-24T13:12:37","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"content":"On 09/24/2017 03:08 PM, Vignesh R wrote:\n> \n> \n> On 9/24/2017 5:31 PM, Marek Vasut wrote:\n>> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>>\n>>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n>>\n>> Are you planning to add some more fine-grained PM control later?\n> \n> Yes, I will need to add fine-grained PM control at some point. But, for\n> now SoC does not really support low power mode or runtime power saving\n> option.\n> The fact that driver still uses clk_prepare_*() calls to enable/disable\n> clocks instead of pm_*() calls makes it a bit tricky though.\n> \n> Just figured out I forgot to add cleanup code in error handling path of\n> probe(). Will fix that and send a v4.\n\nOK, fine. Cleanups are welcome. The SoCFPGA doesn't do much runtime PM\neither, so it's fine for now.","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"ZUO/1AJI\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fz6ka5JW\"; 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 3y0SMm6fZxz9sPs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 23:13:40 +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 1dw6iw-00075S-VC; Sun, 24 Sep 2017 13:13:30 +0000","from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dw6iT-0006a1-BN; Sun, 24 Sep 2017 13:13:03 +0000","by mail-wr0-x243.google.com with SMTP id k20so2988412wre.1;\n\tSun, 24 Sep 2017 06:12:40 -0700 (PDT)","from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tf43sm9404003wra.79.2017.09.24.06.12.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 24 Sep 2017 06:12:38 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=XkmACwLdONF0n8xMTtz31zoheOFC0oAG3AKOL4Pa9No=;\n\tb=ZUO/1AJI8THlOX\n\tUN3lU5WMghjhN3DbEHN88bzRtATNaDmyEusaqa8tFQ57FlW3LPQeraGWmpLVZOJEG2VZenYEaMwGd\n\t/CeRd35IRUJ2kYuwtsXt98loIOE0DgC2jxSkWSzZ8Y/dzZLXGT2czR9zrNVaO8W1C5BfRzPDjlkgW\n\tb1K2KtZug8RxSBiWHgOfnF95LNBmzfuKP4YqpEmscAyVlV1HvLYAMibeSiHSqY6XWrDakRm6MqYLb\n\tABe0GqbmyA56cFQMqoGZ5F4xKg/R6IRfZ5HZ31N8vsh6w7PZDZRs6dgexyfpL1exxeEnsQXEuJ5Dc\n\tSFSm8WvmQp4ajhqh+cGA==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=kmll9l4eAvYUwnIen3TWbsYuSMORrldpFD+hfGSzAsY=;\n\tb=fz6ka5JW4WCJWvkTaVSR+bjIZTuqfgozYRHQjZzx+yfgr2Rrk+Sybqpj+BiwQpT0ix\n\tHKA6KLrZg058l9+s2lSd8+PdJzwKUhpqh8CtWmJxIZuzlMgUPcLocniAC5dZ2MgLyCpu\n\tJhboloG7GBRrFTCRNgPxU75eUKDMpTMwALcuY+tRPzD4TXWn7y8iWubwhtdo5cJucuyl\n\tW0hI5/oS9tqU3Md0uCdHFjK8RKleL+d5FRYzmfkDIRm6jxh3Ui3JSxcz/VsVWXR/0y9c\n\truwwyPPg/mm136/LFaf4pF3PP92YWTuJ06ko7AG39QGKWg+HcEQqjQSRjZa5c4wK0lpM\n\tM36g=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=kmll9l4eAvYUwnIen3TWbsYuSMORrldpFD+hfGSzAsY=;\n\tb=i0/AkJKxCHIaxRxhqSsT4pKMQVuMP4NivZo6Nas7PqGmyBZSHHiPG14QZrUOAiCJCf\n\t0Uw8NWxDgVxUnTfMr+81XI7Fmca2NzcGyspYhtTP0MH8i/hNhhag8V1b+pkGJUsQPQql\n\tmZ8sGnpM+0H5Wupj4SeZkHJ2cHcWwiE4FrTvj9gWl9rWRg7MY13TKa8dNNIJ9+TOaaeN\n\tirY14M/aAfLV0j0s5wFL7hS/PFcheEyGb1WjV/F4PHBz2Oco6/RAQMbu18KPk+wSzbTx\n\tlp9dI6Fn/zR9mqb6BMAuwgN5A6NyzD4xLbBXGpWYkFOAtzxRbOGopnZTDSnhOUwLshdz\n\t+ssw==","X-Gm-Message-State":"AHPjjUiK8n0vCwQyq18PlXyePxK9LKw6OAiXpRJxzSgvJ1PqbqCVV7iR\n\tS3pkmPZ11PA17i7ezedS0MhNe2w7","X-Google-Smtp-Source":"AOwi7QCUd5yPWnj1p6AjLk702on1A1wVgLzyK6hnqT1u0dESyQWhvmWxF2/hSoRlQ5HfXHN/f+y6hw==","X-Received":"by 10.223.195.108 with SMTP id e41mr3539544wrg.51.1506258758775; \n\tSun, 24 Sep 2017 06:12:38 -0700 (PDT)","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"Vignesh R <vigneshr@ti.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>","From":"Marek Vasut <marek.vasut@gmail.com>","Message-ID":"<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>","Date":"Sun, 24 Sep 2017 15:12:37 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>","Content-Language":"en-US","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170924_061301_646090_BE2C10D2 ","X-CRM114-Status":"GOOD (  13.02  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c0c:0:0:0:243 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (marek.vasut[at]gmail.com)\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, linux-mtd@lists.infradead.org,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1774188,"web_url":"http://patchwork.ozlabs.org/comment/1774188/","msgid":"<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>","list_archive_url":null,"date":"2017-09-24T13:27:30","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":65039,"url":"http://patchwork.ozlabs.org/api/people/65039/","name":"Raghavendra, Vignesh","email":"vigneshr@ti.com"},"content":"On 9/24/2017 6:42 PM, Marek Vasut wrote:\n> On 09/24/2017 03:08 PM, Vignesh R wrote:\n>>\n>>\n>> On 9/24/2017 5:31 PM, Marek Vasut wrote:\n>>> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>>>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>>>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>>>\n>>>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n>>>\n>>> Are you planning to add some more fine-grained PM control later?\n>>\n>> Yes, I will need to add fine-grained PM control at some point. But, for\n>> now SoC does not really support low power mode or runtime power saving\n>> option.\n>> The fact that driver still uses clk_prepare_*() calls to enable/disable\n>> clocks instead of pm_*() calls makes it a bit tricky though.\n>>\n>> Just figured out I forgot to add cleanup code in error handling path of\n>> probe(). Will fix that and send a v4.\n> \n> OK, fine. Cleanups are welcome. The SoCFPGA doesn't do much runtime PM\n> either, so it's fine for now.\n> \n\nOk thanks! Do you know if pm_runtime_get_sync() can enable clocks for\nQSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\nif its possible to get rid of clk_*() calls in favor of pm_*() calls.","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"ea5/PyDH\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"wCnYb//M\";\n\tdkim-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 3y0SjL36sGz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 23:28:54 +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 1dw6xT-00015w-2B; Sun, 24 Sep 2017 13:28:31 +0000","from lelnx194.ext.ti.com ([198.47.27.80])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dw6xO-0000wP-0m; Sun, 24 Sep 2017 13:28:28 +0000","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8ODRakU004576; \n\tSun, 24 Sep 2017 08:27:36 -0500","from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8ODRaw3015498;\n\tSun, 24 Sep 2017 08:27:36 -0500","from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com\n\t(10.64.6.33) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tSun, 24 Sep 2017 08:27:36 -0500","from dlep32.itg.ti.com (157.170.170.100) by DFLE102.ent.ti.com\n\t(10.64.6.23) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Sun, 24 Sep 2017 08:27:36 -0500","from [172.22.218.57] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8ODRVCm018249;\n\tSun, 24 Sep 2017 08:27:32 -0500"],"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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=KT4TVm2NMxow+jWYkLgdQ5v6FAyEAXLkBpW2ForPIFo=;\n\tb=ea5/PyDHNLvnCI\n\t5oWtdxkMVEHy61dsMDuK0urd71twVqZjnEua5Yc/GDLunDnQbUtMngRL3RT2dfiQ9cORaNfJrYY83\n\tX/InN0gEA+7DmVZMP1R7CpfkKH3cgc0qldu3j0BBR7wwzUOjkCED1veZo27QFvIIhSqf2uo94DFjV\n\t4Kcno4jiBZyOVd6Ujk1rHQNHwV4m3KcIBjpy5szjoSX8l8ciVYOBiz7lAn7yMNoAC5wpYZyaj69mt\n\tWsbyyioq1FCpPdJpqC0kgOLG/VUYd5PqoljLzon+ZULZoPBB+3rEpu0T1zwKhfcNiVuYvXPDKFvSy\n\tzWTQTlb3FXe5rfgz6pxQ==;","v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506259656;\n\tbh=6cTk15AFBdDOnLJfVCJvqBics3ytgMCy13z2Zyqs0oI=;\n\th=Subject:To:CC:References:From:Date:In-Reply-To;\n\tb=wCnYb//MdN4kROW8vPg+m/Id/6/vx3iXfYZQfdmNpM7bPnjqaPLxUfKUHqZzcnXCi\n\t//72kbwQLTQycWuXZIUGykvTO9h34LQxN30gbp8yA3LQPWVcnQn53UKz+MKbEJZRGP\n\tx8gS3LEFoNcP+FIqhUxR5nImTz2VdGaxNglBLd0o="],"Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"Marek Vasut <marek.vasut@gmail.com>, Cyrille Pitchen\n\t<cyrille.pitchen@wedev4u.fr>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>","From":"Vignesh R <vigneshr@ti.com>","Message-ID":"<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>","Date":"Sun, 24 Sep 2017 18:57:30 +0530","User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>","Content-Language":"en-US","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170924_062826_265955_1181F96B ","X-CRM114-Status":"UNSURE (   8.29  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.47.27.80 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, linux-mtd@lists.infradead.org,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1774198,"web_url":"http://patchwork.ozlabs.org/comment/1774198/","msgid":"<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>","list_archive_url":null,"date":"2017-09-24T13:51:55","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"content":"On 09/24/2017 03:27 PM, Vignesh R wrote:\n> \n> \n> On 9/24/2017 6:42 PM, Marek Vasut wrote:\n>> On 09/24/2017 03:08 PM, Vignesh R wrote:\n>>>\n>>>\n>>> On 9/24/2017 5:31 PM, Marek Vasut wrote:\n>>>> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>>>>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>>>>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>>>>\n>>>>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n>>>>\n>>>> Are you planning to add some more fine-grained PM control later?\n>>>\n>>> Yes, I will need to add fine-grained PM control at some point. But, for\n>>> now SoC does not really support low power mode or runtime power saving\n>>> option.\n>>> The fact that driver still uses clk_prepare_*() calls to enable/disable\n>>> clocks instead of pm_*() calls makes it a bit tricky though.\n>>>\n>>> Just figured out I forgot to add cleanup code in error handling path of\n>>> probe(). Will fix that and send a v4.\n>>\n>> OK, fine. Cleanups are welcome. The SoCFPGA doesn't do much runtime PM\n>> either, so it's fine for now.\n>>\n> \n> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n\nNot of the top of my head, sorry. +CC Matthew, he should know.","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"Acq/H/M+\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"pqU7tp/g\"; 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 3y0TFB5gQJz9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 23:53:02 +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 1dw7L2-0007tc-6o; Sun, 24 Sep 2017 13:52:52 +0000","from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dw7KU-0007Lg-Kx; Sun, 24 Sep 2017 13:52:20 +0000","by mail-wm0-x242.google.com with SMTP id x17so5015429wmd.5;\n\tSun, 24 Sep 2017 06:51:57 -0700 (PDT)","from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tj37sm2746950ede.12.2017.09.24.06.51.55\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 24 Sep 2017 06:51:55 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=zX+i2JQwfnL4cjvDHH0PxDfXx5wD7HkKTwe7d4Z92fs=;\n\tb=Acq/H/M+RO+onx\n\t7nWSSZo1k6CU2mFPHBOdmxZTEtknYD+36sMpK+eVdrLZLIsX+9GeGaIECMrncXzhDoWK/5IsX3RdM\n\t6/U11ezQEuey3zsWWGqwOEGTjvU4UM1O+JA+b12Tr/vfe+Ry7YnA8/WYgnL4Tmg4aACwaGCJSB8bU\n\tQ2/Sazb1yGsjA8T6M9rAHru0nvco+KmfyVLOwES4GNd7q/Nu8xa2xy2SWblLZcccNlop1fTR+LQ3g\n\tXMmi3cX4oKpestWKdHh6Iq3gnHaFlwTUTv/0wOA+TN/OMGLPhItG13O1I/DZjhAWEZmgem6Sd6HcK\n\t6Qmz5xHoM9RieZcVCZjg==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=bWB7h9iiqY0o4SKohwuBxDQXlhVkJMxQbYSEXhkUv/8=;\n\tb=pqU7tp/g/P8NADUkdvTWkxGt2ztldyxQK3aO8TfCUGC08gFD1gW1MMi0mG0LkHNc3s\n\tZKzJ2irpQeO9zktupPhbpVAmKhllCbJ4DxYe97Rx2tmlWboUwk4sWPzcCvVBdr5ubXmK\n\tYu1HsMLRLtzbSJmq5jC3eMqFl07JOJ8ozG3zdezGKuCN8e3MqlIP/y/rHg5COzdMe4DL\n\ttvSQUFuDNsf+V2bTLH6jXeEAx1YrSQpxzoEufRdnOD4N9+Jcu+aysXbgJbaOdhmzyiB2\n\t12fj/Zc/QBuo06ZV6UwFTD57Nx+MAiXP43rNmPXG+HN1XwN0hu/BaKPtpapP3M4Nk2zg\n\tS4Ag=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=bWB7h9iiqY0o4SKohwuBxDQXlhVkJMxQbYSEXhkUv/8=;\n\tb=jD9BZ1KnbC3eWMSGewaAahERLCOgqb9I0uDFUqs+cWHRCLDFdIUEbrMmcJ+9rqJnDa\n\tFo596b9rDSdslFEn6ZBOf5Zgff5y1xGhbq1wRjSby6OxW8WDppjiJy3ndy3rvBFmv9Tg\n\tMTloCNtreoxiKpvpczJtTzgCA1rCu5LK5T8d8JuK4yAvH7kpzaku+47or8bLxAE8tF9M\n\t9u5LL/eF3cpX1Hl6tOzmisGD8n37zhDAz69AX2W/fJrULRiL2vDTg9uBelwRmK7j4wzV\n\tG6LEyn+p+j9+wFsb6EtP3BbF0MCBA8dm2TQD+h5RCOQLOeVQBWBPfUbbUCVk2D8r0OFa\n\t7Eog==","X-Gm-Message-State":"AHPjjUiQv9TbgbV0T7V1qT5NkJ5N62S9K3yA2vtY7n8BIynRRhyI+C/G\n\tczhwkYmRRcFduZC8ECDIDcQ=","X-Google-Smtp-Source":"AOwi7QDjPxvB79rccrzjuCMm0oUu8ygeHFPRb6dPt5T2qzIACbGrqJb4+Ap6mr07r1uErUZczBkzmw==","X-Received":"by 10.80.162.70 with SMTP id 64mr11361317edl.179.1506261116497; \n\tSun, 24 Sep 2017 06:51:56 -0700 (PDT)","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"Vignesh R <vigneshr@ti.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>","From":"Marek Vasut <marek.vasut@gmail.com>","Message-ID":"<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>","Date":"Sun, 24 Sep 2017 15:51:55 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>","Content-Language":"en-US","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170924_065218_946625_18A0B9FE ","X-CRM114-Status":"GOOD (  13.05  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c09:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (marek.vasut[at]gmail.com)\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, linux-mtd@lists.infradead.org,\n\tmatthew.gerlach@linux.intel.com,\n\tBrian Norris <computersforpeace@gmail.com>, \n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1775006,"web_url":"http://patchwork.ozlabs.org/comment/1775006/","msgid":"<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>","list_archive_url":null,"date":"2017-09-25T22:41:40","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":70992,"url":"http://patchwork.ozlabs.org/api/people/70992/","name":"Matthew Gerlach","email":"matthew.gerlach@linux.intel.com"},"content":"On Sun, 24 Sep 2017, Marek Vasut wrote:\n\n> On 09/24/2017 03:27 PM, Vignesh R wrote:\n>>\n>>\n>> On 9/24/2017 6:42 PM, Marek Vasut wrote:\n>>> On 09/24/2017 03:08 PM, Vignesh R wrote:\n>>>>\n>>>>\n>>>> On 9/24/2017 5:31 PM, Marek Vasut wrote:\n>>>>> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>>>>>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>>>>>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>>>>>\n>>>>>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n>>>>>\n>>>>> Are you planning to add some more fine-grained PM control later?\n>>>>\n>>>> Yes, I will need to add fine-grained PM control at some point. But, for\n>>>> now SoC does not really support low power mode or runtime power saving\n>>>> option.\n>>>> The fact that driver still uses clk_prepare_*() calls to enable/disable\n>>>> clocks instead of pm_*() calls makes it a bit tricky though.\n>>>>\n>>>> Just figured out I forgot to add cleanup code in error handling path of\n>>>> probe(). Will fix that and send a v4.\n>>>\n>>> OK, fine. Cleanups are welcome. The SoCFPGA doesn't do much runtime PM\n>>> either, so it's fine for now.\n>>>\n>>\n>> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n>> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n>> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n>\n> Not of the top of my head, sorry. +CC Matthew, he should know.\n\nI am not an expert at the clock framework nor the power management, but I\ndid ask around a bit.  No one I asked was planning to change the clk_*()\ncalls to pm_*() call, but the feedback was that it would be a good idea.\n\nMatthew Gerlach\n\n\n>\n> -- \n> Best regards,\n> Marek Vasut\n>","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"DIAJpwv2\"; \n\tdkim-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 3y1Jxb1lFmz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 08:42:26 +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 1dwc4t-0007bo-VM; Mon, 25 Sep 2017 22:42:15 +0000","from mga03.intel.com ([134.134.136.65])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dwc4o-0007WM-1r; Mon, 25 Sep 2017 22:42:11 +0000","from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2017 15:41:43 -0700","from mgerlach-mobl.amr.corp.intel.com (HELO [10.0.2.15])\n\t([10.255.79.44])\n\tby orsmga005.jf.intel.com with ESMTP; 25 Sep 2017 15:41:42 -0700"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:\n\tContent-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive:\n\tList-Unsubscribe:List-Id:MIME-Version:References:Message-ID:In-Reply-To:\n\tSubject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=dRjGEbTQsBbeOYcml/WJijSXkKw+MW64LiiiLWaArUk=;\n\tb=DIAJpwv2eX2lgEciaAqtmVmeL\n\tyEdx49PXqUk6S6C6wisUaCJFeHV7UAhsKako13I/vUPNlkjXluNNbRJaxD16JxNFaFcG2tz/9rhaE\n\t7Q6vSTe+VzBMvVMzVlMnrFwToiz/0vjCaJLMd4TMzfMZjIVZbTUu7pEG9EbVReQ3r4XCH9+IDCMij\n\twXrZvhbK4tlrokEvSI1D5LJaxyOSEYJOJrHPKnNkWc8gbk39O3628idTrTkpwYlB3vDi2iiy3aTRZ\n\tSSjO78pLJlM0+Cr3bo05uP2Y+XhuXSgsIuBrgiG8ElWn8lMgB9tJ7uvLTzmv5FllrqT/6hVCFA6LL\n\tDPYAXeUJg==;","X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.42,437,1500966000\"; d=\"scan'208\";a=\"153240557\"","Date":"Mon, 25 Sep 2017 15:41:40 -0700 (PDT)","From":"matthew.gerlach@linux.intel.com","X-X-Sender":"mgerlach@mgerlach-VirtualBox","To":"Marek Vasut <marek.vasut@gmail.com>","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","In-Reply-To":"<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>","Message-ID":"<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>\n\t<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170925_154210_192151_37372B3C ","X-CRM114-Status":"GOOD (  13.04  )","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [134.134.136.65 listed in list.dnswl.org]","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tVignesh R <vigneshr@ti.com>, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,\n\tlinux-mtd@lists.infradead.org,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>, \n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1775058,"web_url":"http://patchwork.ozlabs.org/comment/1775058/","msgid":"<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>","list_archive_url":null,"date":"2017-09-25T23:49:46","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"content":"On 09/26/2017 12:41 AM, matthew.gerlach@linux.intel.com wrote:\n> \n> \n> On Sun, 24 Sep 2017, Marek Vasut wrote:\n> \n>> On 09/24/2017 03:27 PM, Vignesh R wrote:\n>>>\n>>>\n>>> On 9/24/2017 6:42 PM, Marek Vasut wrote:\n>>>> On 09/24/2017 03:08 PM, Vignesh R wrote:\n>>>>>\n>>>>>\n>>>>> On 9/24/2017 5:31 PM, Marek Vasut wrote:\n>>>>>> On 09/24/2017 12:59 PM, Vignesh R wrote:\n>>>>>>> Add pm_runtime* calls to cadence-quadspi driver. This is required to\n>>>>>>> switch on QSPI power domain on TI 66AK2G SoC during probe.\n>>>>>>>\n>>>>>>> Signed-off-by: Vignesh R <vigneshr@ti.com>\n>>>>>>\n>>>>>> Are you planning to add some more fine-grained PM control later?\n>>>>>\n>>>>> Yes, I will need to add fine-grained PM control at some point. But,\n>>>>> for\n>>>>> now SoC does not really support low power mode or runtime power saving\n>>>>> option.\n>>>>> The fact that driver still uses clk_prepare_*() calls to\n>>>>> enable/disable\n>>>>> clocks instead of pm_*() calls makes it a bit tricky though.\n>>>>>\n>>>>> Just figured out I forgot to add cleanup code in error handling\n>>>>> path of\n>>>>> probe(). Will fix that and send a v4.\n>>>>\n>>>> OK, fine. Cleanups are welcome. The SoCFPGA doesn't do much runtime PM\n>>>> either, so it's fine for now.\n>>>>\n>>>\n>>> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n>>> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n>>> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n>>\n>> Not of the top of my head, sorry. +CC Matthew, he should know.\n> \n> I am not an expert at the clock framework nor the power management, but I\n> did ask around a bit.  No one I asked was planning to change the clk_*()\n> calls to pm_*() call, but the feedback was that it would be a good idea.\n\nThe question is, if we do the replacement, will it break on socfpga ?\nA quick test might be useful.","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"HZ/hOf3R\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"a21DzvEi\"; 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 3y1Ll76mDhz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 10:03:31 +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 1dwdLF-0006IR-7h; Tue, 26 Sep 2017 00:03:13 +0000","from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dwd8c-0002KD-Jg; Mon, 25 Sep 2017 23:50:13 +0000","by mail-wm0-x244.google.com with SMTP id i131so8115023wma.1;\n\tMon, 25 Sep 2017 16:49:49 -0700 (PDT)","from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tf84sm408781wme.44.2017.09.25.16.49.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 25 Sep 2017 16:49:47 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=K9ysFnFAKcrt5CyhU3oA51BHoO586L4iwEbCrXZMA+Y=;\n\tb=HZ/hOf3RC34o4q\n\tpKR1B4aPrqixeh04f0GEP0OhAbzh/WCeOBr4Rc5Nj9B3dJqmsOkC4a4pvdZwSI8hJtNKviLA782bA\n\tCU/0mnUvAajc/OKfNJPc3YGGFmRtYdSEsgebvXXUygNmLYCAJdzYauzOZu1PXKmqXyOQeOPJmOFla\n\t9ZADhv+si6Scu50UJEghTmRyVi/aTjJDRVeo94y5vo0oPlcTVm6BoFNaPDydVl40Njb9b5S6khdfg\n\tDSbQViqp8QQGmXWEb081Xq/V8MQuHKqMj6sOOYocPXeixFxHXBSCrBglafqfIzGkUx8oAy/7gY8Fm\n\tuTpJgC9KtUo3yQ87XLeg==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=fD4zY70KX9+5mozmVRAg78XUXN+YPTiO9FdZDSjX1ys=;\n\tb=a21DzvEiL/PPjtPM1jjZtyuWKh8CKN+2MX4TP946WxayvOMCf6Atw5f+hpsn4pp7Ia\n\t/ou49E2aFgY5Q4kFdLAjHF14dz2nT9lnAupLjtJ2d2uqwERQenZpRniCoJFFXM9Bchbx\n\tyhEnIMw1Cax8fsye52deES4Fuv7iHxuyFDZZCzJEW5jQsfuQhLdtUeK+AvHw8bygq9aF\n\tvvPfquYsdRaaEefsE9u2WKSMkS3uXI5MJ0AE2gH2ad5TkfANnDfw/Zl4E2eVDxdz6ndO\n\toBiw0wgG4HjS8uWSQZc504IWUkyREkx2KWoe9kAadrStAY23ZE+ujhxaYfDx1Kgoug+g\n\t3MJw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=fD4zY70KX9+5mozmVRAg78XUXN+YPTiO9FdZDSjX1ys=;\n\tb=DJfY/Np4ZSCUleB56u+SE5YbcFu17HaWa26WNENd9e5VZFrSaVL8YgSjelKRkmw3YT\n\tgIcDZez5NnTUj8mxjkZu+yW6ZmNWw9pFUBGM238Mtp0V87Ket+/OsGyw6qGkjpZdQb8N\n\t84CxYzfE9bqyAnMCAyLj3jwgM3c6wevJmkbHWLUzio4YANDqbtkIehFIrbvy7D17gtzB\n\tBEVF3oZwFZeUB2xeVcYFDnMHFEElvND7v0amOXjJJV651ASRYQ4E8zrr1urDuLF92BLl\n\t60PqGHFjN2JulMjswET0WCODBUohG8jV77mTpS0FnaGIwRTMW0if79YN4LWYsj6+/oLk\n\t5Geg==","X-Gm-Message-State":"AHPjjUhYAoujEzYAOJcbSFXgEX2tdu3mO/hJiYLJ2ZXe9alo3Za24URe\n\tseQM60f2ocfTGoOwW8PHvdL15H5Q","X-Google-Smtp-Source":"AOwi7QAY4K0fnwdEzCNtEbunxIUGo+3ct5X7Bc9e4QkYR5prflXQ00/qNtITRrTl7J3b1foRA1LOvg==","X-Received":"by 10.28.215.132 with SMTP id o126mr1573921wmg.50.1506383388054; \n\tMon, 25 Sep 2017 16:49:48 -0700 (PDT)","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"matthew.gerlach@linux.intel.com","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>\n\t<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>\n\t<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>","From":"Marek Vasut <marek.vasut@gmail.com>","Message-ID":"<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>","Date":"Tue, 26 Sep 2017 01:49:46 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>","Content-Language":"en-US","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170925_165010_909654_BA0E0A58 ","X-CRM114-Status":"GOOD (  15.42  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c09:0:0:0:244 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (marek.vasut[at]gmail.com)\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tVignesh R <vigneshr@ti.com>, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,\n\tlinux-mtd@lists.infradead.org,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>, \n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1776241,"web_url":"http://patchwork.ozlabs.org/comment/1776241/","msgid":"<7237fa9e-4d3a-8a82-10c6-76737c23ed6f@ti.com>","list_archive_url":null,"date":"2017-09-27T10:48:49","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":65039,"url":"http://patchwork.ozlabs.org/api/people/65039/","name":"Raghavendra, Vignesh","email":"vigneshr@ti.com"},"content":"Hi Matthew,\n\nOn Tuesday 26 September 2017 05:19 AM, Marek Vasut wrote:\n[...]\n>>>> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n>>>> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n>>>> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n>>>\n>>> Not of the top of my head, sorry. +CC Matthew, he should know.\n>>\n>> I am not an expert at the clock framework nor the power management, but I\n>> did ask around a bit.  No one I asked was planning to change the clk_*()\n>> calls to pm_*() call, but the feedback was that it would be a good idea.\n> \n> The question is, if we do the replacement, will it break on socfpga ?\n> A quick test might be useful.\n> \n\nyes, a quick qspi test with clk_prepare_enable() replaced by pm_*() calls\nlike below patch would be helpful:\n\n\ndiff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c\nindex 53c7d8e0327a..7ad3e176cc88 100644\n--- a/drivers/mtd/spi-nor/cadence-quadspi.c\n+++ b/drivers/mtd/spi-nor/cadence-quadspi.c\n@@ -34,6 +34,7 @@\n #include <linux/sched.h>\n #include <linux/spi/spi.h>\n #include <linux/timer.h>\n+#include <linux/pm_runtime.h>\n \n #define CQSPI_NAME                     \"cadence-qspi\"\n #define CQSPI_MAX_CHIPSELECT           16\n@@ -1206,11 +1207,8 @@ static int cqspi_probe(struct platform_device *pdev)\n                return -ENXIO;\n        }\n \n-       ret = clk_prepare_enable(cqspi->clk);\n-       if (ret) {\n-               dev_err(dev, \"Cannot enable QSPI clock.\\n\");\n-               return ret;\n-       }\n+       pm_runtime_enable(dev);\n+       pm_runtime_get_sync(dev);\n \n        cqspi->master_ref_clk_hz = clk_get_rate(cqspi->clk);","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"JvDmxLgu\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=infradead.org header.i=@infradead.org\n\theader.b=\"Y8YmvFqr\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"EIl/unEa\";\n\tdkim-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 3y2F2Y5Skzz9tXf\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 20:49:57 +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 1dx9uZ-0006Js-4Y; Wed, 27 Sep 2017 10:49:51 +0000","from merlin.infradead.org ([2001:8b0:10b:1231::1])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dx9uW-0006GB-Mc; Wed, 27 Sep 2017 10:49:48 +0000","from lelnx193.ext.ti.com ([198.47.27.77])\n\tby merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dx9uT-00039d-3Z; Wed, 27 Sep 2017 10:49:46 +0000","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8RAmX3d023885; \n\tWed, 27 Sep 2017 05:48:33 -0500","from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8RAmXfa018150;\n\tWed, 27 Sep 2017 05:48:33 -0500","from DFLE112.ent.ti.com (10.64.6.33) by DFLE115.ent.ti.com\n\t(10.64.6.36) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tWed, 27 Sep 2017 05:48:32 -0500","from dflp33.itg.ti.com (10.64.6.16) by DFLE112.ent.ti.com\n\t(10.64.6.33) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Wed, 27 Sep 2017 05:48:32 -0500","from [172.24.190.89] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8RAmTn6029842;\n\tWed, 27 Sep 2017 05:48:29 -0500"],"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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=6jw5Hd45u4+C9OMsHul5ZAfi03lKRJGZGDSuVhbbePo=;\n\tb=JvDmxLgucY/op7\n\tuW/MUsade1YWWtAYWctjaOt+2+4BLB+oXs2aigQSa87BXJLM4JOxmWAa5qnz8w+g1FMF7axD4ExW2\n\tIpobVoEMtM/HH77lvUBuxRn4b8KEy6e7QMzrRxUp579xrnAhRTcwesEAmD2KmvM1Dxfhsx7CXD4r9\n\tsqiPIbtiBHRXmKa5q9Q+3LqfTT3ZCgIU0oAmdd/wCqd76P1W7tXdJo6mJKAOr3Ir76XgZzGYpEjQC\n\tFV9X4OW2eQuy3SiqET68r1Te7sU9WZ4sxj50MG1A+KHzypoxis54OG5jMfNtcG3l1UoMDh7v9Pqf3\n\t50WiQR0MJhhSuvhZ6rwQ==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=infradead.org; s=merlin.20170209;\n\th=Content-Transfer-Encoding:Content-Type:\n\tIn-Reply-To:MIME-Version:Date:Message-ID:From:References:CC:To:Subject:Sender\n\t:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:\n\tList-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=6czuppOalM+RmDGK5nc82693U7siJQzTDan7Q6oQt90=;\n\tb=Y8YmvFqrtM3XkB0Rig45UdRr/s\n\taNvNcBxoeKBPxkrd5jIj2iCbZZ1HyxqvtVEJgvDPJ6qSMwBG91l+pMe6ZAFP2HVncJ9u8py+tyYaE\n\tQlEa2OyHM7g2Bd9KeLI3YTtvnZSyEg7PqPzuug8ebYaq0oB9Q8RNjOj+jhikuqF7KNPdT0+eP+p8w\n\tNTJQDWkjFimTB2SxW4QREvRdlVpTeYAay9KHw3RTf2NQNDGU0p6wbZHJUp/1qPyovtGkoHyr2rPN3\n\tleypoKziDCuD0SHmZRo0LcXq5AREMJgyoNT8y2k4CLAHtefJ8VxVNL/9/R4T7eZbZ9xesh5xyh2TI\n\tRFs5y8Eg==;","v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506509313;\n\tbh=B+9nrdr8qCu+lcyG/nMaLsmUpq7Bovm1cYhNOSEG39A=;\n\th=Subject:To:CC:References:From:Date:In-Reply-To;\n\tb=EIl/unEaK9839aquQ8jqRfua1tcTPybK7mnDXqTCpxAqgkuvBh31i8OnWvOAAxBWH\n\tVn8fjVnEueYz2xBG+FbV/E8zup0fFK+Gfz/z9rewF6PxFcF6f/INVF/M8V9CgsFj/J\n\tRXztoBU7IaHOBcrQ74D2d2bhZEnxp+npmZDRoCvk="],"Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"<matthew.gerlach@linux.intel.com>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>\n\t<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>\n\t<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>\n\t<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>","From":"Vignesh R <vigneshr@ti.com>","Message-ID":"<7237fa9e-4d3a-8a82-10c6-76737c23ed6f@ti.com>","Date":"Wed, 27 Sep 2017 16:18:49 +0530","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>","Content-Language":"en-US","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","X-Spam-Note":"CRM114 invocation failed","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on merlin.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.47.27.77 listed in list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\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\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tMarek Vasut <marek.vasut@gmail.com>, Rob Herring <robh+dt@kernel.org>,\n\tlinux-mtd@lists.infradead.org,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>, \n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1777086,"web_url":"http://patchwork.ozlabs.org/comment/1777086/","msgid":"<alpine.DEB.2.20.1709280757230.2488@mgerlach-VirtualBox>","list_archive_url":null,"date":"2017-09-28T15:01:36","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":70992,"url":"http://patchwork.ozlabs.org/api/people/70992/","name":"Matthew Gerlach","email":"matthew.gerlach@linux.intel.com"},"content":"Hi Vignesh,\n\nI tried this patch on an Arria10 SOCFPGA devkit against the 4.1.33-ltsi \nkernel, and it did not go well.  Commands to the flash chip timedout \nresulting in the probe function failing.  I ran into other problems, not \nrelated to cadence-quadspi, that prevented me from testing against 4.9 and \n4.12 kernels, but I suspect similar behavior.\n\nMatthew Gerlach\n\nOn Wed, 27 Sep 2017, Vignesh R wrote:\n\n> Hi Matthew,\n>\n> On Tuesday 26 September 2017 05:19 AM, Marek Vasut wrote:\n> [...]\n>>>>> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n>>>>> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n>>>>> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n>>>>\n>>>> Not of the top of my head, sorry. +CC Matthew, he should know.\n>>>\n>>> I am not an expert at the clock framework nor the power management, but I\n>>> did ask around a bit.  No one I asked was planning to change the clk_*()\n>>> calls to pm_*() call, but the feedback was that it would be a good idea.\n>>\n>> The question is, if we do the replacement, will it break on socfpga ?\n>> A quick test might be useful.\n>>\n>\n> yes, a quick qspi test with clk_prepare_enable() replaced by pm_*() calls\n> like below patch would be helpful:\n>\n>\n> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c\n> index 53c7d8e0327a..7ad3e176cc88 100644\n> --- a/drivers/mtd/spi-nor/cadence-quadspi.c\n> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c\n> @@ -34,6 +34,7 @@\n> #include <linux/sched.h>\n> #include <linux/spi/spi.h>\n> #include <linux/timer.h>\n> +#include <linux/pm_runtime.h>\n>\n> #define CQSPI_NAME                     \"cadence-qspi\"\n> #define CQSPI_MAX_CHIPSELECT           16\n> @@ -1206,11 +1207,8 @@ static int cqspi_probe(struct platform_device *pdev)\n>                return -ENXIO;\n>        }\n>\n> -       ret = clk_prepare_enable(cqspi->clk);\n> -       if (ret) {\n> -               dev_err(dev, \"Cannot enable QSPI clock.\\n\");\n> -               return ret;\n> -       }\n> +       pm_runtime_enable(dev);\n> +       pm_runtime_get_sync(dev);\n>\n>        cqspi->master_ref_clk_hz = clk_get_rate(cqspi->clk);\n>\n>\n>\n>\n>\n> -- \n> Regards\n> Vignesh\n>","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"bONbSFPb\"; \n\tdkim-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 3y2ybJ2qMKz9t66\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 29 Sep 2017 01:02:20 +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 1dxaKG-0000dG-FU; Thu, 28 Sep 2017 15:02:08 +0000","from mga06.intel.com ([134.134.136.31])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dxaK9-0000aL-8F; Thu, 28 Sep 2017 15:02:06 +0000","from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga104.jf.intel.com with ESMTP; 28 Sep 2017 08:01:39 -0700","from mgerlach-mobl.amr.corp.intel.com (HELO [10.0.2.15])\n\t([10.252.139.46])\n\tby fmsmga005.fm.intel.com with ESMTP; 28 Sep 2017 08:01:38 -0700"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209;\n\th=Sender:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:\n\tMIME-Version:References:Message-ID:In-Reply-To:Subject:To:From:Date:Reply-To:\n\tContent-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=BQ4dI99A22wU1LUUG6npZxu9uzWUCYt7k7xfzmbTvsY=;\n\tb=bONbSFPbDzrr1Vts6jITyUes7\n\tNLruEcGQEtqNBxBOdng5sAhrdQ02UYJzeonPDCld+rjIG6zNrOaxTXhcAjUh4oEQXRV9Jw1JiOt9b\n\tKPTY7CSF/toQtyrU2gu0Oz86HX1OD6qLGrr7ZSgt4yrd8QBu0wmIqUuS0ios2gmMYMB2XwJ1y5Sti\n\tMGMrmla9vejk6SYGhkbwB/T6xp+fZfv329MZZtnQLv/Q44PBCvD7j7Q5hcZTzG0Ybu/sp3Lafo4Vh\n\thO3Cm08hCzriQWcok+z7f4YsqGtTa0bMutp+x5PTE0FhgFYTXC5O8Qp8v2NR8iC8PXY6dfz3Of9R/\n\tn/wMaLzfA==;","X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.42,450,1500966000\"; d=\"scan'208\";a=\"156599517\"","Date":"Thu, 28 Sep 2017 08:01:36 -0700 (PDT)","From":"matthew.gerlach@linux.intel.com","X-X-Sender":"mgerlach@mgerlach-VirtualBox","To":"Vignesh R <vigneshr@ti.com>","Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","In-Reply-To":"<7237fa9e-4d3a-8a82-10c6-76737c23ed6f@ti.com>","Message-ID":"<alpine.DEB.2.20.1709280757230.2488@mgerlach-VirtualBox>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>\n\t<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>\n\t<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>\n\t<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>\n\t<7237fa9e-4d3a-8a82-10c6-76737c23ed6f@ti.com>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"multipart/mixed; BOUNDARY=\"8323329-1557128041-1506610898=:2488\"","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170928_080201_396552_49A2E8EC ","X-CRM114-Status":"GOOD (  17.23  )","X-Spam-Score":"-4.2 (----)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [134.134.136.31 listed in list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tMarek Vasut <marek.vasut@gmail.com>, Rob Herring <robh+dt@kernel.org>,\n\tlinux-mtd@lists.infradead.org,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>, \n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}},{"id":1778289,"web_url":"http://patchwork.ozlabs.org/comment/1778289/","msgid":"<5bc42364-21e1-56b6-788c-2848b8faa50f@ti.com>","list_archive_url":null,"date":"2017-10-02T12:28:55","subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","submitter":{"id":65039,"url":"http://patchwork.ozlabs.org/api/people/65039/","name":"Raghavendra, Vignesh","email":"vigneshr@ti.com"},"content":"Hi,\n\nOn 9/28/2017 8:31 PM, matthew.gerlach@linux.intel.com wrote:\n> \n> Hi Vignesh,\n> \n> I tried this patch on an Arria10 SOCFPGA devkit against the 4.1.33-ltsi \n> kernel, and it did not go well.  Commands to the flash chip timedout \n> resulting in the probe function failing.  I ran into other problems, not \n> related to cadence-quadspi, that prevented me from testing against 4.9 and \n> 4.12 kernels, but I suspect similar behavior.\n> \n\nOk, thanks! I will keep the clk_*() calls for now.\n\nRegards\nVignesh\n> Matthew Gerlach\n> \n> On Wed, 27 Sep 2017, Vignesh R wrote:\n> \n>> Hi Matthew,\n>>\n>> On Tuesday 26 September 2017 05:19 AM, Marek Vasut wrote:\n>> [...]\n>>>>>> Ok thanks! Do you know if pm_runtime_get_sync() can enable clocks for\n>>>>>> QSPI on SoCFPGA or if clk_prepare_enable() is needed? Just trying to see\n>>>>>> if its possible to get rid of clk_*() calls in favor of pm_*() calls.\n>>>>>\n>>>>> Not of the top of my head, sorry. +CC Matthew, he should know.\n>>>>\n>>>> I am not an expert at the clock framework nor the power management, but I\n>>>> did ask around a bit.  No one I asked was planning to change the clk_*()\n>>>> calls to pm_*() call, but the feedback was that it would be a good idea.\n>>>\n>>> The question is, if we do the replacement, will it break on socfpga ?\n>>> A quick test might be useful.\n>>>\n>>\n>> yes, a quick qspi test with clk_prepare_enable() replaced by pm_*() calls\n>> like below patch would be helpful:\n>>\n>>\n>> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c\n>> index 53c7d8e0327a..7ad3e176cc88 100644\n>> --- a/drivers/mtd/spi-nor/cadence-quadspi.c\n>> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c\n>> @@ -34,6 +34,7 @@\n>> #include <linux/sched.h>\n>> #include <linux/spi/spi.h>\n>> #include <linux/timer.h>\n>> +#include <linux/pm_runtime.h>\n>>\n>> #define CQSPI_NAME                     \"cadence-qspi\"\n>> #define CQSPI_MAX_CHIPSELECT           16\n>> @@ -1206,11 +1207,8 @@ static int cqspi_probe(struct platform_device *pdev)\n>>                return -ENXIO;\n>>        }\n>>\n>> -       ret = clk_prepare_enable(cqspi->clk);\n>> -       if (ret) {\n>> -               dev_err(dev, \"Cannot enable QSPI clock.\\n\");\n>> -               return ret;\n>> -       }\n>> +       pm_runtime_enable(dev);\n>> +       pm_runtime_get_sync(dev);\n>>\n>>        cqspi->master_ref_clk_hz = clk_get_rate(cqspi->clk);\n>>\n>>\n>>\n>>\n>>\n>> -- \n>> Regards\n>> Vignesh\n>>\n>","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=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=\"U4daGizI\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"ddKb7Rmh\";\n\tdkim-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 3y5M2L4Fplz9t4c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 Oct 2017 23:30:34 +1100 (AEDT)","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 1dyzrb-0001ie-8g; Mon, 02 Oct 2017 12:30:23 +0000","from lelnx194.ext.ti.com ([198.47.27.80])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dyzrA-0001de-96; Mon, 02 Oct 2017 12:30:00 +0000","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v92CT0Qv014407; \n\tMon, 2 Oct 2017 07:29:00 -0500","from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v92CT0qs032621;\n\tMon, 2 Oct 2017 07:29:00 -0500","from DLEE101.ent.ti.com (157.170.170.31) by DLEE104.ent.ti.com\n\t(157.170.170.34) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tMon, 2 Oct 2017 07:28:59 -0500","from dlep33.itg.ti.com (157.170.170.75) by DLEE101.ent.ti.com\n\t(157.170.170.31) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Mon, 2 Oct 2017 07:29:00 -0500","from [172.22.217.158] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v92CStG9031830;\n\tMon, 2 Oct 2017 07:28:56 -0500"],"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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:\n\tMessage-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=iNpf3LnCPOTdtKtI9Y+Zo1jq3FrzCDy4IwPYGzB1mXk=;\n\tb=U4daGizInZaZbL\n\tc5XE8/7zLRVD1uJNRS9n8oQiJZpbSwrpJRiIVyReVOQwOjhrIVSLaFd+QRoKdtz0Y0D6+CCA6MhAg\n\tVB8sMLojtcGHpUrF7j7O+2BkahHuUqMsRJf2Pm4LO/Gxdpl6YcainnPtab8FQbOPGketEatsoEXm2\n\tAgU+In9K/3Jy1u+wOdZXv06qCcEyhkkwLnbiyQIhQCypKsAuK8lC/heaTjQDZH7UTi+hRaqT0/cwm\n\tXs7qJ6CngK0pGA6XJW8yAGYzTaPi+9Rnc7bx28mNnRNkY6t0F8z14wZ+fXRB3KaMfp952YR5uS+Ba\n\tmjpnmaOYfX5eI4C1DKnQ==;","v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506947340;\n\tbh=w6bZDGs8nZtmZIJLRM+aNeYg43MFvjUnu1eZEo0SNVE=;\n\th=Subject:To:CC:References:From:Date:In-Reply-To;\n\tb=ddKb7Rmh0KqhZfw9N8igCk1R+/dFSnEhqXXVyciGVZJRlsrIn6LCMOqGMNprR5eoM\n\tpvt1I+rW1YYshcTZu4YL424e/q0qzGQm24eNp6+NQUpWsS46MDQkiFWFOTcMGv9wXp\n\tvVfMDsgUn+WPnW9m55115yx0o78KvDjZVA2S1uNI="],"Subject":"Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM\n\tsupport","To":"\"matthew.gerlach@linux.intel.com\" <matthew.gerlach@linux.intel.com>","References":"<20170924105924.23923-1-vigneshr@ti.com>\n\t<20170924105924.23923-6-vigneshr@ti.com>\n\t<3a1160f9-a0ae-c84c-d209-af97c3c3b0f6@gmail.com>\n\t<4ee69ea4-14cc-4305-bf3f-8fe76d43bf6b@ti.com>\n\t<fa700cdf-f0b5-779b-4f38-3138a7612cc2@gmail.com>\n\t<038919d3-ff32-d0a7-4c0a-3be16436052d@ti.com>\n\t<e4ad5d80-9093-b667-f0a5-d3105be4e8cf@gmail.com>\n\t<alpine.DEB.2.20.1709251538420.2472@mgerlach-VirtualBox>\n\t<fdfe29bf-ff46-7542-8e36-e8e45e1ca85f@gmail.com>\n\t<7237fa9e-4d3a-8a82-10c6-76737c23ed6f@ti.com>\n\t<alpine.DEB.2.20.1709280757230.2488@mgerlach-VirtualBox>","From":"Vignesh R <vigneshr@ti.com>","Message-ID":"<5bc42364-21e1-56b6-788c-2848b8faa50f@ti.com>","Date":"Mon, 2 Oct 2017 17:58:55 +0530","User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<alpine.DEB.2.20.1709280757230.2488@mgerlach-VirtualBox>","Content-Language":"en-US","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171002_052956_532042_E244E9CC ","X-CRM114-Status":"GOOD (  14.11  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.47.27.80 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\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-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\t\"devicetree@vger.kernel.org\" <devicetree@vger.kernel.org>,\n\t\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>,\n\tMarek Vasut <marek.vasut@gmail.com>, Rob Herring <robh+dt@kernel.org>,\n\t\"linux-mtd@lists.infradead.org\" <linux-mtd@lists.infradead.org>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tlinux-arm-kernel <linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}}]