Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp52005ybv; Tue, 4 Feb 2020 16:14:43 -0800 (PST) X-Google-Smtp-Source: APXvYqy+TO/IYBS0mI45T6Q9WoTKoRs0+RpB4WKEPd1IckIgwKYDPGnrlbtr1mLZZtnSBOkXeej/ X-Received: by 2002:aca:b504:: with SMTP id e4mr1188057oif.28.1580861683587; Tue, 04 Feb 2020 16:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580861683; cv=none; d=google.com; s=arc-20160816; b=kPYRgi2PvPPdTOSNNEwpOy7RbA9LPK7SqAmDE0lqp8+QZFkRlhEVtWg8GCA23HkX++ osFSsyaBvKqf+gsI7XjTx+IjpQPyZCrYPUsrZDNv3k6lNyomD0204Npd/AnEHBsqbTEC Z5cnB5E/N/mdfWG6gHq2DCaIYDHO0f6bsykrk5IOJUZaycBrJY00ZmHRVVkL0uMnv0kZ X0UJ0yAoGDv8qD9Sja0A7RcuLJOrTTgxV1OKF83UU6DNMQCNmOsbDS+2JHg4EutgJTKm eQMj/GKXPnz+ndlXRF/fWDc3Kz/dPdfoUTC24+kvocal3sWofcRadyZ9/ux+rBQeLphQ hdeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rWw39W1xcUKR/heVavGcT0nqYJy6F8UnBKGaK5La1fI=; b=IOD8qhKySGcGclFuB0SyMEoGfhDg+Na5aeSlUJFQE5Twqcc4e6f3HKZZZzk6JGyBRe e3A2AVUajNTSh7x1Dssqo+WXTjevB239Du20sUa5lDhae4TNrCa7G/OmRcr3VMyw0Ooz 5AnbVca+wxCRdVMnhzGLNVOqCYefYeD2hJJCNYHylcl3aU8MAsllIW3sZCVz+E/t44JG 9pqXhrSrmVYe29OiwpVvzoHhfxys0dE0KU+md/YQ+PzIyNbgRQHREO0oGdhLrson6V+y UruOQ8OFa32iuIAXacFObpragwgdm7khTlKxDJ54KauRJDNjTshRrcAgIaqdqf2BudWg oXJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ICvsX8Cj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si12903065otq.132.2020.02.04.16.14.31; Tue, 04 Feb 2020 16:14:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ICvsX8Cj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727745AbgBEALj (ORCPT + 99 others); Tue, 4 Feb 2020 19:11:39 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:56247 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727698AbgBEALj (ORCPT ); Tue, 4 Feb 2020 19:11:39 -0500 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id D5346891AB; Wed, 5 Feb 2020 13:11:35 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1580861495; bh=rWw39W1xcUKR/heVavGcT0nqYJy6F8UnBKGaK5La1fI=; h=From:To:Cc:Subject:Date; b=ICvsX8CjRGALZEHG4kfCe+IHxZkNYkBA/lAjlNYOKZoYi8de7DuP/p9LugXIM5MOk A5vVbn9p0hZb0sn7gYO8CG7LGNXcX99JhEn144aO9v0ORODFfBf4kXt83jXMDbp1P6 M1o+F2pUvSkXMvtkIg+7g4+ZTWVY44WalVlHGUlQGHiXInoQi6BArOVdMvduzGJJbj JP1HAdWJbUM30CymXfYFx/QHDc36T8zJu+xG8juJXwGgAhVdl4PvlfQ8R66Ykgm21g XIZnINhc29u9rQwbaHYJRSdf6DDrQM2C1UJPgqgFUil6bJYd9qBohkzxJdDHtzq/5K g31qy2MPi9rEQ== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Wed, 05 Feb 2020 13:11:36 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id 16E1513EEDE; Wed, 5 Feb 2020 13:11:35 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 850D6280038; Wed, 5 Feb 2020 13:11:35 +1300 (NZDT) From: Chris Packham To: gregkh@linuxfoundation.org, ralf@linux-mips.org, paulburton@kernel.org, linux@roeck-us.net, dan.carpenter@oracle.com, willy@infradead.org Cc: linux-mips@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 0/6] Re-instate octeon staging drivers Date: Wed, 5 Feb 2020 13:11:10 +1300 Message-Id: <20200205001116.14096-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series re-instates the octeon drivers that were recently removed and addresses the build issues that lead to that decision. I've approached Cavium/Marvell about taking a more active interest in get= ting the code out of staging and into their proper location. No reply on that = (yet). Chris Packham (6): Revert "staging: octeon-usb: delete the octeon usb host controller driver" Revert "staging: octeon: delete driver" MIPS: octeon: remove typedef declaration for cvmx_wqe MIPS: octeon: remove typedef declaration for cvmx_helper_link_info MIPS: octeon: remove typedef declaration for cvmx_pko_command_word0 Revert "staging/octeon: Mark Ethernet driver as BROKEN" .../executive/cvmx-helper-board.c | 4 +- .../executive/cvmx-helper-rgmii.c | 6 +- .../executive/cvmx-helper-sgmii.c | 8 +- .../cavium-octeon/executive/cvmx-helper-spi.c | 6 +- .../executive/cvmx-helper-xaui.c | 6 +- .../cavium-octeon/executive/cvmx-helper.c | 10 +- .../include/asm/octeon/cvmx-helper-board.h | 2 +- .../include/asm/octeon/cvmx-helper-rgmii.h | 4 +- .../include/asm/octeon/cvmx-helper-sgmii.h | 4 +- .../mips/include/asm/octeon/cvmx-helper-spi.h | 4 +- .../include/asm/octeon/cvmx-helper-util.h | 2 +- .../include/asm/octeon/cvmx-helper-xaui.h | 4 +- arch/mips/include/asm/octeon/cvmx-helper.h | 8 +- arch/mips/include/asm/octeon/cvmx-pko.h | 10 +- arch/mips/include/asm/octeon/cvmx-pow.h | 22 +- arch/mips/include/asm/octeon/cvmx-wqe.h | 16 +- drivers/staging/Kconfig | 4 + drivers/staging/Makefile | 2 + drivers/staging/octeon-usb/Kconfig | 11 + drivers/staging/octeon-usb/Makefile | 2 + drivers/staging/octeon-usb/TODO | 8 + drivers/staging/octeon-usb/octeon-hcd.c | 3737 +++++++++++++++++ drivers/staging/octeon-usb/octeon-hcd.h | 1847 ++++++++ drivers/staging/octeon/Kconfig | 15 + drivers/staging/octeon/Makefile | 19 + drivers/staging/octeon/TODO | 9 + drivers/staging/octeon/ethernet-defines.h | 40 + drivers/staging/octeon/ethernet-mdio.c | 178 + drivers/staging/octeon/ethernet-mdio.h | 28 + drivers/staging/octeon/ethernet-mem.c | 154 + drivers/staging/octeon/ethernet-mem.h | 9 + drivers/staging/octeon/ethernet-rgmii.c | 158 + drivers/staging/octeon/ethernet-rx.c | 538 +++ drivers/staging/octeon/ethernet-rx.h | 31 + drivers/staging/octeon/ethernet-sgmii.c | 30 + drivers/staging/octeon/ethernet-spi.c | 226 + drivers/staging/octeon/ethernet-tx.c | 717 ++++ drivers/staging/octeon/ethernet-tx.h | 14 + drivers/staging/octeon/ethernet-util.h | 47 + drivers/staging/octeon/ethernet.c | 992 +++++ drivers/staging/octeon/octeon-ethernet.h | 107 + drivers/staging/octeon/octeon-stubs.h | 1433 +++++++ 42 files changed, 10414 insertions(+), 58 deletions(-) create mode 100644 drivers/staging/octeon-usb/Kconfig create mode 100644 drivers/staging/octeon-usb/Makefile create mode 100644 drivers/staging/octeon-usb/TODO create mode 100644 drivers/staging/octeon-usb/octeon-hcd.c create mode 100644 drivers/staging/octeon-usb/octeon-hcd.h create mode 100644 drivers/staging/octeon/Kconfig create mode 100644 drivers/staging/octeon/Makefile create mode 100644 drivers/staging/octeon/TODO create mode 100644 drivers/staging/octeon/ethernet-defines.h create mode 100644 drivers/staging/octeon/ethernet-mdio.c create mode 100644 drivers/staging/octeon/ethernet-mdio.h create mode 100644 drivers/staging/octeon/ethernet-mem.c create mode 100644 drivers/staging/octeon/ethernet-mem.h create mode 100644 drivers/staging/octeon/ethernet-rgmii.c create mode 100644 drivers/staging/octeon/ethernet-rx.c create mode 100644 drivers/staging/octeon/ethernet-rx.h create mode 100644 drivers/staging/octeon/ethernet-sgmii.c create mode 100644 drivers/staging/octeon/ethernet-spi.c create mode 100644 drivers/staging/octeon/ethernet-tx.c create mode 100644 drivers/staging/octeon/ethernet-tx.h create mode 100644 drivers/staging/octeon/ethernet-util.h create mode 100644 drivers/staging/octeon/ethernet.c create mode 100644 drivers/staging/octeon/octeon-ethernet.h create mode 100644 drivers/staging/octeon/octeon-stubs.h --=20 2.25.0