Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp744806ybl; Fri, 31 Jan 2020 07:17:04 -0800 (PST) X-Google-Smtp-Source: APXvYqw6DCLh3HKpMmw6JtJA1Da14Hhh/s+GefpjWjpspcu2JYJhtWYZlCcC8jlldaP6f5hBX7cd X-Received: by 2002:a9d:370:: with SMTP id 103mr2129846otv.103.1580483824431; Fri, 31 Jan 2020 07:17:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580483824; cv=none; d=google.com; s=arc-20160816; b=Uhef70XKf33vru3tJPqviKPe9QKpymdl1bsTE9BsJDglDj5ji4GZdMytPzauXB/cuZ MaTH0WcNpeJYgxLCtZJxBE+Ow6O6MSd9eBFkm/rhjQY2E00lhhc+MY8in+YwkpR8b/yf UopT6otKUjlvqK9oF7gkmSYktfBaxFbSwHtNGAKIMSNuabUkbfonAVVTpEqoTOY4Ot2J dnodjA7KqfQ9V0bXqT6TsdyoBSI+RkPIGKqB85R+/ILptItHlIjBhhCaWJP0ewM2Cs/d hBqirTxyWxP7xqSVrdMbAftq3MabFzw/qiEWEceQqeXOKi6r/XnOP3zo73A9B/FZcR7Q GLIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dKqqlpA+EkYjXixe2TS2xK7+DyD3uNKJKEB0gcN7Kss=; b=mHOaGOD5+VY0wdyLHt73KvOfaqWg+Wn9gvqcDuiM/pg4z6Dg/vVG33oDHYDHDqIShj muXmEZLYMHF3ktaKxGjVG4nMn0nMVFkARkHHXeSg1QNvUFuO8pO3EZSw76id7Z7cxtXj ltsv8G/62EdnNi5fegwiyiOPrWBtrSeoY7PYPZVOJuUjAfQ9ymhGozEWgxDcrjt8GDaS NdmjHOAQu9STMbxJsqVRg4WpN5W/V2K0FP6mEZkoT8LeZ4rxbExM14PjC9Zhn6UHlCwf UFvNk65DuIBmvNzLjojbw1yeMH8uXiQwyag33KSVQQqEHKccZivbCGuDj70CJ4K7b4fA eOwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=zM91B167; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si2712735oti.104.2020.01.31.07.16.52; Fri, 31 Jan 2020 07:17:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=zM91B167; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729145AbgAaPPd (ORCPT + 99 others); Fri, 31 Jan 2020 10:15:33 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:41846 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728752AbgAaPPc (ORCPT ); Fri, 31 Jan 2020 10:15:32 -0500 Received: by mail-yw1-f67.google.com with SMTP id l22so4977803ywc.8 for ; Fri, 31 Jan 2020 07:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solid-run-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dKqqlpA+EkYjXixe2TS2xK7+DyD3uNKJKEB0gcN7Kss=; b=zM91B1671UUjUt7B4XhWH0jKv4TzeL2OGkjsxZr6YetTM6KnFw900Ukel/cRquX0U6 /s2JfZpPbKUq/hyBOchczdnZP5oy6LHCnqrOZHmBiurBK22nhFbHBa0kNR9a7mmo7Ooy uXyyJl8Sw6q2bVInAbUXGqW1AXzLWuOuP7wcwOH0a406Qljft7LX0O9wfukjwAudPtZP NXoNfOkGncX1sLCF6A2cABmwx2anxLMJJj+k5cQQtCy9BdKCV+MVJFeKCh5ER4Mc2zJz wa+9WuxuAWSoLKZimoK3BKKytP0yZHM7LdE34XG08cOSXqyxkEWSXLPQyK9sCOJc/9ct zBrg== 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=dKqqlpA+EkYjXixe2TS2xK7+DyD3uNKJKEB0gcN7Kss=; b=qXgidPDyLfuA+5PI6wzoi8bdtZR0dXpCZaks3mNl7+Wj22itf+FhGjt9/rcsAJpeaS MJ/lCJGV9Y9nFP5LvSeGzXjt5lEZKaET84C6JuHlCQvKDuaEG5gBX6HfPAhE9jw4aBoZ mRZAS+qlycpmrk/gVQxvZsKVLq0JReLdvVnt3fuyctS5jR4tVn21LI69STBCCPUXFHmY B25qhMkWd84PRnPBSnaqM3ReqbIenK9QC5rmLrSSP8N8n3XplyHdQcXSqvV7Gk/f1VBq gu7ypes2yuleB2R2lGOdR6jFpIALedaNwJQHFZh0hbAOZj/Le8yC7YhfDk7Pza8jsFXf Nr3Q== X-Gm-Message-State: APjAAAVULXTuH+v21vLNiy/apRxq8w6EyClNzWeLNL8YyvzQaEBA8jmQ Hemd/Df97TRDnFEJtdfAWak/wffIRBUYhBMzjA8dzw== X-Received: by 2002:a25:e790:: with SMTP id e138mr822292ybh.120.1580483731154; Fri, 31 Jan 2020 07:15:31 -0800 (PST) MIME-Version: 1.0 References: <20200128110916.GA491@e121166-lin.cambridge.arm.com> <12531d6c569c7e14dffe8e288d9f4a0b@kernel.org> <0680c2ce-cff0-d163-6bd9-1eb39be06eee@arm.com> <20200131142906.GG9639@lunn.ch> <20200131144737.GA4948@willie-the-truck> <20200131150929.GB13902@lunn.ch> In-Reply-To: <20200131150929.GB13902@lunn.ch> From: Jon Nettleton Date: Fri, 31 Jan 2020 16:14:55 +0100 Message-ID: Subject: Re: [EXT] Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc To: Andrew Lunn Cc: Will Deacon , Robin Murphy , Ard Biesheuvel , Marc Zyngier , Makarand Pawagi , Calvin Johnson , stuyoder@gmail.com, nleeder@codeaurora.org, Ioana Ciornei , Cristi Sovaiala , Hanjun Guo , Lorenzo Pieralisi , Pankaj Bansal , Russell King , ACPI Devel Maling List , Len Brown , Jason Cooper , Andy Wang , Varun Sethi , Thomas Gleixner , linux-arm-kernel , Laurentiu Tudor , Paul Yang , "" , "Rafael J. Wysocki" , Linux Kernel Mailing List , Shameerali Kolothum Thodi , Sudeep Holla Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2020 at 4:09 PM Andrew Lunn wrote: > > > Devicetree to the rescue! > > Yes, exactly. We have good, standardised descriptions for most of this > in device tree. And phylink can handle SFP and SFP+. Nobody has worked > on QSFP yet, since phylink has mostly been pushed by the embedded > world and 40G is not yet popular in the embedded world. > > > Entertaining the use of ACPI without any firmware abstraction for this > > hardware really feels like a square peg / round hole situation, so I'm > > assuming somebody's telling you that you need it "FOAR ENTAPRYZE". Who > > is it and can you tell them to bog off? > > The issues here is that SFPs are appearing in more and more server > systems, replacing plain old copper Ethernet. If the boxes use off the > shelf Mellanox or Intel PCIe cards, it is not an issue. But silicon > vendors are integrating this into the SoC in the ARM way of doing > things, memory mapped, spread over a number of controllers, not a > single PCIe device. > > Maybe we need hybrid systems. Plain, old, simple, boring things like > CPUs, serial ports, SATA, PCIe busses are described in ACPI. Complex > interesting things are in DT. The hard thing is the interface between > the two. DT having a phandle to an ACPI object, e.g a GPIO, interrupt > or an i2c bus. > > Andrew Just as a review reference, I have found an old attempted implementation documented here. https://github.com/CumulusNetworks/apd-tools/wiki -Jon