Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp743117pxj; Thu, 10 Jun 2021 11:33:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxbIAsYk5FzDIinshPbY8VY6ZDQ7u7kC0mXyJ8tMk3qz7+ilNeIOnh96ENX7NQb6pUX9XU X-Received: by 2002:aa7:d288:: with SMTP id w8mr853870edq.276.1623350025584; Thu, 10 Jun 2021 11:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623350025; cv=none; d=google.com; s=arc-20160816; b=L52ouEWpGCCGKKXrOqiALxRWh5+RjFID1l1v7eImdXCxQ6jVDGcjgEMWBsLD9FbKSV CXPnAwGjXmFdkQCQJnYiQuSdKql6idn/Ixg0kEbbAEE8O55jRjZUzOnr3m7tfojNKnEk K2bN2vB9EAFO597w5lbPeQg6uylAMHeN5BWefL0Gq4iU5N491Z/8S10DNzC2U1dB+9Bh n+JHgr+IvlBwfHnbRqRAHYnzicZhlsgqAY32PEuSfhTmD3DbeoWsUxGNtewCHZ8nkErG FwMtkxRU5zfE+xJqqJMDkNQ9jQeepr9jNi2nnNvzUx+iTHkNwKVMdA3Uu5eE9TI4YLbB pBtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=5UHeRo+PeTe+UX0jKZ5h3WsZ6XhyTgBwX+84SB07u34=; b=rrEA5OJCa1YstxdhVAcIwaxOzobQiHk4KIj54YELyAN/YnVlPOp5XnAJkP1nxWn0lN sy+HEqnFCFlM81zoKSIQCaS8d5rNAfYT38ZzTHpenBeN7+6HrdZMJ/9kuqwiNrMhO96C BN4fWxVfYEoGL+9isjeQICCNAIy+3qX7+CGDCZ2jbGj68oXWe9bHD/dbMpD7iiMh7FK/ TQ3eSNx5ugfcKZdhQVYN0N2VvqrfmuWo98+79tp1VhFin1HA0b2h577O5ihE/obXkCDu PLAD2uEXk4lM0p+KO6VhBUR1pgwKFH9jTv1f8o6zwXIurvmV/LXbHse6TptZfW/Kn9EZ t0hw== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch8si2715381edb.535.2021.06.10.11.33.22; Thu, 10 Jun 2021 11:33:45 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230280AbhFJSeB (ORCPT + 99 others); Thu, 10 Jun 2021 14:34:01 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:45782 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbhFJSeA (ORCPT ); Thu, 10 Jun 2021 14:34:00 -0400 Received: by mail-ot1-f48.google.com with SMTP id 6-20020a9d07860000b02903e83bf8f8fcso603787oto.12; Thu, 10 Jun 2021 11:31:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5UHeRo+PeTe+UX0jKZ5h3WsZ6XhyTgBwX+84SB07u34=; b=BukyVmaVIJx+UrX1FX2BCe56Tb/d+V0wd/tMBIAzMNwQnRZwkMvwY37M754PccC/d9 sG68z0dGdYWBA4isCN+VOxCVKA/v+zRJLSRDH852iZyjZmyGbw824Wc4fvt9iKqDbL0T tv+Z3EnoKigOW2Cpx1LbA4HkPOhXfPlqzAU+m+8j1Tm+38+S67f+CauTEs7s43VvJfzS 3xGrvB+vSQCq5sWdZFRrv4mhLl9gIojZbBxUxPFr3SD4uXbJr+ytLobrzCnN46eFw8+1 3h5pBcc/n3Zd1qXNVhK5OeWTw6xzDcZCkbjNbqOTyj8IJgBAF+Nfl75/EiYG8qRYJR7e ViQQ== X-Gm-Message-State: AOAM530/bXfrYHDAbOAAdk/EE78ID1aGgq3ALofrtaICf+49DNZV+tYH lthfvwZ88TDv68o7qlYipsQzuZQOd3DeVReKr2E= X-Received: by 2002:a05:6830:1bf7:: with SMTP id k23mr3646464otb.206.1623349910111; Thu, 10 Jun 2021 11:31:50 -0700 (PDT) MIME-Version: 1.0 References: <20210610163917.4138412-1-ciorneiioana@gmail.com> <20210610163917.4138412-2-ciorneiioana@gmail.com> <070d33be-8056-d54c-05c1-a13432b3167e@arm.com> In-Reply-To: <070d33be-8056-d54c-05c1-a13432b3167e@arm.com> From: "Rafael J. Wysocki" Date: Thu, 10 Jun 2021 20:31:38 +0200 Message-ID: Subject: Re: [PATCH net-next v8 01/15] Documentation: ACPI: DSD: Document MDIO PHY To: Grant Likely Cc: "Rafael J. Wysocki" , Ioana Ciornei , Jeremy Linton , Andrew Lunn , Andy Shevchenko , Florian Fainelli , Russell King - ARM Linux admin , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , Saravana Kannan , Randy Dunlap , calvin.johnson@nxp.com, Cristi Sovaiala , Florin Laurentiu Chiculita , Madalin Bucur , Linux ARM , Diana Madalina Craciun , ACPI Devel Maling List , Linux Kernel Mailing List , "linux.cj" , netdev , Laurentiu Tudor , Len Brown , "Rafael J . Wysocki" , Calvin Johnson , Ioana Ciornei , "nd@arm.com" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 8:23 PM Grant Likely wrote: > > On 10/06/2021 19:05, Rafael J. Wysocki wrote: > > On Thu, Jun 10, 2021 at 6:40 PM Ioana Ciornei wrote: > >> > >> From: Calvin Johnson > >> > >> Introduce ACPI mechanism to get PHYs registered on a MDIO bus and > >> provide them to be connected to MAC. > > > > This is not an "ACPI mechanism", because it is not part of the ACPI > > specification or support documentation thereof. > > > > I would call it "a mechanism based on generic ACPI _DSD device > > properties definition []1]". And provide a reference to the _DSD > > properties definition document. > > > > With that changed, you can add > > > > Acked-by: Rafael J. Wysocki > > > > to this patch. > > > > Note, however, that within the traditional ACPI framework, the _DSD > > properties are consumed by the driver that binds to the device > > represented by the ACPI device object containing the _DSD in question > > in its scope, while in this case IIUC the properties are expected to > > be consumed by the general networking code in the kernel. That is not > > wrong in principle, but it means that operating systems other than > > Linux are not likely to be using them. > > > > Doesn't this land at the level of device drivers though? None of this > data needs to be consumed by the OS generic ACPI parsing code, but the > network device driver can use it to parse the MDIO and MAC configuraiton > and set itself up appropriately. That's right in general, which is why I said that doing it this way wasn't wrong.