Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp133195iof; Sun, 5 Jun 2022 23:21:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3xQ/veL6FasKfMp/p1DxDCUABoGjE4ejiDjxDyduz6jzsMiY0itRTNv59udMlumbzF9St X-Received: by 2002:a17:90a:1544:b0:1e0:66c5:4080 with SMTP id y4-20020a17090a154400b001e066c54080mr59986216pja.141.1654496460222; Sun, 05 Jun 2022 23:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654496460; cv=none; d=google.com; s=arc-20160816; b=h11Gs3+hZ5npAii/7C/msTsYSPY7DUsKomMf/K6vyIyqSRmYQcPbqzAWEoWGMLl70Z P2zXj5D86JIAa5CYD4puYcz1RfdOQEILkzaie9ilfc1hSJvG+EyV1llplbPG1WFP3iIj QGoNMs7Ck20P5RYAIBUiXYI4juS7XukqYR1CYOUBdcgnbbTOyeweZFz9X8xSaZISz57B UH4Gv2Qj7ee2eisT9yi51cTpgFRIm40m/R6cP1lLAJZvs859SC4OdA5JUkm2uOUexkOV nWed1ZWSaAapM8xF1uCZZEl9vkWJIsnhkqXfX9LKxNdPPJ0C7SkhGEIAb0Zx+8M3lCuM VtMg== 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=LyVIz87dlFLiMysf30Z2qSaqAOw6xZyylU9hdC4qfwA=; b=KKa1M1zKIYiDYR+6JtciXJiskD+VKkK7h4FfZcciu4zYMBhc2ncCEJLPKEa+amotLc Lj1fdXZNtJplfEVSUAF1GDXQFf6QIbhzqU5ymmvpzisIKeMHsOXJA8pm/4f3AZWRPCqR 45kN215SvpiWGBcqLzdWFJJR2GxujWmBqXI0vBSeDg8w1BF8kVeJJ0l4ejDVNEgvBzIn lyu4N8x6t2qfdjxJTwYQ7Z0OQXJwPl1P4YUGBQpkd2Ai37Y04NhErxeciW6FuYItdjgu /alnSvuUVAeOXA+FecfTMA59RzkNffwpm0G6UfcqbCPCvQtCq+dWPKceJ+PTafOcINNx Cluw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t189-20020a6381c6000000b003fdcf4758dbsi2169762pgd.856.2022.06.05.23.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 23:21:00 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 85C3CB7162; Sun, 5 Jun 2022 22:00:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230221AbiFESGv (ORCPT + 99 others); Sun, 5 Jun 2022 14:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234573AbiFESGs (ORCPT ); Sun, 5 Jun 2022 14:06:48 -0400 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 077684CD53 for ; Sun, 5 Jun 2022 11:06:46 -0700 (PDT) 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 1nxueB-00018P-KT; Sun, 05 Jun 2022 20:06:43 +0200 Received: from pengutronix.de (unknown [IPv6:2a01:4f8:1c1c:29e9:22:41ff:fe00:1400]) (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 2C6138C90E; Sun, 5 Jun 2022 18:06:42 +0000 (UTC) Date: Sun, 5 Jun 2022 20:06:41 +0200 From: Marc Kleine-Budde To: Max Staudt Cc: Vincent Mailhol , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Oliver Hartkopp , netdev@vger.kernel.org Subject: Re: [PATCH v5 0/7] can: refactoring of can-dev module and of Kbuild Message-ID: <20220605180641.tfqyxhkkauzoz2z4@pengutronix.de> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-1-mailhol.vincent@wanadoo.fr> <20220605192347.518c4b3c.max@enpas.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uzvth7z5c2f7sh7z" Content-Disposition: inline In-Reply-To: <20220605192347.518c4b3c.max@enpas.org> 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 --uzvth7z5c2f7sh7z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05.06.2022 19:23:47, Max Staudt wrote: > Thanks Vincent for this cleanup! >=20 > Since I am upstreaming a driver that may (?) not fit the proposed > structure, one question below. >=20 >=20 > On Sun, 5 Jun 2022 01:29:53 +0900 > Vincent Mailhol wrote: >=20 > > * menu after this series * > >=20 > > Network device support > > symbol: CONFIG_NETDEVICES > > | > > +-> CAN Device Drivers > > symbol: CONFIG_CAN_DEV > > | > > +-> software/virtual CAN device drivers > > | (at time of writing: slcan, vcan, vxcan) > > | > > +-> CAN device drivers with Netlink support > > symbol: CONFIG_CAN_NETLINK (matches previous CONFIG_CAN_DEV) > > | > > +-> CAN bit-timing calculation (optional for all drivers) > > | symbol: CONFIG_CAN_BITTIMING > > | > > +-> All other CAN devices not relying on RX offload > > | > > +-> CAN rx offload > > symbol: CONFIG_CAN_RX_OFFLOAD > > | > > +-> CAN devices relying on rx offload > > (at time of writing: flexcan, m_can, mcp251xfd and > > ti_hecc) >=20 > This seemingly splits drivers into "things that speak to hardware" and > "things that don't". Except... slcan really does speak to hardware. It > just so happens to not use any of BITTIMING or RX_OFFLOAD. However, my > can327 (formerly elmcan) driver, which is an ldisc just like slcan, > *does* use RX_OFFLOAD, so where to I put it? Next to flexcan, m_can, > mcp251xfd and ti_hecc? >=20 > Is it really just a split by features used in drivers, and no longer a > split by virtual/real? We can move RX_OFFLOAD out of the "if CAN_NETLINK". Who wants to create an incremental patch against can-next/master? 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 | --uzvth7z5c2f7sh7z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmKc8K4ACgkQrX5LkNig 012CLwgArYkdw9iflio4maZcQK4hFlv7Ivz74f9VLG6EKcFAjUUUjPYCS8jGoL1/ B/WtwP9Oy+FrzAzrHUcFB+6GN2A7DB2DGlXQ62ifwY3Z3yVKUtLiZCaHn/NZFxbG 0KoCqIux1q/GOA94BMI3BoMMXa5XEwwVma75mbAHUcCxcGEDQ0VU89TBu2WBMkLR Vwf4QoT6LixRPUGlsJugv/+zsyNJXeKr/vt82ubGdaT7Jm9+YyMKjWqFDU/004uq G4BLohfyCGv82srT8XOxy5HMBbmMpQM7V1Xm0BeSyyFJ5xeU3yH4WGkS4qZ9X7Gc yeZjEonu1yDGcS0MtQ3ljcsrfHgmmw== =4/r5 -----END PGP SIGNATURE----- --uzvth7z5c2f7sh7z--