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=1.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,URIBL_DBL_ABUSE_MALW autolearn=no 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 4ACD8C2D0DB for ; Fri, 31 Jan 2020 14:29:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 176332067C for ; Fri, 31 Jan 2020 14:29:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fAP0kQbJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ShZjamFM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 176332067C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/fRqqEs6caIsU6W3NJpYk1q8LRIXFWoXy95CULAC6Sc=; b=fAP0kQbJb1H9rV Y5ArP1tbtm/8dvRmH9a7mwxeRsYrqxSGn1T/GGoVKpAZsLt4SqP6T8hAgmdx9Xu4PZx40FiQkHo0c 8Pp9vS1ZVo0/DRp00OnJLEJi6OYsTBxbFVMXsPnK3tnobaQeJ8MbbnIlp+tlvm2MrllhJ1p2ym6GA /4Ggs1Fzkn+ufoqgBDn6Iuwha9XkB5c+zYERTqA0jHX7RzcEljftmffFOgYzWGPhkfjo6jG1U0KAF t8/qtU1Q0e5/w62juDAhLs5CVqDqXPEMdfavDvDR1XOaqueLvnZPLnLiaujjcYRveHUHC/XONY+oB WAgw056Et39hWd6qdNIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ixXIb-0003nS-Qn; Fri, 31 Jan 2020 14:29:33 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ixXIZ-0003n7-Go for linux-arm-kernel@lists.infradead.org; Fri, 31 Jan 2020 14:29:32 +0000 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=wII15MgeqWbZfMqpukw8WbJXMIjvvlTLwoyDgIUTqRM=; b=ShZjamFMEFEi8ZK6lvRTAfg72t Vnb01CyPnJ7r54jskpVozNRpja4cak/rpQ3EA+z8tdCxGk/ma0n7XNXXYSzDi8aJs81HiyfqbzIDI TBwGIdJHIzI15tZXE3NfSucMK1mqWPVg/4N3IYkodR379POfvridvakg2WpfKOtGPAOs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1ixXIA-0007bY-Q6; Fri, 31 Jan 2020 15:29:06 +0100 Date: Fri, 31 Jan 2020 15:29:06 +0100 From: Andrew Lunn To: Robin Murphy Subject: Re: [EXT] Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc Message-ID: <20200131142906.GG9639@lunn.ch> References: <1580198925-50411-1-git-send-email-makarand.pawagi@nxp.com> <20200128110916.GA491@e121166-lin.cambridge.arm.com> <12531d6c569c7e14dffe8e288d9f4a0b@kernel.org> <0680c2ce-cff0-d163-6bd9-1eb39be06eee@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200131_062931_562716_084854D7 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Calvin Johnson , stuyoder@gmail.com, nleeder@codeaurora.org, Ioana Ciornei , Cristi Sovaiala , Hanjun Guo , Will Deacon , Lorenzo Pieralisi , Marc Zyngier , Pankaj Bansal , Jon Nettleton , Russell King , ACPI Devel Maling List , Len Brown , Jason Cooper , Andy Wang , Makarand Pawagi , Varun Sethi , Thomas Gleixner , linux-arm-kernel , Laurentiu Tudor , Paul Yang , Ard Biesheuvel , "" , "Rafael J. Wysocki" , Linux Kernel Mailing List , Shameerali Kolothum Thodi , Sudeep Holla Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org > > But by design SFP, SFP+, and QSFP cages are not fixed function network > > adapters. They are physical and logical devices that can adapt to > > what is plugged into them. How the devices are exposed should be > > irrelevant to this conversation it is about the underlying > > connectivity. > > Apologies - I was under the impression that SFP and friends were a > physical-layer thing and that a MAC in the SoC would still be fixed such > that its DMA and interrupt configuration could be statically described > regardless of what transceiver was plugged in (even if some configurations > might not use every interrupt/stream ID/etc.) If that isn't the case I shall > go and educate myself further. Hi Robin It gets interesting with QSFP cages. The Q is quad, there are 4 SERDES lanes. You can use them for 1x 40G link, or you can split them into 4x 10G links. So you either need one MAC or 4 MACs connecting to the cage, and this can change on the fly when a modules is ejected and replaced with another module. There are only one set of control pins for i2c, loss of signal, TX disable, module inserted. So where the interrupt/stream ID/etc are mapped needs some flexibility. There is also to some degree a conflict with hiding all this inside firmware. This is complex stuff. It is much better to have one core implementing in Linux plus some per hardware driver support, than having X firmware blobs, generally closed source, each with there own bugs which nobody can fix. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel