Message ID | 20210531143246.24202-1-vadym.kochan@plvision.eu (mailing list archive) |
---|---|
Headers | show
Return-Path: <netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3605FC4708F for <netdev@archiver.kernel.org>; Mon, 31 May 2021 14:35:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E45E613AF for <netdev@archiver.kernel.org>; Mon, 31 May 2021 14:35:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233891AbhEaOhg (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 31 May 2021 10:37:36 -0400 Received: from mail-am6eur05on2099.outbound.protection.outlook.com ([40.107.22.99]:51826 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232091AbhEaOfI (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 31 May 2021 10:35:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzGQo0JtB51XVS6t7upZ0vx8QUFWf+mAoDSukF21xaYkPvlQRZEWe8NPXqMceO27QzQktBjPkuDpc6F4F7OcrvHupog7PNf2rSVyJpzqG1dSQc5tMtNtvumfd7QqJx1Z3oVPTdjV9u9i7mO+nj9d20yoixkgPQDDvzbAw9NEdB+qxhsrlYvzu/iqjONli2WQKljIa5HpQy6Abe2uLuRdOLi8hAwTmlDTMroFB5UcXfoiOGb9jkecDrOdAodz0GZidg7l2n4uk8+q1qKq7M7qQ8zxvS5YO8vfKvtRz/F6dSDAlD+vH91Z+UN0s4+Vh4Z202Hwb5wYbKRzzYwgbtvwWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Obcph5sUd0iHm8byLLHcLv2ZWozpIWcfgZFUCWXkrU=; b=IUTLmgT68LHfb1lG2F7d8SHn8pcFFX5h/dLdqztliY94v937qXGjRpE7xzZdiEszHeOYdhzREc48nqX0ceXMmfHt3fiIU55jKZ6+IOMuHhU3WcPFyJMtGDdAwtQUMAW0TTfWWdmifJEpAmXLvZ8j/PMBLUiHdagDy3gZ/kS5ywBag8nfN9r+ImK5vjuPesmVwrrZdhDI9NhFEpK/bi3OhimydNAkaFDDhG2ZeS2ER7trDXJm5DFCyaqsghbKH8dmF/aXgaM2T0kchVGMjTa1M3pGm61ExvhJxse8XlhouDGbdj4j6T+7mRgYfNB5+tg8UDzrJ9J15fl+sXH0jsReGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Obcph5sUd0iHm8byLLHcLv2ZWozpIWcfgZFUCWXkrU=; b=K8n+PQpKpKAN/DAKzccqqE7ymkjMKQFHWVUO5SIRtw9xggAUV0sggnz4rAc3UhvoymZPAwbgh3boDM7mFR1lgaAS0Ei8P+18bmnk0gUrMztjochLbE7r5R84RPZapzDgR0JbGVLe6C/eglxEhFsAQKuzhLMtC8OwxSQVlFGeSHo= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none;davemloft.net; dmarc=none action=none header.from=plvision.eu; Received: from HE1P190MB0539.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:56::28) by HE1P190MB0459.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.29; Mon, 31 May 2021 14:33:24 +0000 Received: from HE1P190MB0539.EURP190.PROD.OUTLOOK.COM ([fe80::edb4:ae92:2efe:8c8a]) by HE1P190MB0539.EURP190.PROD.OUTLOOK.COM ([fe80::edb4:ae92:2efe:8c8a%4]) with mapi id 15.20.4173.030; Mon, 31 May 2021 14:33:24 +0000 From: Vadym Kochan <vadym.kochan@plvision.eu> To: "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, netdev@vger.kernel.org, Andrew Lunn <andrew@lunn.ch> Cc: Vadym Kochan <vadym.kochan@plvision.eu>, Taras Chornyi <tchornyi@marvell.com>, linux-kernel@vger.kernel.org, Mickey Rachamim <mickeyr@marvell.com>, Vadym Kochan <vkochan@marvell.com> Subject: [PATCH net-next v2 0/4] Marvell Prestera Switchdev initial updates for firmware version 3.0 Date: Mon, 31 May 2021 17:32:42 +0300 Message-Id: <20210531143246.24202-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-Originating-IP: [217.20.186.93] X-ClientProxiedBy: AM0PR04CA0036.eurprd04.prod.outlook.com (2603:10a6:208:122::49) To HE1P190MB0539.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:56::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc60716vkochan.x.ow.s (217.20.186.93) by AM0PR04CA0036.eurprd04.prod.outlook.com (2603:10a6:208:122::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.26 via Frontend Transport; Mon, 31 May 2021 14:33:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b7ebacd-35f0-4c2a-0752-08d924410bd0 X-MS-TrafficTypeDiagnostic: HE1P190MB0459: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <HE1P190MB04599954A025863905888970953F9@HE1P190MB0459.EURP190.PROD.OUTLOOK.COM> X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XdswGmY4Zcrbtuj480LiYXAuILoF9sCleugnKxVIH0Iudo64ho3Owr/tn/0tv4YBAjRwcz2aO1b5N3FYSCtGO0WsI6mpckWjQTCKJbe/Ka4AB3tTIkhngjhf/BE414fe/VrO6QVHfXSMqVcl5dG/80BIghuHB4JJaH4Pjx/HV/2D0m8xKr7jyKoJmD4Q+U2m0GZM/a417IclNQ9u60XNFFIrQChEuZmGUAxrNdelXyS8TMvMoxS6b3JABN9D1EbVd4iM8/p+4bSlVhCuRV0HC1QF6tlcNloAoLcYsE5bN0zYMgRsKhfsubHEeFRMiZ9vSrmCJeQOcveuVw7N4w6ZPbEKf3xvDm6tuxk4EWhHerFzCsG2kKByF5wsk1wvrqMYLQKM2t6kj8wGfUBwBAjVd7c+lLdx6DbO7iKpWzrEB8ZxTzhnOVT21064D1ecfxfyC7NgKYo/RoGCWlE3Ff8mCwLiXAq5O4uCkrwlWBmWC+5f6TGJWDRGUJG+TueCB+wN1u43ujmw0rARsPL4FEIQrxL1ZAInMg6awkMSGzW0ZAyu9uTnOXFH2uCujLN2AB73//U+L38k321jbUlROwGJvEYzKMVumBNZzL9yI5iC75QVr2ub9T/RmKjyyJiuij3TPuwHiutsRbDwuLXABVIb6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1P190MB0539.EURP190.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(346002)(376002)(396003)(39830400003)(136003)(366004)(16526019)(26005)(5660300002)(15650500001)(6506007)(8676002)(2906002)(6512007)(6486002)(38100700002)(38350700002)(44832011)(316002)(186003)(66476007)(54906003)(110136005)(478600001)(66946007)(86362001)(66556008)(2616005)(6666004)(4326008)(36756003)(83380400001)(1076003)(8936002)(956004)(52116002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: 4j5SI7aEGtQ6Z4YdverKIEwoGzVUo2ThtkZZIkBhkLV6Xq//BK4oXmEjTMYtHlWdF/LoICt1tmK4gvoBhmNaYNYlNq/xI+C2P3FS2tEzSe4UcSjfVFwumT44sPoZOBc1cGqCpAflGQEyev5jU00yEe9WMnQUw0ARf3uEzz2ESXOQQNELOYgJFqou+V45PmK2M99+2Vus4bNFWTsq3Ktu1qrqFLnDb+nVUr7ujP8KkhTmu9+ONojgxwvDV1hl0LMwbTyF1ubM9VAbDggT/enxdkTnbguX4/jDLrGrLNhXudrTwKZUhCp0ogs+FWxKXtL2nLw4+LOLTeR/hlY3ovTB6HEtOhuKdbmXo3DLuMUgstymDSLhgLu/ZaOTjKMet4K/aYM+lEKbFey11C5Rd8vUUph7b3ZJ+33EDlregJfF9eOD7f2NS8b0IvSQdxBF2J43nv+HRVGJx7B+IRFqwSHnT+h5dFaYqlScXlIt8LUMEX84eUbb6j9qunp8/vfHP2FgAf6QNP5epYeWoX/xPe6LfU+DjPF2WkqL2ClXZnXc26G78vLT2QRuqC+C4jBWbWP96+/gsOAUwn9QT4mN8M++xvlrD4+Wt/mZh6i0C/Czd2w0zuJnIm3Yz+M7K3L39nzu13Rjb3ErLifc97oRY2wucumT5+gb5P+MPrhIWWjQbACWpcRrKGFvKPyOoHGt6jNg0LH23+wWhcmN5AuHfhkelSxdPI3UXzycwXQzxWsml/s9Z8Kfy8MZWc+uejP0TFHrI//5g+Cey3YMXYf7OtxtzzfnT097Ih53RwTKtjH1dVoVnasUjREg8FxWMGGrwtnDOEbv04xoLIn5iuB03Nv7Hbc9ndG/zEaIDou8k302omLfzCLyoQy7RjUiZ5/NjBeRVYWS8aU/aiFoHYguXdFOtEqAgzRWXgkVCzjZe6zQDXQvtm6eVP+MBXNJh+4+g4bV+ybn4AKyY8Xr1Ii/oCIzcis+ve2r/CoFuSTSxNFfpSo7sEqkSB6VL+QKopAUIWIoR8d8pbA2HwQoBI+wW0GuixTh3qagBRAl4KGfAc5A9SOyuuDPEaEEgHN9nnQMTxBAGuwfLrynVRUG0d5ieNEMKoKGR4+XMIvac4h6VBYrCFDZD9ECYM67DEmRf0hLT5/HxJLS9y7TLdWnjXH9OlFpO/HWpBGJKW/HX8JzB3o0qWxOC36n/ckbHQAXpZ1SUKi4eiL/bGlsv9bOrkTNpRNhHthhCtczZ8Fh0Ls+R8DK9lbKJRsJq2AYzWz95X7ehwbAehmNX93LDUjWWFftOEp83LMffN+wayfZkk9moCTLv1lDrTTnsb3LldB8WbFALfUY X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 2b7ebacd-35f0-4c2a-0752-08d924410bd0 X-MS-Exchange-CrossTenant-AuthSource: HE1P190MB0539.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2021 14:33:24.1581 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uDFYkL+LRnZHY2jD53auAy9EPVGK7c/xvSno/AN7lMlnzxbaVNVDrBMYGdJvAMddPyPe3cIPgI7pMFxHNkRtu6p046EJ2YPeivRSXIgF9rs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1P190MB0459 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org |
Series |
Marvell Prestera Switchdev initial updates for firmware version 3.0
|
expand
|
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 31 May 2021 17:32:42 +0300 you wrote: > From: Vadym Kochan <vkochan@marvell.com> > > This series adds minimal support for firmware version 3.0 which > has such changes like: > > - initial routing support > > [...] Here is the summary with links: - [net-next,v2,1/4] net: marvell: prestera: disable events interrupt while handling https://git.kernel.org/netdev/net-next/c/263805c8840d - [net-next,v2,2/4] net: marvell: prestera: align flood setting according to latest firmware version https://git.kernel.org/netdev/net-next/c/c00e8a69fe42 - [net-next,v2,3/4] net: marvell: prestera: bump supported firmware version to 3.0 https://git.kernel.org/netdev/net-next/c/f1e1b2630178 - [net-next,v2,4/4] net: marvell: prestera: try to load previous fw version https://git.kernel.org/netdev/net-next/c/47f26018a414 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Vadym Kochan <vkochan@marvell.com> This series adds minimal support for firmware version 3.0 which has such changes like: - initial routing support - LAG support - events interrupt handling changes Changes just make able to work with new firmware version but supported features in driver will be added later. New firmware version was recently merged into linux-firmware tree. Added ability of loading previous fw major version if the latest one is missing, also add support for previous FW ABI. PATCH -> RFC: 1) Load previous fw version if the latest one is missing (suggested by Andrew Lunn) 2) Add support for previous FW ABI version (suggested by Andrew Lunn) RFC v2: 1) Get rid of automatic decrementing of major version but hard code it. 2) Print error message with file path if previous FW could not be loaded. Vadym Kochan (4): net: marvell: prestera: disable events interrupt while handling net: marvell: prestera: align flood setting according to latest firmware version net: marvell: prestera: bump supported firmware version to 3.0 net: marvell: prestera: try to load previous fw version .../ethernet/marvell/prestera/prestera_hw.c | 85 +++++++++++++- .../ethernet/marvell/prestera/prestera_hw.h | 3 +- .../ethernet/marvell/prestera/prestera_pci.c | 104 ++++++++++++++---- .../marvell/prestera/prestera_switchdev.c | 17 ++- 4 files changed, 175 insertions(+), 34 deletions(-)