Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3112793iog; Mon, 20 Jun 2022 11:35:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqruzm8IkAE8icTLz598K92V0RinkmIkuVCyrpASscpOWwuWEdq06u4btbasl5RuvRnBIx X-Received: by 2002:a05:6a00:139f:b0:51b:e21f:b72 with SMTP id t31-20020a056a00139f00b0051be21f0b72mr26192314pfg.75.1655750126693; Mon, 20 Jun 2022 11:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655750126; cv=none; d=google.com; s=arc-20160816; b=T2Ow1WgQKS3nHuCv56g+lWvh4jfXrg1PgkJOiOZp3aZPEkosearkeLdk7rAlgnFnhB r2GSob/Ysyj3a/g7eEzOBlhECWG+guiTs/jrZImsjl/yKdayxlSMJPFeJgMO600tkS7b 95IvbzZJOU4+zUJdo6qtS7d+SD+qjgKkoLO3qUoLA06mPJOgQmQgg/BmDE7/4UdN/z9Q MHc8Svgb1sDfgW8iM1tJprsA/59DiYAsWet8xUJ/QTxbxfeRSfT02J3J98aKFrCKavjS Sj9DOG6EiFxxIyjdvStb4JmAcNfdAWjkxLeAP4njni4HemVNSfCSgiZE4PzdtKW7WpOr KZaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6rktWTU5ghym/bB3U4fM8yxqI4ualT8pLP6yrHYcUkk=; b=xBxtjUOVPjhJIBTHgCmuKy8DyIk480jmmj4a8b6xNmDU/9KNJ0Q1PVjyySm4cvz+/v CK4D7Eri2gfBM5C0lm9JUZpqjnq8wTZbg1g7ZcojTnna/SvK5iQ2DMrNpQ3CokU7aH1Q LkbhIIFwRyDfajuN0HNz8iHFYyoqtgsgkcxE+z3iGVrd0KTrtzjF9l2Tehi+nHX8F+X8 vuTvx51lVaXFHSxra0vY80vJO85xGbzjyD3kO5VFuPPPI2c+kUPc0ogRZbyh27ktRQVf MkHF0ZLBKPDhIvqoheOAqzTQfblPQARzOJNg+wcSEwFH7aUSpw1LmbkKJL9zfrTJAeCL VzmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mMGwrsA2; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay37-20020a056a00302500b0051c2ecc7b79si16486815pfb.230.2022.06.20.11.35.14; Mon, 20 Jun 2022 11:35:26 -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=@intel.com header.s=Intel header.b=mMGwrsA2; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245007AbiFTSHo (ORCPT + 99 others); Mon, 20 Jun 2022 14:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235843AbiFTSHl (ORCPT ); Mon, 20 Jun 2022 14:07:41 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1DF71AF12; Mon, 20 Jun 2022 11:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655748460; x=1687284460; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V2Y1OsymaqXh6H8ZokKMogdPMxoHJLdSFNWGHhHBF84=; b=mMGwrsA2WtqByT5k/6uvvOAjoBXSO/ALj5256zUheEfnjGgIX1dMjvf3 6rW7GeulCkOnnzHjW13GThwAGHlCp24JzZXysJc+mifcQzNlJ5YveJbPU CJzjYICrFc0HkfO/pualVDZ15fP6SMwTHZCwEj/3Yg4KV/viX0oFjZ/JL ZmsPVxAescwU1mdFs0sPtLg/h6sIHYr/Dd6UHgBV4InXGTsqHoN/8yBX0 2W29D+iHlCdWfjx9U8jRkobm5pUQEUwKsdjZATXnMzCbmX9181g0Fxsqc sGLMmcFRDoEUm4/7YuIqv8LuFobNg4qZCMVlEj3qE+d+xEGI75UH9nrdn g==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="280000453" X-IronPort-AV: E=Sophos;i="5.92,207,1650956400"; d="scan'208";a="280000453" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 11:07:40 -0700 X-IronPort-AV: E=Sophos;i="5.92,207,1650956400"; d="scan'208";a="654784928" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 11:07:36 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1o3LoC-000kbK-Uk; Mon, 20 Jun 2022 21:07:32 +0300 Date: Mon, 20 Jun 2022 21:07:32 +0300 From: Andy Shevchenko To: Andrew Lunn Cc: Marcin Wojtas , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org, rafael@kernel.org, lenb@kernel.org, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, hkallweit1@gmail.com, gjb@semihalf.com, jaz@semihalf.com, tn@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, upstream@semihalf.com Subject: Re: [net-next: PATCH 00/12] ACPI support for DSA Message-ID: References: <20220620150225.1307946-1-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Jun 20, 2022 at 07:55:44PM +0200, Andrew Lunn wrote: > On Mon, Jun 20, 2022 at 05:02:13PM +0200, Marcin Wojtas wrote: ... > > It turned out that without much hassle it is possible to describe > > DSA-compliant switches as child devices of the MDIO busses, which are > > responsible for their enumeration based on the standard _ADR fields and > > description in _DSD objects under 'device properties' UUID [1]. > > No surprises there. That is how the DT binding works. And the current > ACPI concept is basically DT in different words. Maybe the more > important question is, is rewording DT in ACPI the correct approach, > or should you bo doing a more native ACPI implementation? I cannot > answer that, you need to ask the ACPI maintainers. You beat me up to this. I also was about to mention that the problem with such conversions (like this series does) is not in the code. It's simplest part. The problem is bindings and how you get them to be a standard (at least de facto). > > Note that for now cascade topology remains unsupported in ACPI world > > (based on "dsa" label and "link" property values). It seems to be feasible, > > but would extend this patchset due to necessity of of_phandle_iterator > > migration to fwnode_. Leave it as a possible future step. > > We really do need to ensure this is possible. You are setting an ABI > here, which everybody else in the ACPI world needs to follow. Cascaded > switches is fundamental to DSA, it is the D in DSA. So i would prefer > that you at least define and document the binding for D in DSA and get > it sanity checked by the ACPI people. -- With Best Regards, Andy Shevchenko