Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp80265iof; Sun, 5 Jun 2022 21:44:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLNazeMs+Ww3UHxbshw04K6Mpz4sZomjI1G6vAjMZlit7DVP7+Ll440huhNH6QQ1oH05v/ X-Received: by 2002:a17:902:db06:b0:166:42b5:c827 with SMTP id m6-20020a170902db0600b0016642b5c827mr20173596plx.145.1654490682800; Sun, 05 Jun 2022 21:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654490682; cv=none; d=google.com; s=arc-20160816; b=dDcOhjkcsmi3PksPnvci+8+/LnfN/M8J6oDESZYobwOmaVtouBkeFDPWiMsJpy+poy ii0O1MDuMkSV3G8L2NOZsr6FGmtbyT1Vh6S6WIBHATvlZH7bs01vsMeJntbq+z1Bmcgp qoB/ZF0YzxqAgEp3PoHeugtPV1BBAIrmCBuVDi8P+Ni8TUsjThFMn1rHaESgr0gWElUK SLvgjo/R/WZujlj/u5R0KQMjZJqRm466snFl4zlNmaFC08dCOEITQpmJBFHHHM7kOZ58 VzQ2aLOs7NQdJV+B+9UKU9ZtO1aYYlSGXBuHOC90PTiKUG+Ae+uyJDq/dqMSMtbckc52 63cQ== 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=3dKh+AhPkoT4TbjhumzWfubAk9sISCZYb9BlZYvqGfw=; b=Aqa2chApVcU1ys1/aOvwZMLmoYfn9SnU4we0TvlcBxdxZ7+Dy0VX+Pj29CTuWIReIz Ktf4/pWtspviX8KSNR6jcwYnF56DkXArumk1mvXhJnbg2m2LtK+H2FZLWAkrGdgmcZPC zKM0CGvO9t2JvhH8OXVFuK9Um4Saya1LRs2yhd0XvU+gTo+5a8QXaGF3rzJGF0Ra6tUn cSe3AojxT9o/kpaZbkHIzETI9d9EtRA+KNcSAozo8RQZP/6kWm8VgZUKxoQzFu4IXP2/ 3hKoGTIADSIVZBhgcmiB7epwQXR70cKR5t3R/ItSX7B9VlsFGNeLBoHpinIKKRMwp3Im xUWg== 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 s6-20020a17090302c600b00165bb998d85si21384717plk.619.2022.06.05.21.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:44:42 -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 3FCA713D59; Sun, 5 Jun 2022 21:02:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346308AbiFERXx (ORCPT + 99 others); Sun, 5 Jun 2022 13:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232266AbiFERXw (ORCPT ); Sun, 5 Jun 2022 13:23:52 -0400 Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61AE818344; Sun, 5 Jun 2022 10:23:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id 6102B10002E; Sun, 5 Jun 2022 17:23:49 +0000 (UTC) Date: Sun, 5 Jun 2022 19:23:47 +0200 From: Max Staudt To: Vincent Mailhol Cc: Marc Kleine-Budde , 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: <20220605192347.518c4b3c.max@enpas.org> In-Reply-To: <20220604163000.211077-1-mailhol.vincent@wanadoo.fr> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220604163000.211077-1-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 Thanks Vincent for this cleanup! Since I am upstreaming a driver that may (?) not fit the proposed structure, one question below. On Sun, 5 Jun 2022 01:29:53 +0900 Vincent Mailhol wrote: > * menu after this series * > > 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) 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? Is it really just a split by features used in drivers, and no longer a split by virtual/real? Max