Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp739704ybl; Fri, 31 Jan 2020 07:12:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyfOzwkawVRmNR5X8IzKlDls3W7PI1V1ToSHV60jW2dgar6o6IH4SSyBdSDiSo7jA0LfhMu X-Received: by 2002:a54:450d:: with SMTP id l13mr6775346oil.117.1580483525826; Fri, 31 Jan 2020 07:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580483525; cv=none; d=google.com; s=arc-20160816; b=GK0ldzwR496phdLly4N6i3k3rV6ZqYXC90997ncfUrp3goH2ETf39eUbGt4YWweMrG uCiaE8XF0Cm0NqyAxajJpUihRDRFKJLUNy9CgOwCDemnfGME9di5dcc0NmQ/EJawA62x qc1UPDxhguiqgqbk+xcPN9RiGXSXZgKB/Kay0k8u/+MX/OVxcE4oSk/5tWYdHwPYaCio qOQ2Gznwpvu5TybPCbJMkvz8C+GGRITsEALX/gInTKlgvgwXmSDbJ2gKY/LhclgOij/R MCz18T4oCgRNj4u5kDA9hrgZLJGab3MKQdceRyCwUk78ODoPh29X1lwYX0JQb8PDL4go lABg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=2diiy8c4y3CQgdL4Lzi01JXwoWYa5nYVCP1kWDev+KA=; b=P0iguf4gao6IZtaMr+XryJu70wP4GHTOTs0wF3A2OLwxOEWpWp04QsyO3aj99QinR2 8M7L0g3Ah6j8jHI/Ur+gN8hPv11I997+anrt3q51DLk2hFbuP5ptNRNCdlHOwtBu5/VG ma42nWgmu3QmfTCIwVdiUAOGtaDb21xuequnvrxdAOTmqL9NSRv7d+olFnlvjG2MsgxF jBkkLiezM0wo7DkCEYNsYJN+Ol7x+0s1XaswRYxiBTPvnc1DQE4f7ziDeWtplU2PTKAk dbaXVw0RM5jn9NwTkMMO+Kg4xhBP0HDTLwdNO/CSakfZa9EW1r057vJO+/RRCH0S/fSR VY5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=VtV9rSnh; 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 i8si4366169oih.206.2020.01.31.07.11.53; Fri, 31 Jan 2020 07:12:05 -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=fail header.i=@lunn.ch header.s=20171124 header.b=VtV9rSnh; 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 S1729278AbgAaPJu (ORCPT + 99 others); Fri, 31 Jan 2020 10:09:50 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:60146 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729071AbgAaPJu (ORCPT ); Fri, 31 Jan 2020 10:09:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2diiy8c4y3CQgdL4Lzi01JXwoWYa5nYVCP1kWDev+KA=; b=VtV9rSnhaU0/x3uU0Ks1rPZwoy udAyQG7ZDC0OTihQpPDz/WkVWXMvNN/aqQsxdfKqkoW3c4SQ2yZdFcgUxpNGOvWeOW6fiDxhTMgbr MAw/DzHa16yTES2h6C2kEpkRtp3LtWyVvPX3tDO5U2vDa7SjwSyPDdFS82it+CbcDj1w=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1ixXvF-0007n7-4E; Fri, 31 Jan 2020 16:09:29 +0100 Date: Fri, 31 Jan 2020 16:09:29 +0100 From: Andrew Lunn To: Will Deacon Cc: Robin Murphy , Jon Nettleton , 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 Subject: Re: [EXT] Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc Message-ID: <20200131150929.GB13902@lunn.ch> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200131144737.GA4948@willie-the-truck> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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