From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D53AC2D0DB for ; Fri, 31 Jan 2020 15:42:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2339820707 for ; Fri, 31 Jan 2020 15:42:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="jd35rxH9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729219AbgAaPmQ (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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