Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4950487iog; Wed, 22 Jun 2022 08:54:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slZVT69ZxG60T/+rmzOT1uFB0xKov0PQAOB+Kx9FudpSLUSObVBVwZsnf+uKP6s0aLIx+P X-Received: by 2002:a05:6402:388c:b0:435:548c:177e with SMTP id fd12-20020a056402388c00b00435548c177emr4896036edb.231.1655913285354; Wed, 22 Jun 2022 08:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655913285; cv=none; d=google.com; s=arc-20160816; b=F7bhi/HxDs2IDSYMkioAvY7Y8KqHlpR4A1sdQ8qH8cNKd5jG1q6efAPAlFHrJXABVi LZcRNWmSPlrB7U/obFwoeCc2yzUdk9CsltLcK5TgtMM0MoAWfSfQ5lrPT72kqVO4NGpo HLxjEJZtPHER2aGukHKj0W2rRtTPtQH5yExLoiIM+SA+TGtEQ7JpTvNdOrAq56+MEg7g KG3LNKatboeB4JtXHFU8LbOrwX/hASAIhX8Vpd8fTT0G1XIDzUziVqDnsdn2KVYOVL9+ OIRTRn/zAeUlKITnBX3BgEzVOTBGa6NWuZO5PoaYNAICNTLkMpfSMTFj4cwNNGhtZiyS crNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ot619CPCB+Os3Ma2zzaC2EQcVEWPZ51BE3CwtG6/D/Y=; b=abi8bBVs22VzkwA8ojn/o/hT96FjgYoKDfBBhX9qnT0MFZPK6JckWdsbFh61nZOp+a feJjf3e5NtLV3808gWltI0y3Dstjysf0e6I3CVOVsp53r5JoVV2Gz044HBTpdt6M0LeT orxaRC1au7uSRrPPtDFF7tKwPJsUk/qbUOVgP3TeCT5vC3a9VU2jej2lB02HmmQr/CrF DMg9i9A5SNLctqs0kUuezYTK7izRo2hER3sfqRuEIoLsNc39bgbZLe3hwczTfNn48fU+ UVdG98ExlXObu9+up3Ce6qLGFtxT9ewQRTt2XSbbSSszWGT91lx64BY0UHBXjqQz+wSF qi4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=gRu32UY4; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j17-20020a05640211d100b00435a62d35b7si3702708edw.117.2022.06.22.08.54.18; Wed, 22 Jun 2022 08:54:45 -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=@semihalf.com header.s=google header.b=gRu32UY4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356636AbiFVPAu (ORCPT + 99 others); Wed, 22 Jun 2022 11:00:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358889AbiFVPAj (ORCPT ); Wed, 22 Jun 2022 11:00:39 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3F4C3E0F2 for ; Wed, 22 Jun 2022 08:00:36 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id j21so15165113lfe.1 for ; Wed, 22 Jun 2022 08:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ot619CPCB+Os3Ma2zzaC2EQcVEWPZ51BE3CwtG6/D/Y=; b=gRu32UY4Bm+ZmXkImTLAi5ks8x/VhZVMF8bm+1iriWv6IAOvsztz8SZ5nCBkLf3OJC tEQATuW6ysvNT0R5+g9gUZE3620Ht5OUsTXDyM754PAv+hP+6JDy0G1su/lus37M4Ghg qrBXbP2NCP/uwxDro5K2norKo3vMsCfN6HVtt3obD1OjDmqMSrM96ylCuv30zFpjUXR5 ZHXBZXhcKgXRmX85r87v18m/Uep6tkd3spwYispgbXxpmdfcaRkiZELWD8TXE/EUb4Vh 6jzc74qipm2b+UVw2vKoZFN0Ghtg4qw7395UG3glEG1IXM3QipBxVgdgmUdGtGN3FNdY 3uzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ot619CPCB+Os3Ma2zzaC2EQcVEWPZ51BE3CwtG6/D/Y=; b=ibbd7tfjJs3rwjC0ZsoArdMxKSSugYDYBFtUM9yKJ0MxUex1RayndaRbYR2oOPSRV+ DJk9xeX2269+RqnQReyacwXzdl51m45IbJCCbusX887BuQ87TYqP2OXSTVjnz5cVpcIr Q+Htch8Gxo4+9FMBHPngMU+m0h/3yZsm8ygCo8CoPbAD06Yx1dKOxh9Q+kAxUf/K1FR2 ZK8S7819MhWPf9sV1VzLKdryoSyf7TMbhqnR/lKGCAlgJQzy4F4PVvF46tqS3wryWOJ9 hmsM5NXNFtPFbtusgdbFdO60ujNQ0dhaTSscE7MGfMRUIfns1QfKpjbDAb6zp9xdnwFR zHMw== X-Gm-Message-State: AJIora/FxJwH7RB+eSITifH30lZEytkvkZAc4v46+5O+cdZBwRVsp2ch Qn84ZZa3MtLvqlgsFzHSr1LDfePJlmuZncnMjjTKZg== X-Received: by 2002:a05:6512:3090:b0:47f:60f8:31d6 with SMTP id z16-20020a056512309000b0047f60f831d6mr2454957lfd.514.1655910033821; Wed, 22 Jun 2022 08:00:33 -0700 (PDT) MIME-Version: 1.0 References: <20220620150225.1307946-1-mw@semihalf.com> <20220620150225.1307946-10-mw@semihalf.com> In-Reply-To: From: Marcin Wojtas Date: Wed, 22 Jun 2022 17:00:21 +0200 Message-ID: Subject: Re: [net-next: PATCH 09/12] Documentation: ACPI: DSD: introduce DSA description To: Andy Shevchenko Cc: Andrew Lunn , Linux Kernel Mailing List , ACPI Devel Maling List , netdev , "Rafael J. Wysocki" , Len Brown , vivien.didelot@gmail.com, Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , pabeni@redhat.com, Russell King - ARM Linux , Heiner Kallweit , Grzegorz Bernacki , Grzegorz Jaszczyk , Tomasz Nowicki , Samer El-Haj-Mahmoud , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 =C5=9Br., 22 cze 2022 o 16:20 Andy Shevchenko napisa=C5=82(a): > > On Wed, Jun 22, 2022 at 01:22:15PM +0200, Andrew Lunn wrote: > > > > It's not device on MDIO bus, but the MDIO controller's register its= elf > > > > (this _CSR belongs to the parent, subnodes do not refer to it in an= y > > > > way). The child device requires only _ADR (or whatever else is need= ed > > > > for the case the DSA device is attached to SPI/I2C controllers). > > > > > > More and more the idea of standardizing the MDIOSerialBus() resource = looks > > > plausible. The _ADR() usage is a bit grey area in ACPI specification.= Maybe > > > someone can also make it descriptive, so Microsoft and others won't u= tilize > > > _ADR() in any level of weirdness. > > > > I don't know if it makes any difference, but there are two protocols > > spoken over MDIO, c22 and c45, specified in clause 22 and clause 45 of > > the 802.3 specification. In some conditions, you need to specify which > > protocol to speak to a device at a particular address. In DT we > > indicate this with the compatible string, when maybe it should really > > be considered as an extension of the address. > > > > If somebody does produce a draft for MDIOSerialBus() i'm happy to > > review it. > > I also can review it. Marcin, would it be hard for you to prepare a forma= l > proposal for ACPI specification? > I've just consulted this to get an understanding of the process. * I will initiate it with the code-first ECR using the linux-acpi mailing list, where all the technical review will take place. * At the same time a ticket and the formal process for this will be triggered within UEFI Forum. * Once everything gets approved, an official confirmation will be provided and from that moment, it would allow us to proceed with implementation without need of waiting months for another ACPI Specification release. Unless anyone objects, I will include this thread recipients to take part in review of the proposed MDIOSerialBus _CRS resource macro contents, so it contains all relevant information. Note: Once this hopefully gets accepted one day and allow us proceed with Linux handling, it should be easy to satisfy backward compatibility with current users of MDIO+PHY in ACPI. Best regards, Marcin