Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8A53C10F14 for ; Thu, 3 Oct 2019 08:12:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5B0721A4C for ; Thu, 3 Oct 2019 08:12:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726225AbfJCIMI (ORCPT ); Thu, 3 Oct 2019 04:12:08 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:42180 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725879AbfJCIMI (ORCPT ); Thu, 3 Oct 2019 04:12:08 -0400 Received: from host-2-98-44-217.as13285.net ([2.98.44.217] helo=[192.168.1.13]) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iFwDV-0000xO-OM; Thu, 03 Oct 2019 09:12:05 +0100 Subject: Re: [PATCH v2 2/3] serial: 8250_exar: Refactor exar_shutdown() To: Robert Middleton Cc: Andy Shevchenko , Aaron Sierra , Greg Kroah-Hartman , linux-serial@vger.kernel.org, Jan Kiszka References: <20190805100518.9818-2-andriy.shevchenko@linux.intel.com> <20190805142147.GK23480@smile.fi.intel.com> <20190806152407.GF30120@smile.fi.intel.com> <20190806153110.GG30120@smile.fi.intel.com> <20190807150425.GC30120@smile.fi.intel.com> <20190808121148.GT30120@smile.fi.intel.com> <29ab74c4-490b-ef4a-011a-ba75fc4321cb@codethink.co.uk> From: Sudip Mukherjee Message-ID: <29b3474a-4226-cd86-643d-4d8ce237bcd5@codethink.co.uk> Date: Thu, 3 Oct 2019 09:12:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On 02/10/2019 20:03, Robert Middleton wrote: > On Sun, Sep 29, 2019 at 5:43 PM Sudip Mukherjee > wrote: >> >> >> >> On 29/09/2019 22:30, Robert Middleton wrote: >>> On Sun, Sep 29, 2019 at 2:15 PM Sudip Mukherjee >>> wrote: >>>> >>>> Hi Robert, >>>> >>>> Sorry for the delay. I managed to test it today. My test file contained >>>> 70 lines of "The quick brown fox jumps over the lazy dog". I used upto >>>> 1200 Baudrate to send the text from the desktop using the Exar serial I >>>> have and I did not notice any message loss on the receiving laptop. >>>> Please let me know if you want me to test further. >>>> >>> >>> Two questions: >>> 1. What kernel version? If you didn't have a problem, I can try with >>> the exact version that you have as well and see if I can reproduce on >>> my side. >> >> v5.3.1 >> >>> 2. Did you test this via 'cat text-file.txt > /dev/ttySX' ? I'm >>> assuming that you are, but just want to make sure. >> >> Yes. On the desktop which has the Exar hardware "cat fox.txt > >> /dev/ttyS4" and on the laptop which is the receiver a terminal to read >> from /dev/ttyUSB0. > > Thanks for checking; I still have the issue on my side, it is very > weird. Would you mind if I send you a video off-list that shows what > is happening on my end? I'm pretty much at a loss at this point. sure. and both your transmitter and receiver has the Exar serial or is it on just the transmitter side? lets take it offlist and debug the issue first. -- Regards Sudip