linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, <linux-mips@linux-mips.org>,
	Janne Huttunen <janne.huttunen@nokia.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	<devel@driverdev.osuosl.org>
Subject: Re: [PATCH 00/14] MIPS/staging: OCTEON: enable ethernet/xaui on CN68XX
Date: Thu, 13 Aug 2015 12:16:43 -0700	[thread overview]
Message-ID: <55CCED1B.6030701@caviumnetworks.com> (raw)
In-Reply-To: <1439472106-7750-1-git-send-email-aaro.koskinen@nokia.com>

On 08/13/2015 06:21 AM, Aaro Koskinen wrote:
> Hi,
>
> Currently mainline Linux is unusable on OCTEON II CN68XX SOCs due to
> issues in Ethernet driver initialization. Some boards are hanging during
> init, and all the needed register differences compared to the older SOCs
> are not taken into account to make interrupts and packet delivery to work.
>
> This patch set provides a minimal support to get octeon-ethernet going
> on CN68XX. Tested on top of 4.2-rc6 with Cavium EBB6800 and Kontron
> S1901 boards by sending traffic over XAUI interface with busybox.

You don't say how it was tested.

Does OCTEON and OCTEON II networking continue to function?

There is no SSO provisioning, so there will be limited buffering on 
packet ingress.  For low packet rates, it should be fine though.

David Daney


>
> A.
>
> Aaro Koskinen (2):
>    MIPS/staging: OCTEON: properly enable/disable SSO WQE interrupts
>    MIPS/staging: OCTEON: set SSO group mask properly on CN68XX
>
> Janne Huttunen (12):
>    MIPS: OCTEON: fix CN6880 hang on XAUI init
>    MIPS: OCTEON: support additional interfaces on CN68XX
>    MIPS: OCTEON: support all PIP input ports on CN68XX
>    MIPS: OCTEON: configure XAUI pkinds
>    MIPS: OCTEON: configure minimum PKO packet sizes on CN68XX
>    MIPS: OCTEON: add definitions for setting up SSO
>    MIPS/staging: OCTEON: increase output command buffers
>    MIPS/staging: OCTEON: support CN68XX style WQE
>    MIPS: OCTEON: initialize CN68XX PKO
>    MIPS: OCTEON: set up 1:1 mapping between CN68XX PKO queues and ports
>    MIPS: OCTEON: support interfaces 4 and 5
>    MIPS/staging: OCTEON: use common helpers for determining interface and
>      port
>
>   .../cavium-octeon/executive/cvmx-helper-util.c     |  20 +-
>   .../cavium-octeon/executive/cvmx-helper-xaui.c     |  14 +-
>   arch/mips/cavium-octeon/executive/cvmx-helper.c    |  17 ++
>   arch/mips/cavium-octeon/executive/cvmx-pko.c       | 149 +++++++++-
>   arch/mips/include/asm/octeon/cvmx-pip.h            |   2 +-
>   arch/mips/include/asm/octeon/cvmx-pko.h            |   3 +
>   arch/mips/include/asm/octeon/cvmx-pow-defs.h       |  29 ++
>   arch/mips/include/asm/octeon/cvmx-pow.h            |   9 +-
>   arch/mips/include/asm/octeon/cvmx-wqe.h            | 308 +++++++++++++++++----
>   drivers/staging/octeon/ethernet-rx.c               | 133 ++++++---
>   drivers/staging/octeon/ethernet-tx.c               |  19 +-
>   drivers/staging/octeon/ethernet-util.h             |  22 +-
>   drivers/staging/octeon/ethernet.c                  |   7 +-
>   13 files changed, 595 insertions(+), 137 deletions(-)
>

WARNING: multiple messages have this Message-ID (diff)
From: David Daney <ddaney@caviumnetworks.com>
To: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org,
	Janne Huttunen <janne.huttunen@nokia.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devel@driverdev.osuosl.org
Subject: Re: [PATCH 00/14] MIPS/staging: OCTEON: enable ethernet/xaui on CN68XX
Date: Thu, 13 Aug 2015 12:16:43 -0700	[thread overview]
Message-ID: <55CCED1B.6030701@caviumnetworks.com> (raw)
Message-ID: <20150813191643.CIyMCBJNpSqsJxa4hAtKQj0ocCs2AIknzibftELfWeE@z> (raw)
In-Reply-To: <1439472106-7750-1-git-send-email-aaro.koskinen@nokia.com>

On 08/13/2015 06:21 AM, Aaro Koskinen wrote:
> Hi,
>
> Currently mainline Linux is unusable on OCTEON II CN68XX SOCs due to
> issues in Ethernet driver initialization. Some boards are hanging during
> init, and all the needed register differences compared to the older SOCs
> are not taken into account to make interrupts and packet delivery to work.
>
> This patch set provides a minimal support to get octeon-ethernet going
> on CN68XX. Tested on top of 4.2-rc6 with Cavium EBB6800 and Kontron
> S1901 boards by sending traffic over XAUI interface with busybox.

You don't say how it was tested.

Does OCTEON and OCTEON II networking continue to function?

