Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2747913rwi; Fri, 21 Oct 2022 07:29:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/+LQgGbAi2MVVMeXmggy9/73nqMGxxr6Kg4eye1i2V4FX6XOMUL4p8WDc3tXberRh3Lq5 X-Received: by 2002:a63:6909:0:b0:41c:9f4f:a63c with SMTP id e9-20020a636909000000b0041c9f4fa63cmr17172396pgc.76.1666362561804; Fri, 21 Oct 2022 07:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666362561; cv=none; d=google.com; s=arc-20160816; b=S3TDsUVVdZAiroDbAqQY7T/wAMdL2fRKKjksJVk/ettz6N+wpFphMpzoK4Vvrmqo93 T1TrevRUFY5VolaiKOU/TeOi8oKMHnc5mghfcozxj7mwRVDQ8eCs104Zd+e1XNjCqafn DadHwx6dOvRT+JoLALx5UaEGe7nsrtZxs8EEw8HKPXKawT25cW2E8tbyqraPLOjzPB65 tEb77mibxqt7lJheYF+db6BQIwjNpY5I67mslxtCyHE3p2gfOmFZvb9UmvwR4L0x/kdU dYN9F0XBbaWGteMtcjxsoUO7JTnAl+8D4NjdV8H6tvLfkh8jCP2ZD9jogxW9QqwnwsRQ cnXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KSzkkxJmt+63RR1lkwGlnOxYt96Hz8plGKgcG5hGf78=; b=PTnL/WpCyyVDLacotruRMPSupelr/wFDSexv/vBHaVN3vxsmQnh5uV5TWPDcAoxgu7 Vy6pZXiOuAyQ1HFGy3TPiSGCk9E/f2ycUAJj6n2+y47JsFpSozvsFKMJI/StEkCWVBiI r6xLVyio/u0Y5EB+IsbEXmU+VLFQFXsnTocai5PngkWPC8TJ4ogAXci0CbfrLMGatKMK r6oliJtFsNaNKNWfMgZ+uR46RESY7rsy0SuFI45WThkZP2zpMW+EJg8AELRGHAj1H59F ltV+AHmB0zaJQ4PCzXSfrOmHVfqDMTuPh1FdC2FRW9WZwTdeCkY7jsKJwEAhWZ9tVCxV +jJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WC1/Vaw0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm10-20020a656e8a000000b0046afc3948c4si27364387pgb.707.2022.10.21.07.29.09; Fri, 21 Oct 2022 07:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WC1/Vaw0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230295AbiJUNik (ORCPT + 99 others); Fri, 21 Oct 2022 09:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbiJUNif (ORCPT ); Fri, 21 Oct 2022 09:38:35 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44AA52764CD for ; Fri, 21 Oct 2022 06:38:26 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id ml12so799726qvb.0 for ; Fri, 21 Oct 2022 06:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KSzkkxJmt+63RR1lkwGlnOxYt96Hz8plGKgcG5hGf78=; b=WC1/Vaw070/6Nnw2/72p0FXGDvkc/9JDDi/PrPjA/nbPPFkSpNofj5eiWG2HegS1Iu EZxINnRgbYWJPxzi6N3Htly+fhPZlnnIsk/dvkpvMSci1X7chIX34vE694cH3gNODt84 8sQNDQjRhWpYHsP3/+PnBQh41HYUwuuBCF1M0kbH5adOC8e+Ze0/smvQLB5BwQUmotee lBeGupjIoJYlCiKTMgF1bZGxotJWPOG5LEgfWRNe9NmW4KCPcGYrgyR3Mc5i0JOWQahy 8el//Z5s/Axsfk14aGPP4YsVWB+V+kgBQ8bAY07hiuQKmp7nzm57YuIi0fcftOEB9WK/ L4rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KSzkkxJmt+63RR1lkwGlnOxYt96Hz8plGKgcG5hGf78=; b=D2v8T5PqrNaOFC0U50IyN/LTzGTBVAfqbQxNQDm4pCSAVOgBdnW2MhRW/5XLg2tDY9 b59tFoz3opiQJjPYYKHKUA3/P/5lmYqrgvEbcTdmjZpfnIK0hgVamHgMH0OmXb8bfbqU KJFF8M170DgsRhTC2r0bm79poqa6TMvlq/EFgz0M6LeeV1jxr3d37Ikw85KI5uk2QJ6J 973OQHd/IMHI/x5GxVEVPDxZj6MOcNdE4Y0LebneRiWIdaKGr8CeQhx7wtUmxMHd0lMZ 7iu5WWuaCflTXeKdEXKs+YFoHeOwJPxwd9PVp+T/cccrMr7CF8KAE2ollewn4WHhKHbG YvtA== X-Gm-Message-State: ACrzQf0cYII8Xbnw2b7NRXgRb1tBD4RxjSaNbRxXImPbx/8THJ9kXkpF EdIN5VGuu4VXnuaxmTjlCR9o+Q== X-Received: by 2002:a0c:ac02:0:b0:4af:a3b1:3167 with SMTP id l2-20020a0cac02000000b004afa3b13167mr16441073qvb.66.1666359505693; Fri, 21 Oct 2022 06:38:25 -0700 (PDT) Received: from [192.168.10.124] (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id br32-20020a05620a462000b006e9b3096482sm9522021qkb.64.2022.10.21.06.38.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Oct 2022 06:38:25 -0700 (PDT) Message-ID: Date: Fri, 21 Oct 2022 09:38:23 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH net-next v5 2/5] net: ipqess: introduce the Qualcomm IPQESS driver Content-Language: en-US To: Maxime Chevallier , davem@davemloft.net, Rob Herring Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko References: <20221021124556.100445-1-maxime.chevallier@bootlin.com> <20221021124556.100445-3-maxime.chevallier@bootlin.com> From: Krzysztof Kozlowski In-Reply-To: <20221021124556.100445-3-maxime.chevallier@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 21/10/2022 08:45, Maxime Chevallier wrote: > The Qualcomm IPQESS controller is a simple 1G Ethernet controller found > on the IPQ4019 chip. This controller has some specificities, in that the > IPQ4019 platform that includes that controller also has an internal > switch, based on the QCA8K IP. Thank you for your patch. There is something to discuss/improve. > diff --git a/MAINTAINERS b/MAINTAINERS > index 5c6ce094e55e..46fdd3c523c5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -17037,6 +17037,12 @@ L: netdev@vger.kernel.org > S: Maintained > F: drivers/net/ethernet/qualcomm/emac/ > > +QUALCOMM IPQESS ETHERNET DRIVER > +M: Maxime Chevallier > +L: netdev@vger.kernel.org > +S: Maintained > +F: drivers/net/ethernet/qualcomm/ipqess/ Add also bindings. > + > QUALCOMM ETHQOS ETHERNET DRIVER > M: Vinod Koul > R: Bhupesh Sharma > diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig > index a4434eb38950..a723ddbea248 100644 > --- a/drivers/net/ethernet/qualcomm/Kconfig > +++ b/drivers/net/ethernet/qualcomm/Kconfig > @@ -60,6 +60,17 @@ config QCOM_EMAC > low power, Receive-Side Scaling (RSS), and IEEE 1588-2008 > Precision Clock Synchronization Protocol. > > +config QCOM_IPQ4019_ESS_EDMA > + tristate "Qualcomm Atheros IPQ4019 ESS EDMA support" > + depends on OF I think this is present only on systems where Qualcomm IPQ4019 SoCs is the main SoC (AP)? If so, I propose not to offer this to non-Qualcomm SoC builds, because they cannot use it and it makes life of distro-vendors configurators difficult: depends on ARCH_QCOM || COMPILE_TEST > + select PHYLINK > + help > + This driver supports the Qualcomm Atheros IPQ40xx built-in > + ESS EDMA ethernet controller. > + > + To compile this driver as a module, choose M here: the > + module will be called ipqess. > + > source "drivers/net/ethernet/qualcomm/rmnet/Kconfig" Best regards, Krzysztof