Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbbLEVtb (ORCPT ); Sat, 5 Dec 2015 16:49:31 -0500 Received: from mail-bl2nam02on0043.outbound.protection.outlook.com ([104.47.38.43]:57568 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751746AbbLEVt3 (ORCPT ); Sat, 5 Dec 2015 16:49:29 -0500 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Date: Sat, 5 Dec 2015 13:49:21 -0800 From: =?utf-8?B?U8O2cmVu?= Brinkmann To: Peter Hurley CC: Greg Kroah-Hartman , Jiri Slaby , Michal Simek , , , Subject: Re: [PATCH LINUX v3 08/10] tty: xuartps: Move RX path into helper function Message-ID: <20151205214921.GN4900@xsjsorenbubuntu> References: <1448161172-19717-1-git-send-email-soren.brinkmann@xilinx.com> <1448161172-19717-9-git-send-email-soren.brinkmann@xilinx.com> <56632177.1090605@hurleysoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56632177.1090605@hurleysoftware.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21982.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(479174004)(199003)(164054003)(24454002)(377454003)(189002)(377424004)(5001960100002)(36386004)(23676002)(110136002)(85202003)(76176999)(63266004)(92566002)(81156007)(5008740100001)(1076002)(1096002)(1220700001)(47776003)(6806005)(4001350100001)(33716001)(33656002)(586003)(86362001)(19580405001)(50986999)(76506005)(54356999)(189998001)(19580395003)(106466001)(57986006)(2950100001)(77096005)(11100500001)(50466002)(85182001)(87936001)(83506001)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1NAM02HT049;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501001);SRVR:SN1NAM02HT049; X-Microsoft-Antispam-PRVS: <300ef022793c46fcae7496650ce9d85d@SN1NAM02HT049.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046);SRVR:SN1NAM02HT049;BCL:0;PCL:0;RULEID:;SRVR:SN1NAM02HT049; X-Forefront-PRVS: 07817FCC2D X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2015 21:49:26.1402 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM02HT049 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 26 On Sat, 2015-12-05 at 12:40PM -0500, Peter Hurley wrote: > On 11/21/2015 09:59 PM, Soren Brinkmann wrote: > > Move RX-related IRQ handling into a helper function. > Fixes a problem where every char received after a parity or frame error > in the current isr will also be tagged as a parity or frame error. > > Reviewed-by: Peter Hurley Thanks. I'll add your text to the commit message. > > NB: the sysrq problem in cdns_uart_isr() with needing to drop the > locks is because cdns_uart_console_write() tries to take the port->lock. > The 8250 driver handles this problem by not trying to take the > port->lock if port->sysrq is non-zero. See serial8250_console_write(). I'll look into this. I'll see if I can include that in the next iteration of this series or do it later. Thanks, Sören -- 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/