There is no SSO provisioning, so there will be limited buffering on 
packet ingress.  For low packet rates, it should be fine though.

David Daney


>
> A.
>
> Aaro Koskinen (2):
>    MIPS/staging: OCTEON: properly enable/disable SSO WQE interrupts
>    MIPS/staging: OCTEON: set SSO group mask properly on CN68XX
>
> Janne Huttunen (12):
>    MIPS: OCTEON: fix CN6880 hang on XAUI init
>    MIPS: OCTEON: support additional interfaces on CN68XX
>    MIPS: OCTEON: support all PIP input ports on CN68XX
>    MIPS: OCTEON: configure XAUI pkinds
>    MIPS: OCTEON: configure minimum PKO packet sizes on CN68XX
>    MIPS: OCTEON: add definitions for setting up SSO
>    MIPS/staging: OCTEON: increase output command buffers
>    MIPS/staging: OCTEON: support CN68XX style WQE
>    MIPS: OCTEON: initialize CN68XX PKO
>    MIPS: OCTEON: set up 1:1 mapping between CN68XX PKO queues and ports
>    MIPS: OCTEON: support interfaces 4 and 5
>    MIPS/staging: OCTEON: use common helpers for determining interface and
>      port
>
>   .../cavium-octeon/executive/cvmx-helper-util.c     |  20 +-
>   .../cavium-octeon/executive/cvmx-helper-xaui.c     |  14 +-
>   arch/mips/cavium-octeon/executive/cvmx-helper.c    |  17 ++
>   arch/mips/cavium-octeon/executive/cvmx-pko.c       | 149 +++++++++-
>   arch/mips/include/asm/octeon/cvmx-pip.h            |   2 +-
>   arch/mips/include/asm/octeon/cvmx-pko.h            |   3 +
>   arch/mips/include/asm/octeon/cvmx-pow-defs.h       |  29 ++
>   arch/mips/include/asm/octeon/cvmx-pow.h            |   9 +-
>   arch/mips/include/asm/octeon/cvmx-wqe.h            | 308 +++++++++++++++++----
>   drivers/staging/octeon/ethernet-rx.c               | 133 ++++++---
>   drivers/staging/octeon/ethernet-tx.c               |  19 +-
>   drivers/staging/octeon/ethernet-util.h             |  22 +-
>   drivers/staging/octeon/ethernet.c                  |   7 +-
>   13 files changed, 595 insertions(+), 137 deletions(-)
>

  parent reply	other threads:[~2015-08-13 19:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13 13:21 [PATCH 00/14] MIPS/staging: OCTEON: enable ethernet/xaui on CN68XX Aaro Koskinen
2015-08-13 13:21 ` [PATCH 01/14] MIPS: OCTEON: fix CN6880 hang on XAUI init Aaro Koskinen
2015-08-13 13:21 ` [PATCH 02/14] MIPS: OCTEON: support additional interfaces on CN68XX Aaro Koskinen
2015-08-13 13:21 ` [PATCH 03/14] MIPS: OCTEON: support all PIP input ports " Aaro Koskinen
2015-08-13 13:21 ` [PATCH 04/14] MIPS: OCTEON: configure XAUI pkinds Aaro Koskinen
2015-08-13 13:21 ` [PATCH 05/14] MIPS: OCTEON: configure minimum PKO packet sizes on CN68XX Aaro Koskinen
2015-08-13 13:21 ` [PATCH 06/14] MIPS: OCTEON: add definitions for setting up SSO Aaro Koskinen
2015-08-13 13:21 ` [PATCH 07/14] MIPS/staging: OCTEON: properly enable/disable SSO WQE interrupts Aaro Koskinen
2015-08-13 13:21 ` [PATCH 08/14] MIPS/staging: OCTEON: set SSO group mask properly on CN68XX Aaro Koskinen
2015-08-13 13:21 ` [PATCH 09/14] MIPS/staging: OCTEON: increase output command buffers Aaro Koskinen
2015-08-13 13:21 ` [PATCH 10/14] MIPS/staging: OCTEON: support CN68XX style WQE Aaro Koskinen
2015-08-13 13:21 ` [PATCH 11/14] MIPS: OCTEON: initialize CN68XX PKO Aaro Koskinen
2015-08-13 13:21 ` [PATCH 12/14] MIPS: OCTEON: set up 1:1 mapping between CN68XX PKO queues and ports Aaro Koskinen
2015-08-13 13:21 ` [PATCH 13/14] MIPS: OCTEON: support interfaces 4 and 5 Aaro Koskinen
2015-08-13 13:21 ` [PATCH 14/14] MIPS/staging: OCTEON: use common helpers for determining interface and port Aaro Koskinen
2015-08-13 19:16 ` David Daney [this message]
2015-08-13 19:16   ` [PATCH 00/14] MIPS/staging: OCTEON: enable ethernet/xaui on CN68XX David Daney
2015-08-14 13:09   ` Aaro Koskinen
2015-08-14 19:49     ` David Daney
2015-08-14 19:49       ` David Daney
2015-08-19 19:40       ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55CCED1B.6030701@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=aaro.koskinen@nokia.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=janne.huttunen@nokia.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).