From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 7FF8DC54E4A for ; Tue, 12 May 2020 11:53:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D522206CC for ; Tue, 12 May 2020 11:53:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729558AbgELLxa (ORCPT ); Tue, 12 May 2020 07:53:30 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:52851 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729207AbgELLxa (ORCPT ); Tue, 12 May 2020 07:53:30 -0400 X-Originating-IP: 87.231.134.186 Received: from localhost (87-231-134-186.rev.numericable.fr [87.231.134.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3F43240004; Tue, 12 May 2020 11:53:28 +0000 (UTC) From: Gregory CLEMENT To: Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org Cc: Thomas Petazzoni , Gregory CLEMENT Subject: [PATCH v2 0/3] TTY improve n_gsm support Date: Tue, 12 May 2020 13:53:20 +0200 Message-Id: <20200512115323.1447922-1-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This series is the second version of patch improving n_gms support especially with TELIT LE910. However the fix should benefit to any modem supporting cmux. The first patch is just about improving debugging output. The second one removes a tty optimization which make the LE910 hang. The last one fixes an issue observed on the LE910 but should benefit to all the modem. We observed that pretty quickly the transfer done using the virtual tty were blocked. We found that it was due of a wakeup to the real tty. Without this fix, the real tty wait for indefinitely. Thanks to Jiri Slaby for the review. Changelog: v1 -> v2: - don't replace the pr_info by pr_debug - remove the superfluous printk("\n"); - use --follow option with git log to find the original commit to fix - use tty_port_tty_wakeup - use 'for' loop instead of 'while' Gregory Gregory CLEMENT (3): tty: n_gsm: Improve debug output tty: n_gsm: Fix SOF skipping tty: n_gsm: Fix waking up upper tty layer when room available drivers/tty/n_gsm.c | 48 +++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 23 deletions(-) -- 2.26.2