Message ID | 20221104132310.31577-1-rogerq@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp400625wru; Fri, 4 Nov 2022 06:26:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM47BMk+0ebD34rpYTXpFUXWmKalsx3u0CU/sLa23zJdl+t2fHSx1p9BZRC4KYx5GpaW41fb X-Received: by 2002:a17:903:22c6:b0:187:1d13:c5f3 with SMTP id y6-20020a17090322c600b001871d13c5f3mr28117875plg.66.1667568391058; Fri, 04 Nov 2022 06:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667568391; cv=none; d=google.com; s=arc-20160816; b=GVsPZObwwE119jh1a8ar5P5UR9OWb+FeplSK7RnaOVJWniFd2SSIYTWliBpj7ko5dK DWrdmDjDYVEcEaSG28qIkm9y+f7WbvSQ5DPkKZR81V3rXI8G2f8N2ZCSP+eWgd4OzjNH zmnzIWGa8UNkvdvZpo1LXXtcJxccSFg6bhY5QVRWSvkuTCwVPRN81oG1mIgkve696/+b 8DXv0wsvPV5FhrtRzAWbovNyjCJPBFVy4+jQYah8MWEA2N1aiakqLVkQQHnvGrD081ug y4HndMOYNvNcX31y2g4U5zp7PjdzOGXBT/OHwCQ5I+S7G3mm1fRj71cJv1LMd2wVpFgT pnwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=xSGhTBWQu7jc1+VwdBzKTSLtiWA01rShP4EA5g7Sxv8=; b=Yq/wsUKU9OeaCofTBAl8Vz4UrB2EgT8XqbX8oP0qwMdOIgu4cpnUAAXz9f33zLAVmT UBILlFebKqZNzmBOx6kmr9vranLwAke6/6HBfRxaLbKISKy5NirdMIMfgBqzaPMle2tS VUgmGFjlItE79fLkd+Sy2NGtjqW1jnzJ7xIEvd1cTolN7SfWFl6R1eBHxbaoj961cF77 AbR+ScRpiFC6QU4BQ2/0Ktd/9WvXCpOWYiF7IDofju8y9CZG0m5Z26QjpIuVCfIXcium LUVLz4L+zAKUbxwEiliWne+D8m3NNyzii8gbwhV2e19jAr+oeX2IVRpCwg0Yh0/KFNUa j+2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trAabo5H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a170902e5c600b001846e0e0511si5121663plf.226.2022.11.04.06.26.17; Fri, 04 Nov 2022 06:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trAabo5H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231896AbiKDNXf (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 09:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbiKDNXZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 09:23:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C5E319A; Fri, 4 Nov 2022 06:23:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B4D6FB82B68; Fri, 4 Nov 2022 13:23:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBDBAC433D7; Fri, 4 Nov 2022 13:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667568197; bh=sDMsoprytbqmkwSBj1IS37nAywKoaXbS8hLbGeQnDMQ=; h=From:To:Cc:Subject:Date:From; b=trAabo5HBEaZhWUW6vjWgwCNmBp3n4132XKmNSDOyr73YWrAynlmo25cs8HY87hBT UBv3LrPpqgBPK8ZS63E/LNK4NgbSL0SzsZWu/oOl3WeS0mMHiwuueEnLIXo/CREhT0 Vosm5zG+CFI8z9lL4u8uxVpv4byeDC60qT0gkI/8FMuR34pkJuHSVr+RbApZ9PSo6r Ysq8eNkBTaJRY4kZVPhMvaGoMYstg/9tCvPrFr6sLJbSdgaMvqQEeDiMQ5qOWPVQIf yeIXaj1udvnv0IFHqkGpq98JJxxpUnQ60/cLlwd+lqpE7te+2W+MSETfrnLb0r05YT FVueMdbZwRfLQ== From: Roger Quadros <rogerq@kernel.org> To: davem@davemloft.net Cc: edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, vigneshr@ti.com, vibhore@ti.com, srk@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros <rogerq@kernel.org> Subject: [PATCH 0/5] net: ethernet: ti: am65-cpsw: Add suspend/resume support Date: Fri, 4 Nov 2022 15:23:05 +0200 Message-Id: <20221104132310.31577-1-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748572193183876220?= X-GMAIL-MSGID: =?utf-8?q?1748572193183876220?= |
Series |
net: ethernet: ti: am65-cpsw: Add suspend/resume support
|
|
Message
Roger Quadros
Nov. 4, 2022, 1:23 p.m. UTC
Hi, This series enables PM_SLEEP(suspend/resume) support to the am65-cpsw network driver. Dual-emac and Switch mode are tested to work with suspend/resume on AM62-SK platform. It can be verified on the following branch https://github.com/rogerq/linux/commits/for-v6.2/am62-cpsw-lpm-1.0 cheers, -roger Roger Quadros (5): net: ethernet: ti: am65-cpsw/cpts: Add suspend/resume helpers net: ethernet: ti: am65-cpsw: Add suspend/resume support net: ethernet: ti: cpsw_ale: Add cpsw_ale_restore() helper net: ethernet: ti: am65-cpsw: retain PORT_VLAN_REG after suspend/resume net: ethernet: ti: am65-cpsw: Fix hardware switch mode on suspend/resume drivers/net/ethernet/ti/am65-cpsw-nuss.c | 235 +++++++++++++++++------ drivers/net/ethernet/ti/am65-cpsw-nuss.h | 6 + drivers/net/ethernet/ti/am65-cpts.c | 76 ++++++++ drivers/net/ethernet/ti/am65-cpts.h | 10 + drivers/net/ethernet/ti/cpsw_ale.c | 10 + drivers/net/ethernet/ti/cpsw_ale.h | 1 + 6 files changed, 283 insertions(+), 55 deletions(-)
Comments
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Fri, 4 Nov 2022 15:23:05 +0200 you wrote: > Hi, > > This series enables PM_SLEEP(suspend/resume) support to > the am65-cpsw network driver. > > Dual-emac and Switch mode are tested to work with suspend/resume > on AM62-SK platform. > > [...] Here is the summary with links: - [1/5] net: ethernet: ti: am65-cpsw/cpts: Add suspend/resume helpers https://git.kernel.org/netdev/net-next/c/cef122d4cf5b - [2/5] net: ethernet: ti: am65-cpsw: Add suspend/resume support https://git.kernel.org/netdev/net-next/c/fd23df72f2be - [3/5] net: ethernet: ti: cpsw_ale: Add cpsw_ale_restore() helper https://git.kernel.org/netdev/net-next/c/eadb43437407 - [4/5] net: ethernet: ti: am65-cpsw: retain PORT_VLAN_REG after suspend/resume https://git.kernel.org/netdev/net-next/c/643cf0e3ab5c - [5/5] net: ethernet: ti: am65-cpsw: Fix hardware switch mode on suspend/resume https://git.kernel.org/netdev/net-next/c/1af3cb3702d0 You are awesome, thank you!