Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1801768pxb; Wed, 9 Feb 2022 04:59:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0qsObNnCB6qWY6hXBCEHkIFwWFfG86ACLFgf/YrMFeh2Tn4Jx0ds9jNJIZCJK0tO6cRVU X-Received: by 2002:a17:90a:4544:: with SMTP id r4mr2418528pjm.186.1644411540551; Wed, 09 Feb 2022 04:59:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644411540; cv=none; d=google.com; s=arc-20160816; b=ss9pqT/uYsOtSz+QicvnHlmRt6nmkOqLW0A48cMAsC7UI8kOgkkv7eXZT8WZCSqvMk iicgy4g+/uq4tlioMizHxOwD+YYTlyjFiGNuloJ3oCh/n9HCsXjVco1by4BKUqEUbFWn xYeJSX70BGgN8b+7bKitT42IwmjYUDYKoB5QmrQTRRn2FGtehG//U9dw8iPhgB5pW+k1 hYYh+oMoyjNQEO1WuKky+44XpQa/Fdb2agKLiQvtyEZ+8kHEtgM0XbinhRvXQT8QbBE2 sdotti9bX9eyjC/MBMeY5xENKtGsv/mXoBIdqGsNwPFL7EfYoIfUGatoOFvxXSmLlHaG nLCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nTIMVzOfKoe9/kPpnwapHegxBanHO/Lx+U1FojpWKfQ=; b=y8ady1XWGS/HqQC5uNpM9H7lWl3MMjOScbRZ3fT117QBQFFyx9TexREFGu4U1Se+tx Sw0N3gvUsj/Mu8vvNefSJ16yFPccqWm+GjFyOwwBq0hRaeOXCTEcPG472alLKVIflys0 xVufP4on3KW+A1sbsfkB4j6dHfhzikfKJHVPaZIB0reLL35uoA8LFYz4m+vLWsM/PhBl UKgEThIOiXxuwu1uBtxUCcT5yRwOJffuGMvcYCqKqO5AutHRlFgxFO/h0sNcKNCzAtd4 kEs+CAoTAUhimMcDHrsyfd/T/oPb3WLGIGtOHKQjZD0+M4CLQrXmhL04DpHiBZoAZWoB Mazw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t17si16370833plr.512.2022.02.09.04.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 04:59:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C1F67E01C1F2; Wed, 9 Feb 2022 02:33:19 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236157AbiBIIpR (ORCPT + 99 others); Wed, 9 Feb 2022 03:45:17 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:43080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbiBIIpO (ORCPT ); Wed, 9 Feb 2022 03:45:14 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8FB4C0DE7D1 for ; Wed, 9 Feb 2022 00:45:08 -0800 (PST) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHiZz-0001J0-Nj; Wed, 09 Feb 2022 09:43:59 +0100 Received: from pengutronix.de (unknown [195.138.59.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 9F4912EFC8; Wed, 9 Feb 2022 08:43:58 +0000 (UTC) Date: Wed, 9 Feb 2022 09:43:55 +0100 From: Marc Kleine-Budde To: Srinivas Neeli Cc: "wg@grandegger.com" , "davem@davemloft.net" , "kuba@kernel.org" , Michal Simek , "linux-can@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Appana Durga Kedareswara Rao , Srinivas Goud , git Subject: Re: [PATCH] can: xilinx_can: Add check for NAPI Poll function Message-ID: <20220209084355.2q5xjrodusfsudtb@pengutronix.de> References: <20220208162053.39896-1-srinivas.neeli@xilinx.com> <20220209074930.azbn26glrxukg4sr@pengutronix.de> <20220209083155.xma5m7tayy2atyoo@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w3ohdsvc62wrfxhg" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --w3ohdsvc62wrfxhg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09.02.2022 08:40:48, Srinivas Neeli wrote: > Hi Marc, >=20 > > -----Original Message----- > > From: Marc Kleine-Budde > > Sent: Wednesday, February 9, 2022 2:02 PM > > To: Srinivas Neeli > > Cc: wg@grandegger.com; davem@davemloft.net; kuba@kernel.org; Michal > > Simek ; linux-can@vger.kernel.org; > > netdev@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > > kernel@vger.kernel.org; Appana Durga Kedareswara Rao > > ; Srinivas Goud ; git > > > > Subject: Re: [PATCH] can: xilinx_can: Add check for NAPI Poll function > >=20 > > On 09.02.2022 08:29:55, Srinivas Neeli wrote: > > > > On 08.02.2022 21:50:53, Srinivas Neeli wrote: > > > > > Add check for NAPI poll function to avoid enabling interrupts with > > > > > out completing the NAPI call. > > > > > > > > Thanks for the patch. Does this fix a bug? If so, please add a Fixe= s: > > > > tag that lists the patch that introduced that bug. > > > > > > It is not a bug. I am adding additional safety check( Validating the > > > return value of "napi_complete_done" call). > >=20 > > Thanks for your feedback. Should this go into can or can-next? >=20 > If possible please apply on both branches. That's not an option. Going for can-next as Michal Simek suggested. Adding to linux-can-next/testing. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --w3ohdsvc62wrfxhg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmIDfsgACgkQrX5LkNig 011hcwf+LN6j6ou9DxkXTRlfTtRlwD9sWCvC37dmSkKz5N566qP+hDBt38tZadUU mEVeUbwdhqSFM0KP1GEfc6gSixRL7Se4oNYgmavLDsRN1CS4444s+ngfF2SUX9z5 j132Se8fEH3MdTAuA/1YyTBIbXscuGe4xKq36IBwpgFfIzrOtjg8jSawiDtrwWyS xqa7kbWNaRDP6WCDNTvhqi77ZEwKMHdRKoctNA5CSOaQbo1SC5RylZsfJsaoZX8v m+Z0Gn4ZSJdQHZJqPBIZVuBocyuLuiD/elX5cGEfPeXDmMrzrtpzIt1GJvRT+N7h 4tHSiRn/E5vlzS+XtidqLSeo6V6r2Q== =mnTK -----END PGP SIGNATURE----- --w3ohdsvc62wrfxhg--