Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2209912iof; Tue, 7 Jun 2022 23:17:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx84ODsIecmGH77exvf1DRvKoq1d2wK6f9UgQaT+4RrJIGckMtsp5XrGowaPMxNoG3Gw4mN X-Received: by 2002:a17:902:e845:b0:163:ebca:a026 with SMTP id t5-20020a170902e84500b00163ebcaa026mr32380506plg.40.1654669058973; Tue, 07 Jun 2022 23:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654669058; cv=none; d=google.com; s=arc-20160816; b=czwUqQ5rnkMDFoOpfWiqJs3SxlJJ7/EY0exQI6gIEiHS99asGkuLVGmzfFIuTtW9PB +c/EMGwFNSVHEVKogwaSjvnj2SEnrtDhm0CqF3i+eSrEGbgtrh2ecgCAZIxl4GGwNudO AbWDwXQZuvutNxkopbzDqAZe0rtt937v3wL4GoQK1hOVN3fkguESvLPWqMYY/OPHvXmI rLVeJuw0N2hnUYTIq/A1fcSmPoau/PzUxSTAMRreSbVA/W0u7nZB+1LEImiGKSG+QK1G 2DMXLbrWkewAJQTvjAqNojtZ4l2/wqSMhY8J+9CjOabLSZf56g4dYw8mmyFkJPE649Jr Zppw== 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 :dkim-signature; bh=Mf4gKx1FL8+LqeDBEQM65zeCoMPW85nB54py5rvJS3g=; b=iEz0gwnapscK3cSGMBZbRd/+oOYcUawcQBZTG/INTx0Vh54sJJir0RUG46ZJOM17Lp UWDiVqUlp9+nsmLv1LSmB/+cP11gfPMnPSDyWNUovnwM+ngb7OSH5dGGfp8ocDUREawa yNLiTnK/rvjVx2xwnjuPNTO3VUSSKt4JjeMGiX2olwt2orUgRYkRoXwytv0fq60TpYxI KBgyDqEFZTBS94eAbCX1bMNeErwKZrB9o6HHE1b685uQ5TXYrofqDPugysLhR8xgpRZf nytsKZHIaU+Z6dsHFBMFjZm2XUQGH1SVez0XkKb7eHA4NDzbgdvz+jBfZXZLDtsKX7/L Y6bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JR+ziHpe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l19-20020a17090a599300b001e270b50269si25212970pji.104.2022.06.07.23.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:17:38 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JR+ziHpe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6C30745A9F6; Tue, 7 Jun 2022 22:38:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383010AbiFHBxk (ORCPT + 99 others); Tue, 7 Jun 2022 21:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1583049AbiFGXqD (ORCPT ); Tue, 7 Jun 2022 19:46:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4DEB195941; Tue, 7 Jun 2022 15:06:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3C06861944; Tue, 7 Jun 2022 22:06:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68697C385A2; Tue, 7 Jun 2022 22:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654639575; bh=YH+P3LYLx7Tm2PJ2F4edHaCG/gLgDOCPlgGr94QeaIg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JR+ziHpeN4WpMxBhyffqFam49asBgk7MouOL1vukNrcH+Jc0y9z6zNGDlNBV/qt5S jNyi0Ic2txl+7f7lNUx3qpsm2rMq1NXeRlBxUCdHSdQDjJ+9yZq/QeZLJFGvs+Q4RW Vx+L6IvhdxQ9h92F+5f+h7mpeaC05c9h3mVtSjt+VLn9ZLzaVRAekmsl+RJA7NPxV8 8ud99o86zF6OTm5nMLqM6vEttoqCRX5rHaYPm7GOSCpf50glg4DECmvIAeWzWRs5VJ K6eY2Can6ndeT9AP8RqhnLtauzSAlIAfEzEL6OKnped28nkV7Wxq9TvLPd9ZceKEjZ A8FWQ57Gss5fQ== Date: Tue, 7 Jun 2022 15:06:14 -0700 From: Jakub Kicinski To: Max Staudt 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: <20220607150614.6248c504@kernel.org> In-Reply-To: <20220607182216.5fb1084e.max@enpas.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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 On Tue, 7 Jun 2022 18:22:16 +0200 Max Staudt wrote: > > Honestly, I am totally happy to have the "default y" tag, the "if > > unsure, say Y" comment and the "select CAN_RX_OFFLOAD" all together. > > > > Unless I am violating some kind of best practices, I prefer to keep it > > as-is. Hope this makes sense. AFAIU Linus likes for everything that results in code being added to the kernel to default to n. If the drivers hard-select that Kconfig why bother user with the question at all? My understanding is that Linus also likes to keep Kconfig as simple as possible. > I wholeheartedly agree with Vincent's decision. > > One example case would be users of my can327 driver, as long as it is > not upstream yet. They need to have RX_OFFLOAD built into their > distribution's can_dev.ko, otherwise they will have no choice but to > build their own kernel. Upstream mentioning out-of-tree modules may have the opposite effect to what you intend :( Forgive my ignorance, what's the reason to keep the driver out of tree?