From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Date: Thu, 5 Jan 2017 11:52:12 -0800 Message-ID: <5f93b0ad-0d45-1d9a-521b-581074dcd465@gmail.com> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> <20170105130945.GA18033@lunn.ch> <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Chris Packham , Andrew Lunn Cc: Mark Rutland , Geert Uytterhoeven , Michael Turquette , Laxman Dewangan , "linux-clk@vger.kernel.org" , Juri Lelli , Russell King , Thierry Reding , Linus Walleij , Sebastian Hesselbarth , "devicetree@vger.kernel.org" , Jason Cooper , Arnd Bergmann , Kalyan Kinthada , Rob Herring , Gregory Clement , "linux-arm-kernel@lists.infradead.org" , Thomas Petazzoni , "linux-gpio@vger.kernel.org" List-Id: linux-gpio@vger.kernel.org On 01/05/2017 11:46 AM, Chris Packham wrote: > On 06/01/17 02:10, Andrew Lunn wrote: >>> I'd love to see a switchdev driver but it's a huge task (and no I'm not >>> committing to writing it). As it stands Marvell ship a switch SDK >>> largely executes in userspace with a small kernel module providing some >>> linkage to the underlying hardware. >> >> Is there any similarity to the mv88e6xxx family? >> >> If it was similar registers, just a different access mechanising, we >> could probably extend the mv88e6xxx to support MMIO as well as MDIO. > > No the prestera family of devices are considerably more powerful (and > complex) than the linkstreet devices. I see, we have a similar situation with some of the Broadcom SoCs, the BCM534xx/BCM5334x have a completely different integrated switching engine that is not roboswitch compatible. Thanks for the information, this is still valuable to have this supported upstream. -- Florian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032529AbdAETwq (ORCPT ); Thu, 5 Jan 2017 14:52:46 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35804 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936444AbdAETwf (ORCPT ); Thu, 5 Jan 2017 14:52:35 -0500 Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs To: Chris Packham , Andrew Lunn References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> <20170105130945.GA18033@lunn.ch> <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Cc: "linux-arm-kernel@lists.infradead.org" , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Linus Walleij , Jason Cooper , Gregory Clement , Sebastian Hesselbarth , Russell King , Geert Uytterhoeven , Arnd Bergmann , Thierry Reding , Sudeep Holla , Juri Lelli , Thomas Petazzoni , Laxman Dewangan , Kalyan Kinthada , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "linux-gpio@vger.kernel.org" From: Florian Fainelli Message-ID: <5f93b0ad-0d45-1d9a-521b-581074dcd465@gmail.com> Date: Thu, 5 Jan 2017 11:52:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/05/2017 11:46 AM, Chris Packham wrote: > On 06/01/17 02:10, Andrew Lunn wrote: >>> I'd love to see a switchdev driver but it's a huge task (and no I'm not >>> committing to writing it). As it stands Marvell ship a switch SDK >>> largely executes in userspace with a small kernel module providing some >>> linkage to the underlying hardware. >> >> Is there any similarity to the mv88e6xxx family? >> >> If it was similar registers, just a different access mechanising, we >> could probably extend the mv88e6xxx to support MMIO as well as MDIO. > > No the prestera family of devices are considerably more powerful (and > complex) than the linkstreet devices. I see, we have a similar situation with some of the Broadcom SoCs, the BCM534xx/BCM5334x have a completely different integrated switching engine that is not roboswitch compatible. Thanks for the information, this is still valuable to have this supported upstream. -- Florian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs To: Chris Packham , Andrew Lunn References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> <20170105130945.GA18033@lunn.ch> <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Cc: "linux-arm-kernel@lists.infradead.org" , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Linus Walleij , Jason Cooper , Gregory Clement , Sebastian Hesselbarth , Russell King , Geert Uytterhoeven , Arnd Bergmann , Thierry Reding , Sudeep Holla , Juri Lelli , Thomas Petazzoni , Laxman Dewangan , Kalyan Kinthada , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "linux-gpio@vger.kernel.org" From: Florian Fainelli Message-ID: <5f93b0ad-0d45-1d9a-521b-581074dcd465@gmail.com> Date: Thu, 5 Jan 2017 11:52:12 -0800 MIME-Version: 1.0 In-Reply-To: <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Content-Type: text/plain; charset=utf-8 List-ID: On 01/05/2017 11:46 AM, Chris Packham wrote: > On 06/01/17 02:10, Andrew Lunn wrote: >>> I'd love to see a switchdev driver but it's a huge task (and no I'm not >>> committing to writing it). As it stands Marvell ship a switch SDK >>> largely executes in userspace with a small kernel module providing some >>> linkage to the underlying hardware. >> >> Is there any similarity to the mv88e6xxx family? >> >> If it was similar registers, just a different access mechanising, we >> could probably extend the mv88e6xxx to support MMIO as well as MDIO. > > No the prestera family of devices are considerably more powerful (and > complex) than the linkstreet devices. I see, we have a similar situation with some of the Broadcom SoCs, the BCM534xx/BCM5334x have a completely different integrated switching engine that is not roboswitch compatible. Thanks for the information, this is still valuable to have this supported upstream. -- Florian From mboxrd@z Thu Jan 1 00:00:00 1970 From: f.fainelli@gmail.com (Florian Fainelli) Date: Thu, 5 Jan 2017 11:52:12 -0800 Subject: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs In-Reply-To: <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> <20170105130945.GA18033@lunn.ch> <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> Message-ID: <5f93b0ad-0d45-1d9a-521b-581074dcd465@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/05/2017 11:46 AM, Chris Packham wrote: > On 06/01/17 02:10, Andrew Lunn wrote: >>> I'd love to see a switchdev driver but it's a huge task (and no I'm not >>> committing to writing it). As it stands Marvell ship a switch SDK >>> largely executes in userspace with a small kernel module providing some >>> linkage to the underlying hardware. >> >> Is there any similarity to the mv88e6xxx family? >> >> If it was similar registers, just a different access mechanising, we >> could probably extend the mv88e6xxx to support MMIO as well as MDIO. > > No the prestera family of devices are considerably more powerful (and > complex) than the linkstreet devices. I see, we have a similar situation with some of the Broadcom SoCs, the BCM534xx/BCM5334x have a completely different integrated switching engine that is not roboswitch compatible. Thanks for the information, this is still valuable to have this supported upstream. -- Florian