Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752833AbbFHJNG (ORCPT ); Mon, 8 Jun 2015 05:13:06 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:45060 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752318AbbFHJM5 (ORCPT ); Mon, 8 Jun 2015 05:12:57 -0400 Date: Mon, 8 Jun 2015 10:12:44 +0100 From: Russell King - ARM Linux To: Bhuvanchandra DV Cc: gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, moorray3@wp.pl, linux-kernel@vger.kernel.org, stefan@agner.ch, bhuvanchandra.dv@gmail.com, kernel@pengutronix.de, shawn.guo@linaro.org, jslaby@suse.cz, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V2 2/3] tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl Message-ID: <20150608091244.GS7557@n2100.arm.linux.org.uk> References: <1433136067-20644-1-git-send-email-bhuvanchandra.dv@toradex.com> <1433136067-20644-3-git-send-email-bhuvanchandra.dv@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433136067-20644-3-git-send-email-bhuvanchandra.dv@toradex.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 838 Lines: 22 On Mon, Jun 01, 2015 at 10:51:06AM +0530, Bhuvanchandra DV wrote: > + /* > + * CTS/RTS can _only_ be handled > + * automatically by the hardware. > + */ That's really not acceptable. You need to do something here so that you can _force_ RTS to be deasserted when the kernel buffers fill up - be that by stopping reading characters and letting the FIFO fill up or something of that ilk. Ignoring the rest of the flow control system in the kernel is not really acceptable. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- 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/