Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2126731rwb; Wed, 30 Nov 2022 02:42:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf5MFU+bjqG82dDfrcISGcEx7EyvsBokM/eJfq1r40DkR5Nnu/7cfUJWGWds+B3n7ScL5B3e X-Received: by 2002:a17:906:392:b0:7b5:a9df:d83e with SMTP id b18-20020a170906039200b007b5a9dfd83emr40952141eja.358.1669804974528; Wed, 30 Nov 2022 02:42:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669804974; cv=none; d=google.com; s=arc-20160816; b=n7BuEnhvOJy3zLQD7Bk4MGUgW7zYYVSZMwpTEYyrWIKcPaN1G5rlWUOl7Y4bvxqK5m 1K3z0Tkm6BwaHuc248WdOBIG2O3+Vs3sXGZcFBdTV88C5V6oTBOnY0GcQVg6XHH+fALd 0QjIN6YTk5ikJVZv/TijaK8GietO7oaXPQaD+McMaVZKSXkCNFE5MWs2LNmAXR3jg7rY nD6xSmG75PNo7XLvIbgqNRA9c+mhvZMWoJz+eopQKYaNTGzYrDXKq1wAozLVDq+B8gEz EHpaTgaFCpuhJWxJKM3V7dhS2D6UXI/DtjuX1swFNRb5NISi1NLHxE3SQh/o/+Ak8lTg gn6w== 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=PSnczsMLxHoWQ1jlo/VxhlrnFURde7sfy52mcKFUMz8=; b=O/8wos/cLJe1NuhMSb8DALQkkwUpzC1bmS7LzDG/K2seu9PnUUolLZldgac/dDrZiK wyQ6T1coN5OzrFIPS55HJSwZbi/d/kWFsNhZeZCVEVlSWttNQKl+ewbQhDPgQkNYRuvW Wsa9EPNv2gT1mRnm+SShed2hF2qN1vKZbNDlq7eIKVQCmFJ9YMfMcvJ/dYjktHqkQTis hmT0hdUHlg8IQMtxxHZqp0VanUj3JOTHAiPB4uOiVcyjzUX0nkbdrLjZs9lLaQForiWg 6ysC+j5WxKrzsMUxMDrQCfVNxCNnU3DBJLqkzxqfpoHJ6Jtoav3e30XwGjdozecqyYKJ u5JQ== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o6-20020a50fd86000000b00469d569a4afsi855215edt.509.2022.11.30.02.42.33; Wed, 30 Nov 2022 02:42:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235051AbiK3KWg (ORCPT + 84 others); Wed, 30 Nov 2022 05:22:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235225AbiK3KWQ (ORCPT ); Wed, 30 Nov 2022 05:22:16 -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 ACD9B41998 for ; Wed, 30 Nov 2022 02:22:03 -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 1p0KE4-0001I7-Et; Wed, 30 Nov 2022 11:22:00 +0100 Received: from pengutronix.de (unknown [IPv6:2a0a:edc0:0:701:38ad:958d:3def:4382]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) 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 C106012DD15; Wed, 30 Nov 2022 10:21:58 +0000 (UTC) Date: Wed, 30 Nov 2022 11:21:57 +0100 From: Marc Kleine-Budde To: Frank Jungclaus Cc: Stefan =?utf-8?B?TcOkdGpl?= , "linux-can@vger.kernel.org" , "wg@grandegger.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mailhol.vincent@wanadoo.fr" Subject: Re: [PATCH RESEND 1/1] can: esd_usb: Allow REC and TEC to return to zero Message-ID: <20221130102157.ip7w35ufc6xepb5w@pengutronix.de> References: <20221124203806.3034897-1-frank.jungclaus@esd.eu> <20221124203806.3034897-2-frank.jungclaus@esd.eu> <20221125155651.ilwfs64mtzcn2zvi@pengutronix.de> <567bb7208c29388eb5a4fe7a270f2c3192a87e0e.camel@esd.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="txnwk44n5fupu5xm" Content-Disposition: inline In-Reply-To: <567bb7208c29388eb5a4fe7a270f2c3192a87e0e.camel@esd.eu> 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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 --txnwk44n5fupu5xm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29.11.2022 17:15:56, Frank Jungclaus wrote: > Hello Marc, > thanks for commenting. >=20 > On Fri, 2022-11-25 at 16:56 +0100, Marc Kleine-Budde wrote: > > On 24.11.2022 21:38:06, Frank Jungclaus wrote: > > > We don't get any further EVENT from an esd CAN USB device for changes > > > on REC or TEC while those counters converge to 0 (with ecc =3D=3D 0). > > > So when handling the "Back to Error Active"-event force > > > txerr =3D rxerr =3D 0, otherwise the berr-counters might stay on > > > values like 95 forever ... > > >=20 > > > Also, to make life easier during the ongoing development a > > > netdev_dbg() has been introduced to allow dumping error events send by > > > an esd CAN USB device. > > >=20 > > > Signed-off-by: Frank Jungclaus > >=20 > > Please add a Fixes tag. > >=20 > > https://elixir.bootlin.com/linux/v6.0/source/Documentation/process/hand= ling-regressions.rst#L107 > >=20 > From my point of view this is not a regression, it's a sort of > imperfection existing since the initial add of esd_usb(2).c to the > kernel. So should I add a "Fixes:" referring to the initial commit? > (Currently) I'm slow on the uptake ;) Please add a fixes tag that refers to the code that this patch fixes. 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 | --txnwk44n5fupu5xm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmOHLsMACgkQrX5LkNig 0103zQf/ZAgtOyPFAuMRQXXBwGvOD1FH/DO/cXRKQXSUcdSJDwPjg4ztdxsWa1Sp jSg3bsvFTtRkSO7aOurWCjg8WZs6arv2YT80Kp7tB9rQ8YxxIXF7SVnt2L9KaxQS KFgSUEC5liQt1VYTQtXTkf3fKkMpA+wi14jjuuOWWDD1dSDFVx/vYyMmC9z+/pDm VzBVRxngUzjf1EgPHP8P9qOj4SOfOXbwLhN65A3TaxRJBQLZwqaqGWVF911Uwizi x4YDkFnLqnMGJXQOfiZZjK9H92cpyKuwaaiMhfGEDnHgvDM/0x3idvqUN96nHUIv m6xh2ULrXchDJVHHwbFRcUbM5IyKxA== =cWlk -----END PGP SIGNATURE----- --txnwk44n5fupu5xm--