Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp144677iob; Tue, 17 May 2022 21:45:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTJpCNzTrSoa7z34YNkgpZyp4Db/iO9UaH6Fh5noyHoDpKydmAmq/KRyjx0C/qBYcHU78+ X-Received: by 2002:a17:902:e883:b0:15e:bfbc:1a53 with SMTP id w3-20020a170902e88300b0015ebfbc1a53mr25980212plg.62.1652849147880; Tue, 17 May 2022 21:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652849147; cv=none; d=google.com; s=arc-20160816; b=v2sqUP7Cw59W+M287T0u5jSsaGkQX5bHSYKkR+wQgvGNfnU7TefF/wO7yjUQInr0r9 YWPel1aFI8UkSLAPx/S94ADLPcDem6dD4YkSBLIJeGXcOQ9KHPAfwU3Pdud99L161FB3 bfgURaIOJoi6fmG3+wTYi/YC7i1CWbql2YgN02A4ROkN07ydqpQJotU5hIaVThG/7CQE XjhyJE8MWYy5QNIb4Yvl6MshJ9wEAqaHHx+ziJnbGL1dOFQYUuLBi7PkQgf4/SvkO5th 9omys6svckPXPwX4eLqNrpF2OcT/Zl/2J7mXMp0Chk/93dTWhWcvwW7b2D58AtdN5VXx TxMQ== 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=4BSdfi8ELVcT5HKKe5njj1IWX4bB74q4VMalBz7Libo=; b=Jrsrxesnblh9AptV/vKjwzaGTepmG0X+C1YcPQrND7+mGsmvmIJbvAGrAFxbKKIugA X2MsDOTHqzUJqdkfzIHqEbhebhd2IaR8xaLiPE+krttIRs9T9JTiVyUeS6kXvpqpJN4s sjRPAY1qtX4Dj0sH3NfLLQqssi75407Cfku2lPMK36z7S1PQVZt/Ld0KFzDcJFgfA3yr 1oknIpOlZBrJuvtD0l8CXtKDlykQGhTnL4TeTecNBQGIdFUb8alyy8zHdqhYLNz++gF8 ORrJ4LG6CAcntKcAz+rVss26Jvnoni9dCkdlC0lveAEyWUKVwMcPrvW/2uWsMG/6N5OL M0vg== 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 f32-20020a635560000000b003c642cc815csi1218516pgm.15.2022.05.17.21.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:45:47 -0700 (PDT) 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 11E01F1341; Tue, 17 May 2022 20:57:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348857AbiEQOXm (ORCPT + 99 others); Tue, 17 May 2022 10:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348851AbiEQOXg (ORCPT ); Tue, 17 May 2022 10:23:36 -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 1FBAF4F9F9 for ; Tue, 17 May 2022 07:23:35 -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 1nqy6m-00080b-IX; Tue, 17 May 2022 16:23:32 +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 6513E8072E; Tue, 17 May 2022 14:23:31 +0000 (UTC) Date: Tue, 17 May 2022 16:23:30 +0200 From: Marc Kleine-Budde To: Max Staudt Cc: Oliver Hartkopp , Vincent MAILHOL , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 3/4] can: skb:: move can_dropped_invalid_skb and can_skb_headroom_valid to skb.c Message-ID: <20220517142330.vm7jqoe6i63ryqtc@pengutronix.de> References: <20220517060821.akuqbqxro34tj7x6@pengutronix.de> <20220517104545.eslountqjppvcnz2@pengutronix.de> <20220517141404.578d188a.max@enpas.org> <20220517122153.4r6n6kkbdslsa2hv@pengutronix.de> <20220517143921.08458f2c.max@enpas.org> <0b505b1f-1ee4-5a2c-3bbf-6e9822f78817@hartkopp.net> <20220517154301.5bf99ba9.max@enpas.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tgwfqoi623ckzpip" Content-Disposition: inline In-Reply-To: <20220517154301.5bf99ba9.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 --tgwfqoi623ckzpip Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 17.05.2022 15:43:01, Max Staudt wrote: > > Oh, I didn't want to introduce two new kernel modules but to have=20 > > can_dev in different 'feature levels'. >=20 > Which I agree is a nice idea, as long as heisenbugs can be avoided :) >=20 > (as for the separate modules vs. feature levels of can-dev - sorry, my > two paragraphs were each referring to a different idea. I mixed them > into one single email...) >=20 > Maybe the can-skb and rx-offload parts could be a *visible* sub-option > of can-dev in Kconfig, which is normally optional, but immediately > force-selected once a CAN HW driver is selected? In the ctucanfd driver we made the base driver "invisible" if COMPILE_TEST is not selected: | config CAN_CTUCANFD | tristate "CTU CAN-FD IP core" if COMPILE_TEST |=20 | config CAN_CTUCANFD_PCI | tristate "CTU CAN-FD IP core PCI/PCIe driver" | depends on PCI | select CAN_CTUCANFD regards, 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 | --tgwfqoi623ckzpip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmKDr+AACgkQrX5LkNig 011wSgf/RV+/tPG2xXLH0ovdmc9xiGLHdexWXlcaQGRlACwpK3TzxCdKsnf5EA/r AOx+7UogJqyoeBxO1lIm4Cqp3vclJ3i2xPjZADpGCvn+yulIZerhqOmEeerae0Bk CR+/vyCFGJIHERQOOR/B3Wum7pM1kOPHE7V+5DGJikZ59Giyq3Lnf1hAS+qP6I/8 3w/eu8cGzYLkNigVyA+BWkZLm+hx2HH2sSWYNfnxpV5m7usfG+tKI8dROxLttPpx TgMXWCjyDC63y5V0yXD/B6+TaFFGsrZCOtBgwUP6eVyVyKnxZSYlI8fd4ybY+U7W mGX8jgAz6iGHy8sukm1eRz5mUxZxJg== =WKSH -----END PGP SIGNATURE----- --tgwfqoi623ckzpip--