Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4626353iog; Wed, 22 Jun 2022 02:37:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s5AzcPBtOfRMDbUw1o4KE2NWJHGORcmMy1134kVWzwf88ER85buuF4BTbXQS6ogc8VmWtK X-Received: by 2002:a17:90b:794:b0:1ec:c760:5736 with SMTP id l20-20020a17090b079400b001ecc7605736mr2750178pjz.241.1655890625254; Wed, 22 Jun 2022 02:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655890625; cv=none; d=google.com; s=arc-20160816; b=cRkYuLahkd5FG3B3lvyTNVgbqMUIK+uQDO3JDsMRBhuMiSncbDPVRKjRQVEEFzfReW aBLu7H7Knm77mRGsfvzzY3yvj71L0vJwhXiWQkUKIg2MGvlml1yEbIx9sjXAWBBEIDz3 Le280GhMHeZsmP8SsPs24YhAUlMlf4ZFdp3Jo29SOzcQHBskS5NnzZptRnt0pV+7NFDa RzHUG4k2MyDL3s+I5rctiAr7FIVHiyL+9NssJRcwbtU4H5jNez64SAgz77Zu0VXvDbu9 kUi29ckKKmOFteZEwdyGBtnP04MRXKfQNnJ00/LmZIxlF0U3c5Me6JXSaLHkOvIUQJ7e Cb4Q== 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=zwKGgI8hUtI5va3wPSJUOFhw3ATUoJSW/f2ATiDG5G8=; b=R6jeTPj11qcu2zIrJQYOnC7O0wktWNel/EudGtZSP+Q2OD4MMke07W+0zo6lA5Gx9A NTzaQPGQavoG1Mqiey4dIzehOkQ0h+lT4K/ioew7kURdlpbVmKoOyvom0SFBCo+3zP5z 4eGbFSTlV2peJ6n6t5u6r9joB+IabNYgPF6BD5A7ZVKv41jK+2zyDTcmXLbunvlAcO5X PGvO2X7QQX72/XDZkdHmfeHpBt56xFIaoRxx9s3hfj7jEkkAWIx9N0lWbRHhaDwAaXGu 9eS+w/5PGB2lk5FRm8M0QEc6ukJorukEAHTB7Br8fHp3OTMU2qb39g79EF1nO1L5opG/ i9bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=rC3FBYLi; 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 f8-20020a635548000000b00401a9bb8a13si21364030pgm.685.2022.06.22.02.36.51; Wed, 22 Jun 2022 02:37:05 -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=rC3FBYLi; 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 S1357353AbiFVJKQ (ORCPT + 99 others); Wed, 22 Jun 2022 05:10:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357155AbiFVJJs (ORCPT ); Wed, 22 Jun 2022 05:09:48 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316693982A for ; Wed, 22 Jun 2022 02:08:27 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id a11so9765717ljb.5 for ; Wed, 22 Jun 2022 02:08:26 -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=zwKGgI8hUtI5va3wPSJUOFhw3ATUoJSW/f2ATiDG5G8=; b=rC3FBYLiX6fFBi3tbH92J9KqPuX18ZzM5T8F13vXIgHu3hsGX37Z03/fxQylAI6yfA MQTCWxqUpfSIRR4FO6BjxmvHCrYalH60w96MIwV4KvKGe/+B6pUczm0B7GMoU/NWAi4x yvqBf0JNCu8CwmKXRFFKsUPymQw7O4YY+aZAOuZuIZECeZUUIv4CJ8kKMA88SresY7nM 7yuw2v97f29OQR42dKHO8Sdd9aAOjbZr/Rpc+CqiOgyue3Tc3evAH+U5aeFCEiVZX4m/ umuY20P2RQDQN3eClcw8KSZm9HIWxAYN0lrZHjZOxUGVjxOEcYMJTJxiOIeRA1K+eI8L PGgA== 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=zwKGgI8hUtI5va3wPSJUOFhw3ATUoJSW/f2ATiDG5G8=; b=2e4DNlsJ4sHEu/EuTwnfMXIThY0197aX83C8G0w0AVoJHWVEsMPYTTuiL3JAVPCiJo jh5eegr2mYVcLdZT+u7Ld4BuTYmYmLrqMWITTcH9oWW4MFerX+cJxH9KXxgXkprbr2UU m4gfUzB+IYg0qxPyOZ1ortbzUNAcNDt/SQtQTrJYDgHVjBzIp0D+raHt2yMp72AaYJFS wd4Z6Eo7ygMzRBLew3JuPHzFEcBpEBNsi+FYJqKSFHFOAOtPe5k5Sy7wQoGrBXor3RXu ajXCh+mJH94aZOi8+cT1qYRCqEXP1vFi6q3yFgXGaOZs3+SlygZ3KPUjkWaVhRNNZBFM 94pA== X-Gm-Message-State: AJIora8fEXw8anMPDaqXq2GPKfkMo7bBjOtFaLwJ7CYeM8WOC2UiRZN3 T8nwvbzW1hEf4ojHD+7QcjEVF7atYgUN1NaaU6Re7A== X-Received: by 2002:a2e:bf05:0:b0:247:b233:cfba with SMTP id c5-20020a2ebf05000000b00247b233cfbamr1255843ljr.131.1655888905245; Wed, 22 Jun 2022 02:08:25 -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 11:08:13 +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=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 wt., 21 cze 2022 o 13:42 Andy Shevchenko napisa=C5=82(a): > > On Tue, Jun 21, 2022 at 01:18:38PM +0200, Andrew Lunn wrote: > > On Tue, Jun 21, 2022 at 02:09:14PM +0300, Andy Shevchenko wrote: > > > On Mon, Jun 20, 2022 at 09:47:31PM +0200, Andrew Lunn wrote: > > ... > > > > > > + Name (_CRS, ResourceTemplate () > > > > > + { > > > > > + Memory32Fixed (ReadWrite, > > > > > + 0xf212a200, > > > > > + 0x00000010, > > > > > > > > What do these magic numbers mean? > > > > > > Address + Length, it's all described in the ACPI specification. > > > > The address+plus length of what? This device is on an MDIO bus. As > > such, there is no memory! It probably makes sense to somebody who > > knows ACPI, but to me i have no idea what it means. > > I see what you mean. Honestly I dunno what the device this description is= for. > For the DSA that's behind MDIO bus? Then it's definitely makes no sense a= nd > MDIOSerialBus() resources type is what would be good to have in ACPI > specification. > It's not device on MDIO bus, but the MDIO controller's register itself (this _CSR belongs to the parent, subnodes do not refer to it in any way). The child device requires only _ADR (or whatever else is needed for the case the DSA device is attached to SPI/I2C controllers). Best regards, Marcin