Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp771327ybl; Fri, 31 Jan 2020 07:44:17 -0800 (PST) X-Google-Smtp-Source: APXvYqyKyxDPIKrbY3yr0Mw95pBdcXgEKQCdoXSekjJyijhTPPMyB/uD2UgkWxQKFD1KQAACCJBb X-Received: by 2002:aca:1c1a:: with SMTP id c26mr6772889oic.75.1580485457708; Fri, 31 Jan 2020 07:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580485457; cv=none; d=google.com; s=arc-20160816; b=n5mL221im/k0Fqfbnh6F3STNZ0qVd7LvTIPugo1ZMlD0gSmPTMpkBYRJSbV3KJOAcu fXd1R9Xf3fniLYR0rZzQT2WRSoldqouPdPVi6R5zwJvhuSKVKTew1U1iUTmNj8E5hTFf ezSG7B2iSDrfAyCoPPAAl4bTFDAK9XDiRqRCqOyYkMgbxtbd2m1Gm0porX/oQboTlO1+ D2LT3MgTY9vTk4P9fJqI189maHQ6UpjTs47OPmlJQszaP1DQOmR39gYNXovWRU03KZZS Jd4FWjUD0WwH2eiiZHnGTMGDeaF9Ekt/dWEPnrK0Dyf8HHfGDKoknZQMD/QKaFl6zOed Bi3w== 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=af7+Bsa4FLscpB6733Wg20Cckf2L8D3h7E9G+fD24P0=; b=092ETbVDg7vj3MOfml+i9CTheggytR84w5IZVcFZfd0wYhQJBpoaUlPJ4kH2E7cOAr TKb8BjLkOqnukUj0cYcHosc6h9vnWiDiRbDO+BTT2K2c99K/ynscPp9k+xGopm/OAaOr VRZntCgpc6SvuhV1Z9mxUCZS1upR9ks2u1ww2uSHdQoS2DEPcLubAWGBV2PzimVXPJyn lMaWHKPKRK02KlP+LQqNt0OysnvyJ9G/D9NWoUul0/hD6JEwHJnTcypGo9JggpS6Qlvl g1ZjPB4thSggui9p0T58xHG6Lh7Tx/o420a2bFGTSxZtimSse/q5EapfSt8MDYq4GAl1 v+hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=jd35rxH9; 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 h139si4086242oib.85.2020.01.31.07.44.06; Fri, 31 Jan 2020 07:44:17 -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=jd35rxH9; 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 S1729265AbgAaPmQ (ORCPT + 99 others); Fri, 31 Jan 2020 10:42:16 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:60264 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729016AbgAaPmP (ORCPT ); Fri, 31 Jan 2020 10:42:15 -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=af7+Bsa4FLscpB6733Wg20Cckf2L8D3h7E9G+fD24P0=; b=jd35rxH9/vacgzLSEFyxHa9YOs qqBY5xOsAhIAt5OVjZwrns5lyMi1mgIVC7GYsmM9eG7ijC7dsGaoBHuGeTWYwjYp+S7AJoBhI3KSG dFSvihcIN+LcaURbfwMmPoPPDCUBWoPjbcNphkrbKNLB5cfXZ9336rk6/64j5vOm/4SU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1ixYQf-000824-IP; Fri, 31 Jan 2020 16:41:57 +0100 Date: Fri, 31 Jan 2020 16:41:57 +0100 From: Andrew Lunn To: Jon Nettleton 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 Subject: Re: [EXT] Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc Message-ID: <20200131154157.GE13902@lunn.ch> References: <12531d6c569c7e14dffe8e288d9f4a0b@kernel.org> <0680c2ce-cff0-d163-6bd9-1eb39be06eee@arm.com> <20200131142906.GG9639@lunn.ch> <20200131144737.GA4948@willie-the-truck> <20200131150929.GB13902@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Just as a review reference, I have found an old attempted > implementation documented here. > https://github.com/CumulusNetworks/apd-tools/wiki That is interesting, but you need to be careful with it. Top of rack switches are very different beasts to the majority of switches supported by Linux, which are SOHO. TOR switches have a lot of firmware running on them doing most of the work. A typical SOHO switch with a Linux kernel driver has very little firmware, Linux really is driving it, not just asking it to do things. Also, TOR switches typically have a binary blob running in userspace, meaning different information is probably required compared to kernel driver. There may be useful information here, but please take it with a big pinch of salt. And make sure you have the appropriate networking people involved in any specification work you do. Andrew