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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDE25C3DA7E for ; Tue, 23 Jul 2024 18:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LzQFin56F0bEZ2NPY/r34MDv276j/AGXc3bHChm8s38=; b=Ba8mOmvn6q0CoF0J9oC6Qp0wJI MJk2wKp42KJ6tTYUCQmqYM5kP8R1M95mfO/JuHbZ7bljBOn3rKSTEB2dKpUeMRya0hLG1cFzafT7k wo6/jbdKsTogVCjvX8XKfuKS63l+mMnz4QsgJFhaxmD7MWVQ4IPjMO1SuO7tCyDnf48xkZ0dFNUQ6 E1On6VUps2B7rLZ5AkQIeGWlSqoyqlhMd+F3IXvpatxWcLF3RUfFFLmyw8VC1lIndTcy+I7UAZP9R dyubkog4abNCcY2GLMlQ9Jn0t5oLnMBF+5o8GyXhYkZ+oWMC/sE0xjyTqNlKNi09bm6ZkcIFPiGTg b38UAOBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWJzZ-0000000DBtG-1hQk; Tue, 23 Jul 2024 18:12:05 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWJzA-0000000DBkl-2ji0 for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 18:11:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id F2D4960E71; Tue, 23 Jul 2024 18:11:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 680C6C4AF11; Tue, 23 Jul 2024 18:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721758299; bh=mtrrKId80+HnqOOJ5jNMS2oRckslL6kres5Xd43XQdQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VXkLuc1HkXmk5VuIQU645YeZ0qvBoywcyeQe2zkJXaMkC6L9m1/b8Kf6xmF+O71Yv HSOuOntdBXrNsKRGtvvTk7X2fPOOMSoYg16bFf592jrASM6UQdiN3aW+y4z7M0dEcq bPbSvhhFvx6vhKL2C92Oc3m45bowaVSWcINh+kSc= Date: Tue, 23 Jul 2024 20:11:37 +0200 From: Greg KH To: James Minor Cc: shubhrajyoti.datta@amd.com, patches@opensource.cirrus.com, jirislaby@kernel.org, michal.simek@amd.com, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] tty: xilinx_uartps: Fix break detection Message-ID: <2024072322-saucy-silent-626f@gregkh> References: <20240723142858.2905083-1-jminor1@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240723142858.2905083-1-jminor1@opensource.cirrus.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_111140_765244_84599CF5 X-CRM114-Status: GOOD ( 24.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 23, 2024 at 02:28:58PM +0000, James Minor wrote: > Commit b8a6c3b3d465 ("tty: xilinx_uartps: Fix the ignore_status") > used read_status_mask to mask the isrstatus, even though the > commit appears to be fixing the application of the > ignore_status_mask. This has a side effect of clearing any > pending CDNS_UART_IXR_FRAMING bit, which in turn means that > cdns_uart_handle_rx break detection will only process framing > errors when parity is enabled (INPCK set via > cdns_uart_set_termios). > > Fix this by removing the extra isrstatus masking with > read_status_mask, which still allows the ignore_status_mask to be > applied. > > Fixes: b8a6c3b3d465 ("tty: xilinx_uartps: Fix the ignore_status") > Signed-off-by: James Minor > --- > > The other alternative to this would be a straight revert of > b8a6c3b3d465, since read_status_mask and ignore_status_mask are > both applied in cnds_uart_handle_rx anyway. Let me know the > preference here and I will change accordingly. > > drivers/tty/serial/xilinx_uartps.c | 1 - > 1 file changed, 1 deletion(-) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - You have marked a patch with a "Fixes:" tag for a commit that is in an older released kernel, yet you do not have a cc: stable line in the signed-off-by area at all, which means that the patch will not be applied to any older kernel releases. To properly fix this, please follow the documented rules in the Documentation/process/stable-kernel-rules.rst file for how to resolve this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot