From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs Date: Thu, 5 Jan 2017 14:09:45 +0100 Message-ID: <20170105130945.GA18033@lunn.ch> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <185147a37cab4d7eaea5f79d86cc9451@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 Cc: Mark Rutland , Geert Uytterhoeven , Michael Turquette , Laxman Dewangan , "linux-clk@vger.kernel.org" , Florian Fainelli , 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 l List-Id: linux-gpio@vger.kernel.org > 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. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033793AbdAENK3 (ORCPT ); Thu, 5 Jan 2017 08:10:29 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:46366 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936161AbdAENKZ (ORCPT ); Thu, 5 Jan 2017 08:10:25 -0500 Date: Thu, 5 Jan 2017 14:09:45 +0100 From: Andrew Lunn To: Chris Packham 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 Message-ID: <20170105130945.GA18033@lunn.ch> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 5 Jan 2017 14:09:45 +0100 From: Andrew Lunn To: Chris Packham 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 Message-ID: <20170105130945.GA18033@lunn.ch> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <6c6795d3-06ab-a4f0-78ad-5ecc78c1aa2f@gmail.com> <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <185147a37cab4d7eaea5f79d86cc9451@svr-chch-ex1.atlnz.lc> List-ID: > 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. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Thu, 5 Jan 2017 14:09:45 +0100 Subject: [PATCHv2 0/5] Support for Marvell switches with integrated CPUs In-Reply-To: <185147a37cab4d7eaea5f79d86cc9451@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> Message-ID: <20170105130945.GA18033@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > 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. Andrew