Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp879466pxf; Thu, 18 Mar 2021 13:55:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXl5hsQEiuKJvDRdQD9OIPSwZ8s1/nggMqPEcok5tVRCObacLddRPmr0vJKL9gz6jYM+8i X-Received: by 2002:a50:ee10:: with SMTP id g16mr5847832eds.215.1616100933196; Thu, 18 Mar 2021 13:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616100933; cv=none; d=google.com; s=arc-20160816; b=DP9gwEun89yWIOrCDcwkBN8cCjxXW4EI6gbpHbjCtcjmQaQVxl8iCFw5ukpsPZ3Kpn ea2hJXtV28YFBBXI1CEYcGcPhaW56l/z9Wu9DS6leaHdvEvEgfqYckGIM/DMNnfJ4sOy 1S0dtuwKmvfzKO1SisxnOqDka+AhaGPmrg+WWxxnxb2RuBwP1CWxtte/rxm/n5aDsyZc NJCphOg5+y/U0jOP+H16F3wGOH3wjUgWMYR/cjP46l4VA3ImOKW8sMpo9c52u8hK6Q8q GQ03bljcclv94rTSluQm+ELK6tIfCfvqzysxFNizAWU59sUTE02xKXapOUBXCAHof79H 7zlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xu+MT4bZeY0+ApzGFv0YypOVoeLAQyNVl7kjvp7xPPA=; b=MY9jhUI2YH976VH3irxjqyjRewR9dVeq0Q90HhQQzR11h1SqmvtqLHl0PVUPPhGcay 9kc37XxPZDVsP6w2yq36gVLEyx4+66SeHP079sIdwkaXpqZWo4piXf+RICf9TBIAJU/3 ajnTS1VW6+bkXbw7vtXf2V14C3YAXuri42LcHfqFiqvaV4QQrbFvIJGfQZV7DBqAkoW+ mVixj3ytYPr/cfVn0srLislJAvTEEbf7YhyFeW6a1hQacgCr0VFVTN7EPxubWQbyk4Ue Wg/bBdRLMZpE6D+onYmnjaWzFqZZ+NS+LwNhbewFCfnRR/4m9dQBiohSjO2jqACPo6ir HFoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf4si2302443edb.291.2021.03.18.13.55.10; Thu, 18 Mar 2021 13:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233020AbhCRUx3 (ORCPT + 99 others); Thu, 18 Mar 2021 16:53:29 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:35486 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbhCRUxT (ORCPT ); Thu, 18 Mar 2021 16:53:19 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lMzdq-00BkAw-SU; Thu, 18 Mar 2021 21:53:14 +0100 Date: Thu, 18 Mar 2021 21:53:14 +0100 From: Andrew Lunn To: Stefan Chulski Cc: "kuba@kernel.org" , "netdev@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "davem@davemloft.net" , Nadav Haklai , Yan Markman , "linux-kernel@vger.kernel.org" , "linux@armlinux.org.uk" , "mw@semihalf.com" , "rmk+kernel@armlinux.org.uk" , "atenart@kernel.org" , "rabeeh@solid-run.com" Subject: Re: [EXT] Re: [V2 net-next] net: mvpp2: Add reserved port private flag configuration Message-ID: References: <1615481007-16735-1-git-send-email-stefanc@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 2. CM3 code has very small footprint requirement, we cannot > implement the complete Serdes and PHY infrastructure that kernel > provides as part of CM3 application. Therefore I would like to > continue relying on kernel configuration for that. How can that work? How does Linux know when CM3 has up'ed the interface? How does CM3 know the status of the link? How does CM3 set its flow control depending on what auto-neg determines, etc? > 3. In some cases we need to dynamically switch the port "user" > between CM3 and kernel. So I would like to preserve this > functionality. And how do you synchronize between Linux and CM3 so you know how is using it and who cannot use it? Andrew