Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2126270iof; Tue, 7 Jun 2022 20:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw0UPhT2mZDl8h8wGZIWwM/2TKBqyAFpag8OYDHz5zWYEomidHxM9cMsOiveJexY17uWkc X-Received: by 2002:a17:902:a404:b0:166:1f9b:c63a with SMTP id p4-20020a170902a40400b001661f9bc63amr32460846plq.26.1654659408436; Tue, 07 Jun 2022 20:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654659408; cv=none; d=google.com; s=arc-20160816; b=ldqoAJ3aCu8RW113Rbup/bE2vRRhak0Oj+3hRMv7NKll/tCKhGRmweXAHbIJeHIOPw kdF1ynL/Otbi8GcHxDAUMuL/lt23rRV3giK+MRebnhfW0Fqj/Yc88avcpuYNywfLt9Wn o81h3+r+GocAuhLKdqgryaNcLd0OjnwwNew/46q7YJQPdhVhUT+DefXLxYgWtaNHhD1y uA1sdHm/Q4/hpEh9WBh1zOknzWUud4m+e7WExXMAeY1SfTiHRKxcOQxrj3iYmw66gV0w Dp/EX35yGFEiNccbMONSk8Up5dr+lGSqFHiCWuk3s1mwZDcEXtird4Lz2/Sv/rYNG5q8 DKdQ== 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=F12DS92rD3Q+MdVmDYocXVg+P0kczb12vajsVip0rlw=; b=byagiKajNdV5QgjHLwCMv0xVGmkSxVHeF+7NbhpJrDGmdiGaMDuREejaGU+f5OErqf ULm+716m837iWKDpSZ//UOEVnH7Iu2b5WEZE155xogBxUDQvV3Tqxs3ZeAm2Mr5zU6V+ S129UI4HKqkAXsy6DwvMRonVohJTSwEmSxQa82HPhDNI4xJK0WQd0ktkkLL0GgBoSy7x TYwmknwAdP6zU2XW4pHW4V1Dv0+fmxqQJ10RE5LwtRiehN2bEEW4BIdcPedHtXPc035W CLV7qra3IlLShZV8cBYQ0Fts5odlJcih3x+Snt9w6W7XB0AqjdudX79JCTeATOo3Qgm0 RycQ== 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 nu10-20020a17090b1b0a00b001e3415b6b1dsi31968765pjb.103.2022.06.07.20.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:36:48 -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 73BF11A8E22; Tue, 7 Jun 2022 19:55:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343596AbiFGQW2 (ORCPT + 99 others); Tue, 7 Jun 2022 12:22:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243874AbiFGQWZ (ORCPT ); Tue, 7 Jun 2022 12:22:25 -0400 Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4C7821A; Tue, 7 Jun 2022 09:22:20 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id E6B03100021; Tue, 7 Jun 2022 16:22:18 +0000 (UTC) Date: Tue, 7 Jun 2022 18:22:16 +0200 From: Max Staudt To: Vincent MAILHOL Cc: 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: <20220607182216.5fb1084e.max@enpas.org> In-Reply-To: References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-5-mailhol.vincent@wanadoo.fr> 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 18:27:55 +0900 Vincent MAILHOL wrote: > Second, and regardless of the above, I really think that it makes > sense to have everything built in can-dev.ko by default. If someone > does a binary release of can-dev.ko in which the rx offload is > deactivated, end users would get really confused. > > Having a can-dev module stripped down is an expert setting. The > average user which does not need CAN can deselect CONFIG_CAN and be > happy. The average hobbyist who wants to do some CAN hacking will > activate CONFIG_CAN and will automatically have the prerequisites in > can-dev for any type of device drivers (after that just need to select > the actual device drivers). The advanced user who actually read all > the help menus will know that he should rather keep those to "yes" > throughout the "if unsure, say Y" comment. Finally, the experts can > fine tune their configuration by deselecting the pieces they did not > wish for. > > 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. 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. Max