From patchwork Wed Nov 23 12:48:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 2113 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2787518wrr; Wed, 23 Nov 2022 05:28:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf73+g0CnNLYRN+RBFnzZEYQ0B/AjqaECoH+FLtZYixhX25LmrJkhZVJaSPk1ONHHW0gjRqB X-Received: by 2002:a17:902:eb13:b0:189:44a2:4cb0 with SMTP id l19-20020a170902eb1300b0018944a24cb0mr2447825plb.44.1669210089449; Wed, 23 Nov 2022 05:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669210089; cv=none; d=google.com; s=arc-20160816; b=hNzNjrkdujTI9/N6o+tHTjLJwy9vTrgiiP/+xwnXRCsAeNvERDcmJ/h6AMOZnS4Lqi 6+8UbUkKNk6saU7HFwwXckEsm/hmd3ldgD+HzqrMKC6Guzp/yHbDVx3rOzfhrjkBeaf8 gBIKiTSHZToTMrUJ9l2c3M5vm0pi6rJddKW5TObISh/G3/Kcj4oCoZNuf58iA3xoMsLQ A/Fq8EXN7OVtEkEMbciSPZQCe8sFMdCsKSVpdfDzs5BUcKuA6VETMOxXf+7L66YSjTFz KE9/WY2xokGS7CAoD8zm7x7YJF0BnnkhpmIEYCRh7m3iACzxjNw2ehNU2aWLy5lDkLEl /ozw== 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=sqZOBmuVJAesOTPPO+E7vDprmmXG+vflDU1JgGSMnEg=; b=XhSalBNSuCx5nP3HPOy8aBDkMwXorNAKgnpVHt4D2oGKFaI5sIMqsG+PBu9MU4+ycP ezkP0O4jV/AJbb5LroO9TozlCwwp4eCrVinpeidyDJoonAvT5HNubpi39b0aCr8W1PsI zkSgUZoNagBEYm14Ea0HxNuNYHSXV8UtOTXMIXKk2Xyis9JMlau7mDJS9caypf3evsOu iXzg8YkgERZf4atd/Iw64WoCQxJfIqWDalTLhXpWKcFVZTaA7B5bLsiJEjOhxhkZxsLD fo5COA17FP4tW8OTk9HNe4yd60+4jtjYpibDi1ELozMZ6EoYKlqUPfIQmAVUdWuf0FF/ Yxkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=an+Nq3ZW; 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 p4-20020a170902e74400b0017b3392ca72si17730792plf.323.2022.11.23.05.27.55; Wed, 23 Nov 2022 05:28:09 -0800 (PST) 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=an+Nq3ZW; 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 S238526AbiKWNEV (ORCPT + 99 others); Wed, 23 Nov 2022 08:04:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238447AbiKWND4 (ORCPT ); Wed, 23 Nov 2022 08:03:56 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49C0AC903D; Wed, 23 Nov 2022 04:48:44 -0800 (PST) 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 CCFB0B81FA1; Wed, 23 Nov 2022 12:48:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10C1DC433D6; Wed, 23 Nov 2022 12:48:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669207721; bh=rcmfqjry3WMbHJQe08DgVDGXLxyJCZsz/TJx9Hxvat8=; h=From:To:Cc:Subject:Date:From; b=an+Nq3ZWmdc2ZhCYoKYKLqoyBKVFum+xKAClzDWKEyzi7eTuX3h/o7InwC4XPMbqT M49DJICIPfDOXwpfIfhrJA0h1UxAPB9IBKdMefSnNSXW7FVlkDEmpD6p9X1mpmdRoI 59ILnv8/s5vWfcIami5d2ClBr1U+6rM8vjlwLtqyGOWFB8ZOplJXWbuiVl/Ywd0sDX R3Qb0PTG9gbxnmVF2Kd2H5NDP7qN3gupBNtyTUSQQazZeXMkDxfF0S6n5RiKsCs7ri vyxXZ+MNAUQxd1L5THgouLMGaAqYGmEVFRrVlxQrVsPLiXabqoSYUAnX9+qsZ4+I4y 9nw/7qGtr7CWg== From: Roger Quadros To: davem@davemloft.net, maciej.fijalkowski@intel.com, kuba@kernel.org Cc: edumazet@google.com, pabeni@redhat.com, vigneshr@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: [PATCH v3 net-next 0/6] net: ethernet: ti: am65-cpsw: Fix set channel operation Date: Wed, 23 Nov 2022 14:48:29 +0200 Message-Id: <20221123124835.18937-1-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-7.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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750293638259428480?= X-GMAIL-MSGID: =?utf-8?q?1750293638259428480?= Hi, This contains a critical bug fix for the recently merged suspend/resume support [1] that broke set channel operation. (ethtool -L eth0 tx ) As there were 2 dependent patches on top of the offending commit [1] first revert them and then apply them back after the correct fix. [1] fd23df72f2be ("net: ethernet: ti: am65-cpsw: Add suspend/resume support") cheers, -roger Changelog: v3: - revert offending commit before applying the updated patch. - drop optimization patch to be sent separately. v2: - Fix build warning drivers/net/ethernet/ti/am65-cpsw-nuss.c:562:13: warning: variable 'tmo' set but not used [-Wunused-but-set-variable] Roger Quadros (6): Revert "net: ethernet: ti: am65-cpsw: Fix hardware switch mode on suspend/resume" Revert "net: ethernet: ti: am65-cpsw: retain PORT_VLAN_REG after suspend/resume" Revert "net: ethernet: ti: am65-cpsw: Add suspend/resume support" net: ethernet: ti: am65-cpsw: Add suspend/resume support 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 | 165 ++++++++++++----------- 1 file changed, 89 insertions(+), 76 deletions(-)