Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1611082pxb; Wed, 2 Feb 2022 08:38:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3sWTjO1G8qe7LDC9s+fgWmmXw3vQ6KJC0GdDYzoIzLnp92GcHOmFj0kY9uql+0BBoTXxe X-Received: by 2002:a05:6402:5212:: with SMTP id s18mr31291584edd.379.1643819893013; Wed, 02 Feb 2022 08:38:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643819893; cv=none; d=google.com; s=arc-20160816; b=HD/Ie14NWad0tvZlRmaj2W0UjoFxVco2OlASMK01aZG2LM4RmI0GeqTKDGDHoqlYG5 F0M4qBbplqDjiYXj6M3+Uo05Q3TlvRdhx8s7NPEWh6oqpT/f9v1yWhuQ1Nt/yQdAYUO6 76Dk8Db0UIZZ+y6EM5EdNXLWfYFXwpCdDZEWz+Mv/okJbJHdSOrraksSLGUZYPOmE9uI pIdc86+OTvxkTwX0SGHTz3T1MD73oRdkL2IxJCkBQy83FlZlibxFWH24eWiECOsWpknY yrRi6JY9SKI1Yweep8D7WZO0XUtdLDcpx6DVyicRdBwmkbrRDHR4k6Udc3dSZels0/T9 7HXQ== 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=OFKvb7z9advPb4/VoX8ce8XQHLYPdZH/np4zY413DW4=; b=pGIxw9m1ORqnAN0k6zLzNG5LSUP2lUJwR7vcvnpwBS6FGk91Zw3hKyQEEHvVvLl4qv Ds0Z7U4U27bq78iHCSfg1z4spdxPlto0cqfdzloavHj+M3EcdQfAxSr7OnD6ZWsrVXp5 83O2cPIIb5e66QAhbYTI/vYmoJxIy4NdkUh6xTcT3xdfWNjMqHY10Z+i6N8eDaUFWPDM anUJTxikOG5M0yOfxouVSPr137GnIriw4k7XUsnU2k+Qb7Md2vrdvy92L1TPGY/mQwym GeQGxSe5UMUllG9w6K6hN1RfrsRh4rFqxhsLFHgottG1osnNeNbZpEZ+yn+Afo6WguyL Ikpg== 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 sa4si12789642ejc.284.2022.02.02.08.37.40; Wed, 02 Feb 2022 08:38:12 -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 S242564AbiBBMVq (ORCPT + 99 others); Wed, 2 Feb 2022 07:21:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239210AbiBBMVo (ORCPT ); Wed, 2 Feb 2022 07:21:44 -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 9B669C06173B for ; Wed, 2 Feb 2022 04:21:44 -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 1nFEdp-0002oV-EN; Wed, 02 Feb 2022 13:21:41 +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 9523829C05; Wed, 2 Feb 2022 12:21:39 +0000 (UTC) Date: Wed, 2 Feb 2022 13:21:36 +0100 From: Marc Kleine-Budde To: Stefan =?utf-8?B?TcOkdGpl?= Cc: linux-can@vger.kernel.org, Wolfgang Grandegger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/4] can: esd: add support for esd GmbH PCIe/402 CAN interface Message-ID: <20220202122136.nmrza36tfqb6zfh6@pengutronix.de> References: <20211201220328.3079270-1-stefan.maetje@esd.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fhgf3yvjppidpmlv" Content-Disposition: inline In-Reply-To: <20211201220328.3079270-1-stefan.maetje@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fhgf3yvjppidpmlv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 01.12.2021 23:03:24, Stefan M=C3=A4tje wrote: > The purpose of this patch is to introduce a new CAN driver to support > the esd GmbH 402 family of CAN interface boards. The hardware design > is based on a CAN controller implemented in a FPGA attached to a > PCIe link. >=20 > More information on these boards can be found following the links > included in the commit message. >=20 > This patch supports all boards but will operate the CAN-FD capable > boards only in Classic-CAN mode. The CAN-FD support will be added > when the initial patch has stabilized. >=20 > The patch is reuses the previous work of my former colleague: > Link: https://lore.kernel.org/linux-can/1426592308-23817-1-git-send-email= -thomas.koerper@esd.eu/ >=20 > *Note*: scripts/checkpatch.pl still emits the following warnings: > - esd_402_pci-core.c:270: Possible unnecessary 'out of memory' message > This error message is there to tell the user that the DMA allocation > failed and not an allocation for normal kernel memory. > - esdacc.h:255: The irq_cnt pointer is still declared volatile and > this has a reason and is explained in detail in the header > referencing the exception noted in volatile-considered-harmful.rst. I think you can use READ_ONCE() instead of the volatile. 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 | --fhgf3yvjppidpmlv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmH6d00ACgkQrX5LkNig 010MYwf/anJrAUZWGxxmww7+YQW3Wo3HGQ97tBtPfQxkrhr2y+vRkrksvbqGPFkN U8XILWMYZs1LIZfGsOVgSpLeQyF0kE8XDMyTshNkQ1edN/1EX+SVMqn366RBIA2+ f3J7FkRYIvru8QoggP/K2bTITR0jI6o/5kNscAXfpWJB+kQElots345EFM0K1Bq5 Ajd1mzlvagLvI+p0I736cfpYkrrO9xVNo76OLC1qj+VqfVavCmKQeGEbK+JadyUJ uhEWtRfxmBLfI4A2+gA6kZvwhb8GQGlbmswdG7rrlpDmDZZ5neNYEURAMJ71fWWx 2wvTy6p383k+phq+0fHKUrWW2rZAFg== =l77b -----END PGP SIGNATURE----- --fhgf3yvjppidpmlv--