Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2223085iof; Tue, 7 Jun 2022 23:42:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcevNth2hv1M39CEHKUU+dPZCLpv8Kc5hjkzWmu5AYsRLZK5TY7ZZ+FY07/aHE4iyrpFVt X-Received: by 2002:a05:6a00:a12:b0:51b:92d7:ec55 with SMTP id p18-20020a056a000a1200b0051b92d7ec55mr41160691pfh.85.1654670523030; Tue, 07 Jun 2022 23:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654670523; cv=none; d=google.com; s=arc-20160816; b=QPpzNhJ5MoPSyWW1F1jBYVlkwN2MT63vqo5ebzPcmRUwUGGagnWn8QLGZcqsOLa87a 7+uXhSyswePCBvHYThtqzypaqwP5sV9ioZBNJJvzucxHfFrteB4B+pQy8qKrPOn9jE5C 0JiEBUbcuXWSv/K05OiRuyMwgoHjyEnJQv6+IxG4DAU/LlRbnFMvyfkFK08UGARneDWE miL5U/60dh57U2ZRpAJsxxc1Yf4e9HkMaCOLi2IFvByz6L/iZuavtBPZfEkX+IieP3zA yy//7PC6J3IZfTAITLD9OeESKRZeRJUYbxvZxPVKZB6o4TT1I1tS5dsrViGbHtIgOtMg Ev9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=ANHLMUIenbeGBphqzK+M1rmtM2ixOx4BKct/8TGWliw=; b=xNWTiuWh5ARmR2QSKqx6b9qeblC1nWY0kb6hhKY+NGjkHxjaY3K2lRV61Q7XobZHiI UjwQbVYHPa+UNUdqqDysAlhze9qFjuaihXnJLAHkuSa11OXekMF9e+Ha/HHeAoQYTmkJ blRsAT4R9bV7TxgVV3WU0OMb79LY5PqyvAOdljPL27lmwFpiqcQkqsIOdOM7JZhQCIP1 HZC3K3XQk7dXFggxI2p+i8DObQn0IPPAjx5D+RV5SLEG2nBlvTTl/LfPDDxZlrn6/BXc 5W9iQOW/xp8jMK3/Pe5BUmp5pIFTu9OWUybteaEk3WC7Ik9q4vrLkjxOg1DfN0BHwJGi 7IcQ== 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 5-20020a630d45000000b003fb238f8ea1si25921418pgn.609.2022.06.07.23.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:42:03 -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 CBB7F183146; Tue, 7 Jun 2022 23:02:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353576AbiFHCuA (ORCPT + 99 others); Tue, 7 Jun 2022 22:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447685AbiFHCmF (ORCPT ); Tue, 7 Jun 2022 22:42:05 -0400 Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1A54E197633; Tue, 7 Jun 2022 17:22:13 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id CD01CFFB6C; Wed, 8 Jun 2022 00:22:12 +0000 (UTC) Date: Wed, 8 Jun 2022 02:22:10 +0200 From: Max Staudt To: Jakub Kicinski Cc: Vincent MAILHOL , Geert Uytterhoeven , Marc Kleine-Budde , linux-can@vger.kernel.org, Linux Kernel Mailing List , Oliver Hartkopp , netdev Subject: Re: [PATCH v5 4/7] can: Kconfig: add CONFIG_CAN_RX_OFFLOAD Message-ID: <20220608022123.05f73356.max@enpas.org> In-Reply-To: <20220607171455.0a75020c@kernel.org> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-5-mailhol.vincent@wanadoo.fr> <20220607182216.5fb1084e.max@enpas.org> <20220607150614.6248c504@kernel.org> <20220608014248.6e0045ae.max@enpas.org> <20220607171455.0a75020c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 7 Jun 2022 17:14:55 -0700 Jakub Kicinski wrote: > We have a ton of "magical" / hidden Kconfigs in networking, take a > look at net/Kconfig. Quick grep, likely not very accurate but FWIW: Fair enough. Thinking about it, I've grepped my distro's kernel config for features more than just a handful of times... > > How about making RX_OFFLOAD a separate .ko file, so we don't have > > various possible versions of can_dev.ko? > > > > @Vincent, I think you suggested that some time ago, IIRC? > > > > (I know, I was against a ton of little modules, but I'm changing my > > ways here now since it seems to help...) > > A separate module wouldn't help with my objections, I don't think. In a system where the CAN stack is compiled as modules (i.e. a regular desktop distribution), the feature's presence/absence would be easily visible via the .ko file's presence/absence. Then again, I have to agree, distributing a system where RX_OFFLOAD is present, but no drivers using it whatsoever, seems... strange. I guess I got lost in my thinking there, with my out of tree development and all. Sorry for the noise. Max