From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Packham Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Date: Thu, 5 Jan 2017 19:46:43 +0000 Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:43502 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936444AbdAETqy (ORCPT ); Thu, 5 Jan 2017 14:46:54 -0500 Content-Language: en-US Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Andrew Lunn Cc: Florian Fainelli , "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 On 06/01/17 02:10, Andrew Lunn wrote:=0A= >> I'd love to see a switchdev driver but it's a huge task (and no I'm not= =0A= >> committing to writing it). As it stands Marvell ship a switch SDK=0A= >> largely executes in userspace with a small kernel module providing some= =0A= >> linkage to the underlying hardware.=0A= >=0A= > Is there any similarity to the mv88e6xxx family?=0A= >=0A= > If it was similar registers, just a different access mechanising, we=0A= > could probably extend the mv88e6xxx to support MMIO as well as MDIO.=0A= =0A= No the prestera family of devices are considerably more powerful (and =0A= complex) than the linkstreet devices.=0A= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032483AbdAETrC (ORCPT ); Thu, 5 Jan 2017 14:47:02 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:43501 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936464AbdAETqy (ORCPT ); Thu, 5 Jan 2017 14:46:54 -0500 From: Chris Packham To: Andrew Lunn CC: Florian Fainelli , "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" Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Thread-Topic: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Thread-Index: AQHSZwUuPaC1qQGHU0Kp97J+B+gpIA== Date: Thu, 5 Jan 2017 19:46:43 +0000 Message-ID: <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> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [2001:df5:b000:22:c9e4:18f2:c42d:16f] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v05Jl5lt010891 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Chris Packham To: Andrew Lunn CC: Florian Fainelli , "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" Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Date: Thu, 5 Jan 2017 19:46:43 +0000 Message-ID: <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> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 List-ID: On 06/01/17 02:10, Andrew Lunn wrote:=0A= >> I'd love to see a switchdev driver but it's a huge task (and no I'm not= =0A= >> committing to writing it). As it stands Marvell ship a switch SDK=0A= >> largely executes in userspace with a small kernel module providing some= =0A= >> linkage to the underlying hardware.=0A= >=0A= > Is there any similarity to the mv88e6xxx family?=0A= >=0A= > If it was similar registers, just a different access mechanising, we=0A= > could probably extend the mv88e6xxx to support MMIO as well as MDIO.=0A= =0A= No the prestera family of devices are considerably more powerful (and =0A= complex) than the linkstreet devices.=0A= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris.Packham@alliedtelesis.co.nz (Chris Packham) Date: Thu, 5 Jan 2017 19:46:43 +0000 Subject: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs 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> Message-ID: <059c78eaa7dd40c9a46cb08616bae2eb@svr-chch-ex1.atlnz.lc> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.