Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751136AbbLBFcW (ORCPT ); Wed, 2 Dec 2015 00:32:22 -0500 Received: from mail-sn1nam02on0082.outbound.protection.outlook.com ([104.47.36.82]:51952 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750887AbbLBFcU (ORCPT ); Wed, 2 Dec 2015 00:32:20 -0500 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=bestguesspass action=none header.from=xilinx.com; From: Nava kishore Manne To: Soren Brinkmann CC: "jslaby@suse.com" , Michal Simek , Anirudha Sarangi , "linux-serial@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2 1/3] serial: xuartps: Spliting the ISR into smaller routines. Thread-Topic: [PATCH v2 1/3] serial: xuartps: Spliting the ISR into smaller routines. Thread-Index: AQHRI5g8TEO+FUSNZ0CTcrpZy8vgcZ6kdm0AgBHN/TA= Date: Wed, 2 Dec 2015 05:32:14 +0000 Message-ID: References: <1448026478-22131-1-git-send-email-navam@xilinx.com> <20151120144348.GS32017@xsjsorenbubuntu> In-Reply-To: <20151120144348.GS32017@xsjsorenbubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.93.62] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21974.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(13464003)(377424004)(24454002)(199003)(189002)(377454003)(50986999)(76176999)(54356999)(189998001)(63266004)(106466001)(110136002)(5001960100002)(33656002)(87936001)(5004730100002)(81156007)(4001150100001)(5008740100001)(55846006)(3846002)(586003)(6116002)(102836003)(1096002)(1220700001)(6806005)(92566002)(19580395003)(19580405001)(15975445007)(86362001)(575784001)(106116001)(50466002)(2920100001)(11100500001)(2900100001)(2950100001)(23676002)(5250100002)(4001450100002)(47776003)(5003600100002)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1NAM02HT143;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501001);SRVR:SN1NAM02HT143; X-Microsoft-Antispam-PRVS: <7aa929e23fcd44cd8cb2f0b068023703@SN1NAM02HT143.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046);SRVR:SN1NAM02HT143;BCL:0;PCL:0;RULEID:;SRVR:SN1NAM02HT143; X-Forefront-PRVS: 077884B8B5 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2015 05:32:18.2102 (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.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM02HT143 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tB25WSqA001250 Content-Length: 2264 Lines: 59 > -----Original Message----- > From: Sören Brinkmann [mailto:soren.brinkmann@xilinx.com] > Sent: Friday, November 20, 2015 8:14 PM > To: Nava kishore Manne > Cc: jslaby@suse.com; Michal Simek; Anirudha Sarangi; linux- > serial@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > kernel@vger.kernel.org; Nava kishore Manne > Subject: Re: [PATCH v2 1/3] serial: xuartps: Spliting the ISR into smaller > routines. > > On Fri, 2015-11-20 at 07:04PM +0530, Nava kishore Manne wrote: > > Breaking the single big ISR that has both Rx and Tx in a single > > function into smaller ones > > > > Signed-off-by: Nava kishore Manne > > --- > > Changes for v2: > > --Splits up the ISR without any functional changes as suggested > > by Peter Hurley > > > > drivers/tty/serial/xilinx_uartps.c | 247 > > ++++++++++++++++++++----------------- > > 1 file changed, 135 insertions(+), 112 deletions(-) > > > > diff --git a/drivers/tty/serial/xilinx_uartps.c > > b/drivers/tty/serial/xilinx_uartps.c > > index 009e0db..2e1b0a8 100644 > > --- a/drivers/tty/serial/xilinx_uartps.c > > +++ b/drivers/tty/serial/xilinx_uartps.c > > @@ -172,6 +172,9 @@ struct cdns_uart { #define to_cdns_uart(_nb) > > container_of(_nb, struct cdns_uart, \ > > clk_rate_change_nb); > > > > +static void cdns_uart_handle_tx(void *dev_id); static void > > +cdns_uart_handle_rx(void *dev_id, unsigned int isrstatus); > > Can't you just move these functions here instead of adding prototypes here? Initially I created the patch without adding prototypes but that patch was unreadable Due to the common lines of code b/w the functions so created the prototypes to make the Patch more readable as suggested by Peter. Will add one more patch in the next series to get rid of the prototypes. > Also, this is likely to conflict with > https://lkml.org/lkml/2015/11/19/622 Yes I agree l see that no comments for your series of patches as of now... Let me know whether I should wait until your patches got applied or you want me to send the next version Of my patches... Regards, Navakishore. > > Sören ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?