[{"id":1776929,"web_url":"http://patchwork.ozlabs.org/comment/1776929/","msgid":"<20170928100222.nnocjkyd5qkly6qx@piout.net>","list_archive_url":null,"date":"2017-09-28T10:02:22","subject":"Re: [PATCH v4 0/8] Various patches for SAMA5D2 backup mode","submitter":{"id":26276,"url":"http://patchwork.ozlabs.org/api/people/26276/","name":"Alexandre Belloni","email":"alexandre.belloni@free-electrons.com"},"content":"Hi,\n\nOn 28/09/2017 at 11:46:19 +0200, Romain Izard wrote:\n> While the core of the backup mode for SAMA5D2 has been integrated in\n> v4.13, it is far from complete. Individual controllers in the chip have\n> drivers that do not support the reset of the registers during suspend,\n> and they need to be adapted to handle it.\n> \n> The first patch uses the clock wakeup code from the prototype backup\n> mode instead of the version integrated in the mainline, as the mainline\n> version is not stable. During a test loop with two-second backup\n> suspend, the mainline version will hang in less than one day, whereas\n> the prototype version has been running the same test for more than a\n> week without hanging.\n> \n> While all these patches are provided in a series, the clock, mtd,\n> usb, pwm and mfd patch do not depend on each other.\n> \n> Changes in v2:\n> * drop the IIO patch duplicating existing code\n> * determine the number of programmable clocks to save dynamically\n> * declare a required local variable in the tty/serial patch\n> \n> Changes in v3:\n> * drop dev_printk changes for PMECC\n> * rework the resume code for PMECC\n> * improve comments on PMC clock handling\n> \n> Changes in v4:\n> * fix a bug in the PMECC resume code\n> \n> Romain Izard (8):\n>   clk: at91: pmc: Wait for clocks when resuming\n>   clk: at91: pmc: Save SCSR during suspend\n>   clk: at91: pmc: Support backup for programmable clocks\n>   mtd: nand: atmel: Avoid ECC errors when leaving backup mode\n>   ehci-atmel: Power down during suspend is normal\n>   pwm: atmel-tcb: Support backup mode\n>   atmel_flexcom: Support backup mode\n>   tty/serial: atmel: Prevent a warning on suspend\n> \n\nReally, you have to stop sending those independent patches as a series\nif you want to have a chance to see them being merged.\n\n>  drivers/clk/at91/clk-programmable.c      |  2 +\n>  drivers/clk/at91/pmc.c                   | 63 ++++++++++++++++++++++++++-----\n>  drivers/clk/at91/pmc.h                   |  2 +\n>  drivers/mfd/atmel-flexcom.c              | 65 ++++++++++++++++++++++++--------\n>  drivers/mtd/nand/atmel/nand-controller.c |  3 ++\n>  drivers/mtd/nand/atmel/pmecc.c           | 17 +++++----\n>  drivers/mtd/nand/atmel/pmecc.h           |  1 +\n>  drivers/pwm/pwm-atmel-tcb.c              | 63 ++++++++++++++++++++++++++++++-\n>  drivers/tty/serial/atmel_serial.c        | 13 +++++++\n>  drivers/usb/host/ehci-atmel.c            |  3 +-\n>  10 files changed, 196 insertions(+), 36 deletions(-)\n> \n> -- \n> 2.11.0\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=\"RPAwAoa3\"; \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 3y2qyC4NB5z9t5w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 20:03:15 +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 1dxVem-0007sC-JW; Thu, 28 Sep 2017 10:03:00 +0000","from mail.free-electrons.com ([62.4.15.54])\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dxVef-0007Sa-SQ\n\tfor linux-mtd@lists.infradead.org; Thu, 28 Sep 2017 10:02:59 +0000","by mail.free-electrons.com (Postfix, from userid 110)\n\tid D7394208FA; Thu, 28 Sep 2017 12:02:31 +0200 (CEST)","from localhost (unknown [37.71.171.242])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id AAF85203FE;\n\tThu, 28 Sep 2017 12:02:21 +0200 (CEST)"],"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:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=1T1s+/yuYbS3XwVESE9xByfLOm0TUjtmMprOqiFntJ4=;\n\tb=RPAwAoa3lEtRBQ\n\tBu95Wago8MitG41zwhFLcfIrltrD4gHQGZ8foWKYdEvp2c+q+z7nowW/NQQ2XYCKyA4D82h8FubdR\n\tZEyiG2o3EH448a6RzRSqfYfFmXSXa0FMIUnTZhp081GAILfFUSjsN8dmxsQpj26PKVvh3tZ7Jxb+X\n\taOAXypO6gordvEE5An7E5Jr9A35d+Fkj0mJveUnNUMZb+8Gi6c7H908f2L7tWAHa13xQ2mytT2FnU\n\t7FCspJw1HVwz7gMq7pGrfF1lFhnydUJ4QwSAfk8GZUnaJAegOLOl/Xxp2HjeRd91iURmMd+/LC3pJ\n\tdAuVS9cpmW4lLz6M31Ew==;","X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on\n\tmail.free-electrons.com","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT,\n\tURIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0","Date":"Thu, 28 Sep 2017 12:02:22 +0200","From":"Alexandre Belloni <alexandre.belloni@free-electrons.com>","To":"Romain Izard <romain.izard.pro@gmail.com>","Subject":"Re: [PATCH v4 0/8] Various patches for SAMA5D2 backup mode","Message-ID":"<20170928100222.nnocjkyd5qkly6qx@piout.net>","References":"<20170928094627.31017-1-romain.izard.pro@gmail.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170928094627.31017-1-romain.izard.pro@gmail.com>","User-Agent":"NeoMutt/20170609 (1.8.3)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170928_030254_222251_49163BD6 ","X-CRM114-Status":"GOOD (  20.01  )","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\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]","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":"Michael Turquette <mturquette@baylibre.com>, linux-kernel@vger.kernel.org,\n\tThierry Reding <thierry.reding@gmail.com>,\n\tlinux-mtd@lists.infradead.org, \n\tLee Jones <lee.jones@linaro.org>, linux-clk@vger.kernel.org,\n\tBoris Brezillon <boris.brezillon@free-electrons.com>,\n\tJosh Wu <rainyfeeling@outlook.com>, Marek Vasut <marek.vasut@gmail.com>, \n\tLudovic Desroches <ludovic.desroches@microchip.com>,\n\tAlan Stern <stern@rowland.harvard.edu>, linux-serial@vger.kernel.org, \n\tJiri Slaby <jslaby@suse.com>, linux-pwm@vger.kernel.org,\n\tRichard Weinberger <richard@nod.at>,\n\tRichard Genoud <richard.genoud@gmail.com>, \n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tlinux-usb@vger.kernel.org, Stephen Boyd <sboyd@codeaurora.org>,\n\tNicolas Ferre <nicolas.ferre@microchip.com>,\n\tWenyou Yang <wenyou.yang@atmel.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@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"}}]