Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753439AbbBYTDE (ORCPT ); Wed, 25 Feb 2015 14:03:04 -0500 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:39640 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752730AbbBYTDB (ORCPT ); Wed, 25 Feb 2015 14:03:01 -0500 X-IronPort-AV: E=Sophos;i="5.09,646,1418112000"; d="scan'208";a="58012209" From: Jonathan Richardson To: Dmitry Torokhov , Anatol Pomazau , Jonathan Richardson , Scott Branden , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Greg Kroah-Hartman" , Jiri Slaby CC: , , Subject: [PATCH 0/1] Synopsis 8250 serial port driver fix Date: Wed, 25 Feb 2015 11:04:15 -0800 Message-ID: <1424891056-1222-1-git-send-email-jonathar@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 27 Hi, This patchset fixes a bug in the Synopsis 8250 serial driver which causes the driver to hang. The bug occurs on simple 2 wire serial ports when modem control signalling has been enabled. It can be reproduced from user space by enabling modem control signals (stty -clocal), then opening a serial port and polling for data available to read with a timeout. A properly implemented driver will ignore the control signals and the call to poll will return. The current version of the driver hangs forever on the call to poll despite the timeout. Jon Desmond Liu (1): serial: 8250_dw: Fix get_mctrl behaviour .../bindings/serial/snps-dw-apb-uart.txt | 7 ++++ drivers/tty/serial/8250/8250_dw.c | 41 ++++++++++++++++++++ 2 files changed, 48 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/