[{"id":1770829,"web_url":"http://patchwork.ozlabs.org/comment/1770829/","msgid":"<380a15d6-c180-316f-a56b-011acd02df59@microchip.com>","list_archive_url":null,"date":"2017-09-19T10:19:33","subject":"Re: [PATCH v2 9/9] tty/serial: atmel: Prevent a warning on suspend","submitter":{"id":71036,"url":"http://patchwork.ozlabs.org/api/people/71036/","name":"Nicolas Ferre","email":"nicolas.ferre@microchip.com"},"content":"On 15/09/2017 at 16:04, Romain Izard wrote:\n> The atmel serial port driver reported the following warning on suspend:\n> atmel_usart f8020000.serial: ttyS1: Unable to drain transmitter\n> \n> As the ATMEL_US_TXEMPTY status bit in ATMEL_US_CSR is always cleared\n> when the transmitter is disabled, we need to know the transmitter's\n> state to return the real fifo state. And as ATMEL_US_CR is write-only,\n> it is necessary to save the state of the transmitter in a local\n> variable, and update the variable when TXEN and TXDIS is written in\n> ATMEL_US_CR.\n> \n> After those changes, atmel_tx_empty can return \"empty\" on suspend, the\n> warning in uart_suspend_port disappears, and suspending is 20ms shorter\n> for each enabled Atmel serial port.\n> \n> Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>\n\nTested-by: Nicolas Ferre <nicolas.ferre@microchip.com>\non sama5d2 Xplained.\n\nAcked-by: Nicolas Ferre <nicolas.ferre@microchip.com>\n\n> ---\n>  drivers/tty/serial/atmel_serial.c | 14 ++++++++++++++\n>  1 file changed, 14 insertions(+)\n> \n> diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c\n> index 7551cab438ff..783af6648be0 100644\n> --- a/drivers/tty/serial/atmel_serial.c\n> +++ b/drivers/tty/serial/atmel_serial.c\n> @@ -171,6 +171,7 @@ struct atmel_uart_port {\n>  \tbool\t\t\thas_hw_timer;\n>  \tstruct timer_list\tuart_timer;\n>  \n> +\tbool\t\t\ttx_stopped;\n>  \tbool\t\t\tsuspended;\n>  \tunsigned int\t\tpending;\n>  \tunsigned int\t\tpending_status;\n> @@ -380,6 +381,10 @@ static int atmel_config_rs485(struct uart_port *port,\n>   */\n>  static u_int atmel_tx_empty(struct uart_port *port)\n>  {\n> +\tstruct atmel_uart_port *atmel_port = to_atmel_uart_port(port);\n> +\n> +\tif (atmel_port->tx_stopped)\n> +\t\treturn TIOCSER_TEMT;\n>  \treturn (atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXEMPTY) ?\n>  \t\tTIOCSER_TEMT :\n>  \t\t0;\n> @@ -485,6 +490,7 @@ static void atmel_stop_tx(struct uart_port *port)\n>  \t * is fully transmitted.\n>  \t */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXDIS);\n> +\tatmel_port->tx_stopped = true;\n>  \n>  \t/* Disable interrupts */\n>  \tatmel_uart_writel(port, ATMEL_US_IDR, atmel_port->tx_done_mask);\n> @@ -492,6 +498,7 @@ static void atmel_stop_tx(struct uart_port *port)\n>  \tif ((port->rs485.flags & SER_RS485_ENABLED) &&\n>  \t    !(port->rs485.flags & SER_RS485_RX_DURING_TX))\n>  \t\tatmel_start_rx(port);\n> +\n>  }\n>  \n>  /*\n> @@ -521,6 +528,7 @@ static void atmel_start_tx(struct uart_port *port)\n>  \n>  \t/* re-enable the transmitter */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN);\n> +\tatmel_port->tx_stopped = false;\n>  }\n>  \n>  /*\n> @@ -1866,6 +1874,7 @@ static int atmel_startup(struct uart_port *port)\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \t/* enable xmit & rcvr */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tsetup_timer(&atmel_port->uart_timer,\n>  \t\t\tatmel_uart_timer_callback,\n> @@ -2122,6 +2131,7 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,\n>  \n>  \t/* disable receiver and transmitter */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXDIS | ATMEL_US_RXDIS);\n> +\tatmel_port->tx_stopped = true;\n>  \n>  \t/* mode */\n>  \tif (port->rs485.flags & SER_RS485_ENABLED) {\n> @@ -2207,6 +2217,7 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,\n>  \tatmel_uart_writel(port, ATMEL_US_BRGR, quot);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \t/* restore interrupts */\n>  \tatmel_uart_writel(port, ATMEL_US_IER, imr);\n> @@ -2450,6 +2461,7 @@ static void atmel_console_write(struct console *co, const char *s, u_int count)\n>  \n>  \t/* Make sure that tx path is actually able to send characters */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tuart_console_write(port, s, count, atmel_console_putchar);\n>  \n> @@ -2511,6 +2523,7 @@ static int __init atmel_console_setup(struct console *co, char *options)\n>  {\n>  \tint ret;\n>  \tstruct uart_port *port = &atmel_ports[co->index].uart;\n> +\tstruct atmel_uart_port *atmel_port = to_atmel_uart_port(port);\n>  \tint baud = 115200;\n>  \tint bits = 8;\n>  \tint parity = 'n';\n> @@ -2528,6 +2541,7 @@ static int __init atmel_console_setup(struct console *co, char *options)\n>  \tatmel_uart_writel(port, ATMEL_US_IDR, -1);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tif (options)\n>  \t\tuart_parse_options(options, &baud, &parity, &bits, &flow);\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=\"QJlHUkOf\"; \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 3xxJkx0FR4z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 20:19:21 +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 1duFcV-000499-VP; Tue, 19 Sep 2017 10:19:11 +0000","from esa3.microchip.iphmx.com ([68.232.153.233])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1duFc7-00043s-0L; Tue, 19 Sep 2017 10:18:48 +0000","from smtpout.microchip.com (HELO email.microchip.com)\n\t([198.175.253.82])\n\tby esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t19 Sep 2017 03:18:24 -0700","from [10.159.245.112] (10.10.76.4) by chn-sv-exch06.mchp-main.com\n\t(10.10.76.107) with Microsoft SMTP Server id 14.3.352.0;\n\tTue, 19 Sep 2017 03:18:23 -0700"],"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=K8gsAoKNw0H4JeEtFffEd0mmkkg7dMIUsvI7YOgWrXU=;\n\tb=QJlHUkOfjYA7UD\n\tjLdi5rR2Uugm3NAIfvkljfU+BkCN3l65BtVWdsK46FPxsAON+5hEk7MmH8BvSsNFm433c+uJGqPpm\n\tuLCflaAQlqBzK+h95LTbEBQGltgMn/6TTm5Ypgg29PhSsm0scr6Zw+itSESrtmB+4geaHoqY7sr6s\n\tJ5niqKpxICFMYfvqfiMoSjoQehRbjxUNYR8CVhQFRDuhh84ttyQwsHPp3LWTCc8RuXT15Q47nOwvF\n\tg/W1zQUi0A/+CX8CWCCd5CRzousRS18+wUW2rQSkRmWaYgHSZpSlRY+a2IhjbRzj6ix/Ni+m5czou\n\ttF4W9muZMt1HM/vApg/A==;","X-IronPort-AV":"E=Sophos;i=\"5.42,417,1500966000\"; d=\"scan'208\";a=\"7163947\"","Subject":"Re: [PATCH v2 9/9] tty/serial: atmel: Prevent a warning on suspend","To":"Romain Izard <romain.izard.pro@gmail.com>, Alexandre Belloni\n\t<alexandre.belloni@free-electrons.com>, Boris Brezillon\n\t<boris.brezillon@free-electrons.com>, Michael Turquette\n\t<mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Ludovic\n\tDesroches <ludovic.desroches@microchip.com>, Wenyou Yang\n\t<wenyou.yang@atmel.com>, Josh Wu <rainyfeeling@outlook.com>,\n\tDavid Woodhouse\n\t<dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>, Marek\n\tVasut <marek.vasut@gmail.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>, \n\tThierry Reding <thierry.reding@gmail.com>, Richard Genoud\n\t<richard.genoud@gmail.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>, \n\tAlan Stern <stern@rowland.harvard.edu>","References":"<20170915140411.31716-1-romain.izard.pro@gmail.com>\n\t<20170915140411.31716-10-romain.izard.pro@gmail.com>","From":"Nicolas Ferre <nicolas.ferre@microchip.com>","Organization":"microchip","Message-ID":"<380a15d6-c180-316f-a56b-011acd02df59@microchip.com>","Date":"Tue, 19 Sep 2017 12:19:33 +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":"<20170915140411.31716-10-romain.izard.pro@gmail.com>","Content-Language":"en-US","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170919_031847_078601_2628F7D5 ","X-CRM114-Status":"GOOD (  18.47  )","X-Spam-Score":"-2.6 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.6 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [68.232.153.233 listed in list.dnswl.org]\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":"linux-pwm@vger.kernel.org, linux-usb@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,\n\tlinux-serial@vger.kernel.org, linux-clk@vger.kernel.org,\n\tlinux-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":1771926,"web_url":"http://patchwork.ozlabs.org/comment/1771926/","msgid":"<dabb8094-3489-3617-0b09-3aff247b34a2@gmail.com>","list_archive_url":null,"date":"2017-09-20T14:35:05","subject":"Re: [PATCH v2 9/9] tty/serial: atmel: Prevent a warning on suspend","submitter":{"id":810,"url":"http://patchwork.ozlabs.org/api/people/810/","name":"Richard Genoud","email":"richard.genoud@gmail.com"},"content":"On 15/09/2017 16:04, Romain Izard wrote:\n> The atmel serial port driver reported the following warning on suspend:\n> atmel_usart f8020000.serial: ttyS1: Unable to drain transmitter\n> \n> As the ATMEL_US_TXEMPTY status bit in ATMEL_US_CSR is always cleared\n> when the transmitter is disabled, we need to know the transmitter's\n> state to return the real fifo state. And as ATMEL_US_CR is write-only,\n> it is necessary to save the state of the transmitter in a local\n> variable, and update the variable when TXEN and TXDIS is written in\n> ATMEL_US_CR.\n> \n> After those changes, atmel_tx_empty can return \"empty\" on suspend, the\n> warning in uart_suspend_port disappears, and suspending is 20ms shorter\n> for each enabled Atmel serial port.\n> \n> Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>\n> ---\n>  drivers/tty/serial/atmel_serial.c | 14 ++++++++++++++\n>  1 file changed, 14 insertions(+)\n> \n> diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c\n> index 7551cab438ff..783af6648be0 100644\n> --- a/drivers/tty/serial/atmel_serial.c\n> +++ b/drivers/tty/serial/atmel_serial.c\n> @@ -171,6 +171,7 @@ struct atmel_uart_port {\n>  \tbool\t\t\thas_hw_timer;\n>  \tstruct timer_list\tuart_timer;\n>  \n> +\tbool\t\t\ttx_stopped;\n>  \tbool\t\t\tsuspended;\n>  \tunsigned int\t\tpending;\n>  \tunsigned int\t\tpending_status;\n> @@ -380,6 +381,10 @@ static int atmel_config_rs485(struct uart_port *port,\n>   */\n>  static u_int atmel_tx_empty(struct uart_port *port)\n>  {\n> +\tstruct atmel_uart_port *atmel_port = to_atmel_uart_port(port);\n> +\n> +\tif (atmel_port->tx_stopped)\n> +\t\treturn TIOCSER_TEMT;\n>  \treturn (atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXEMPTY) ?\n>  \t\tTIOCSER_TEMT :\n>  \t\t0;\n> @@ -485,6 +490,7 @@ static void atmel_stop_tx(struct uart_port *port)\n>  \t * is fully transmitted.\n>  \t */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXDIS);\n> +\tatmel_port->tx_stopped = true;\n>  \n>  \t/* Disable interrupts */\n>  \tatmel_uart_writel(port, ATMEL_US_IDR, atmel_port->tx_done_mask);\n> @@ -492,6 +498,7 @@ static void atmel_stop_tx(struct uart_port *port)\n>  \tif ((port->rs485.flags & SER_RS485_ENABLED) &&\n>  \t    !(port->rs485.flags & SER_RS485_RX_DURING_TX))\n>  \t\tatmel_start_rx(port);\n> +\n>  }\nThis line feed is not needed.\nOtherwise,\n\nAcked-by: Richard Genoud <richard.genoud@gmail.com>\n\n>  \n>  /*\n> @@ -521,6 +528,7 @@ static void atmel_start_tx(struct uart_port *port)\n>  \n>  \t/* re-enable the transmitter */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN);\n> +\tatmel_port->tx_stopped = false;\n>  }\n>  \n>  /*\n> @@ -1866,6 +1874,7 @@ static int atmel_startup(struct uart_port *port)\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \t/* enable xmit & rcvr */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tsetup_timer(&atmel_port->uart_timer,\n>  \t\t\tatmel_uart_timer_callback,\n> @@ -2122,6 +2131,7 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,\n>  \n>  \t/* disable receiver and transmitter */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXDIS | ATMEL_US_RXDIS);\n> +\tatmel_port->tx_stopped = true;\n>  \n>  \t/* mode */\n>  \tif (port->rs485.flags & SER_RS485_ENABLED) {\n> @@ -2207,6 +2217,7 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,\n>  \tatmel_uart_writel(port, ATMEL_US_BRGR, quot);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \t/* restore interrupts */\n>  \tatmel_uart_writel(port, ATMEL_US_IER, imr);\n> @@ -2450,6 +2461,7 @@ static void atmel_console_write(struct console *co, const char *s, u_int count)\n>  \n>  \t/* Make sure that tx path is actually able to send characters */\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tuart_console_write(port, s, count, atmel_console_putchar);\n>  \n> @@ -2511,6 +2523,7 @@ static int __init atmel_console_setup(struct console *co, char *options)\n>  {\n>  \tint ret;\n>  \tstruct uart_port *port = &atmel_ports[co->index].uart;\n> +\tstruct atmel_uart_port *atmel_port = to_atmel_uart_port(port);\n>  \tint baud = 115200;\n>  \tint bits = 8;\n>  \tint parity = 'n';\n> @@ -2528,6 +2541,7 @@ static int __init atmel_console_setup(struct console *co, char *options)\n>  \tatmel_uart_writel(port, ATMEL_US_IDR, -1);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);\n>  \tatmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);\n> +\tatmel_port->tx_stopped = false;\n>  \n>  \tif (options)\n>  \t\tuart_parse_options(options, &baud, &parity, &bits, &flow);\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=\"Ch4CPYjw\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"urmuN6un\"; 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 3xy2PK1hG9z9rxj\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 00:36:37 +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 1dug6w-00017j-KL; Wed, 20 Sep 2017 14:36:22 +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 1dug66-0000jc-Ct; Wed, 20 Sep 2017 14:35:36 +0000","by mail-wm0-x242.google.com with SMTP id e64so2641023wmi.2;\n\tWed, 20 Sep 2017 07:35:09 -0700 (PDT)","from [192.168.2.41] ([46.227.18.67])\n\tby smtp.googlemail.com with ESMTPSA id\n\tp46sm2093051wrb.46.2017.09.20.07.35.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 20 Sep 2017 07:35:06 -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=OoOUg2vhAiWWzmOZtcJ3F7ugJ/AyP+plYpFwvPrJkxk=;\n\tb=Ch4CPYjwmkGChL\n\tS/saPCkKcA1Zjsx5GOse7RXVaau/lNquW6LLnIyNNcMJqz/tOzHo9xojWfj1xgsl6y6FtrnK7FazL\n\tA3vpo8VW2s1PEPKm4zYGedZYn377UwW0kpY34aKzhk1ohvBpVWY4wB722XGrQ200a/Cht39i8Zadp\n\t97+6YTgwto0gRaeIGXZb8AJ/HTGm/nh7YzW0ZbOFoERDoeQpQi7mRky005FvOcD9H7yrXuXIN5okI\n\tuyW9rENuGsux3uf9pmSEwjCt80dZ0LNcX/my+/W+kUNesDXJBGR3l/KbmVHaTB4XxEp5H61BV4dVv\n\tMyQ+nGPptavBggqpc2Wg==;","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=EL3KOGJsVUMobalD+MGDTDBD9UYbhlqlobmZubT6b+8=;\n\tb=urmuN6unIvMl2ALEz7rasLydR+H89JT4Mtd5eLGLVUVXbyUb+chK1jQA6piADWfI+p\n\tsG7EfEaapPzQiXaoX/uueDaRYjVqX40tOSY5LRpU4Nx4hF7b4XT09QuKCDOaCgQKzZO2\n\tINhoiU6FZWmpqP975sRio07u/46cITgPH70+0goa6x5ZR0oJU4sf12ojDWuFYERg6T5J\n\tqCwNiq+mddyiVX4SGcotBoyUR9bT8yHVK0pZ0NBU9ZNQx2OIe91Allhn+smplSygF8F+\n\tbqnxEqXrvN7uW8R9Bfostq46/jpCo/u8jDYcV6MruGUa5Oujm7FURgHfWz4cAFowzlmM\n\tXHwQ=="],"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=EL3KOGJsVUMobalD+MGDTDBD9UYbhlqlobmZubT6b+8=;\n\tb=Qpu65bgYXAScLfSAKML7jFVp2SG6ng6wfEa0yOFnyB0/tHfCKMnFTIMavFvzozxfQE\n\txIBemOCCbN3FtTECNlSAY/wt4LRYaNiZH1YHcoxKnfNz8QxgGYySQDvu1gpYu5dy+pox\n\tHiwi93YIqycucL7UYbhchcpXein5YqESpx8e3B4TiRCSY5G5HlIH5tNcOS8QslpTPG+J\n\tQ6u9tDmfwnCTu3GGHU+KljK8rc06IQDZyNYWMg7ixFCE+RWrW83i5EBFVWopZZeqwnvQ\n\tBQoF3OqEc9eyJsSrY1jFuCzGmDiyG5/PumY/vwewu0wkREMpj+x+RZmoVB6qcrIYDqmn\n\txg8g==","X-Gm-Message-State":"AHPjjUgtUWeEZy4L6iv5ukUXIvEQg9dd+nBnYWMcnyUiik2F05OfQUri\n\tvqsOESxnRCiOfJRFZX52fX2Ow5B+","X-Google-Smtp-Source":"AOwi7QCWR4DG9t4R7Lt/YKV+XmGrYWIED2XYvKAHlZb4HzBn0RAOf4JxX1WP9CtW7RHVn80oHDubtw==","X-Received":"by 10.28.74.89 with SMTP id x86mr4240580wma.57.1505918107891;\n\tWed, 20 Sep 2017 07:35:07 -0700 (PDT)","Subject":"Re: [PATCH v2 9/9] tty/serial: atmel: Prevent a warning on suspend","To":"Romain Izard <romain.izard.pro@gmail.com>,\n\tNicolas Ferre <nicolas.ferre@microchip.com>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>,\n\tBoris Brezillon <boris.brezillon@free-electrons.com>,\n\tMichael Turquette <mturquette@baylibre.com>,\n\tStephen Boyd <sboyd@codeaurora.org>,\n\tLudovic Desroches <ludovic.desroches@microchip.com>,\n\tWenyou Yang <wenyou.yang@atmel.com>, Josh Wu <rainyfeeling@outlook.com>, \n\tDavid Woodhouse <dwmw2@infradead.org>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tMarek Vasut <marek.vasut@gmail.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tThierry Reding <thierry.reding@gmail.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tAlan Stern <stern@rowland.harvard.edu>","References":"<20170915140411.31716-1-romain.izard.pro@gmail.com>\n\t<20170915140411.31716-10-romain.izard.pro@gmail.com>","From":"Richard Genoud <richard.genoud@gmail.com>","Message-ID":"<dabb8094-3489-3617-0b09-3aff247b34a2@gmail.com>","Date":"Wed, 20 Sep 2017 16:35:05 +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":"<20170915140411.31716-10-romain.izard.pro@gmail.com>","Content-Language":"fr","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170920_073530_602241_298E8D9D ","X-CRM114-Status":"GOOD (  20.55  )","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 (richard.genoud[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":"linux-pwm@vger.kernel.org, linux-usb@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,\n\tlinux-serial@vger.kernel.org, linux-clk@vger.kernel.org,\n\tlinux-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"}}]