From patchwork Mon Jan 6 11:51:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 13927219 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21FD01A76C7 for ; Mon, 6 Jan 2025 11:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736164318; cv=none; b=iGVOVpLjhADAEW5C4JawoJ49FJcRCyCPIjdJ6nPt8usE39yFCvDDl23NXdPojVhpR9o5bsLhK+4KT4atmvVcT+EImT31vLXBmAn6x1gyRoWg2tvW0Kxpz2Hgf6O1yvMERCesCrqQSKrJgXhNWWV29eHa+XeMz0ly7h4d3c5p31E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736164318; c=relaxed/simple; bh=akvpcnh4PQqqehsWxdyG+fFQB/OT7GrQsbAcTyDY54E=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=EN3wmNOnyhBQuQyPfnhqxlpaIICyyJ6UAH/thVLIikp7f1UJGYQgZEHIhTpbnDTth0KMZ7BtNpzspXF7QBHPd9TH3b8w+jDQz+sNQkGUbJf9uArLLUbpFTkTF06/ZxYPuZdkKQvn1VOINVQ2nDRekW+V++JKSt3nHhrHo4twdoM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=BZTwCfG3; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="BZTwCfG3" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ukh1qgZ0Pyc6AEGHQTNHG7mtyRNJrHvmAWhwQAtmx+I=; b=BZTwCfG3bkIuyi+CJHakP1R3ns hTOmH653YysrU0BwA2ihN6FdnGy9C88m67hLbo0EOuvbP8Kp88Zv2CTfAJdcBkJnGyXGFGMvkh+bk +cOJvlNNwQQM8kpvtGTrA0jYHsC2y/yT3TfAcKqGRrKzNSYLqkmytQMW4OkyQ7irrWMA9Qa0JR4t7 cgyjMQcXdoYqbK8tZ9q2y4nt4/mgoECoFqIYzYJnWtS71NjP/B09cQOpx2Spwq1wZU54xV4p8wrXV HkOrYgMN3vcXMb47pb6aUCc/ymUE28abFG3LuyXmobO9y7tYFKkplj+92baoYb4r7uJQZWKvnyH1J 7rYZpjDw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35088) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tUldx-0005jL-2L; Mon, 06 Jan 2025 11:51:37 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.96) (envelope-from ) id 1tUldr-0004FT-16; Mon, 06 Jan 2025 11:51:31 +0000 Date: Mon, 6 Jan 2025 11:51:31 +0000 From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: AngeloGioacchino Del Regno , =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Daniel Golle , "David S. Miller" , DENG Qingfang , Eric Dumazet , Florian Fainelli , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Matthias Brugger , netdev@vger.kernel.org, Paolo Abeni , Sean Wang , Simon Horman , UNGLinuxDriver@microchip.com, Vladimir Oltean , Woojung Huh Subject: [PATCH net-next 0/9] net: dsa: cleanup EEE (part 2) Message-ID: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Sender: Russell King (Oracle) X-Patchwork-Delegate: kuba@kernel.org This is part 2 of the DSA EEE cleanups, removing what has become dead code as a result of the EEE management phylib now does. Patch 1 removes the useless setting of tx_lpi parameters in the ksz driver. Patch 2 does the same for mt753x. Patch 3 removes the DSA core code that calls the get_mac_eee() operation. This needs to be done before removing the implementations because doing otherwise would cause dsa_user_get_eee() to return -EOPNOTSUPP. Patches 4..8 remove the trivial get_mac_eee() implementations from DSA drivers. Patch 9 finally removes the get_mac_eee() method from struct dsa_switch_ops. drivers/net/dsa/b53/b53_common.c | 7 ------- drivers/net/dsa/b53/b53_priv.h | 1 - drivers/net/dsa/bcm_sf2.c | 1 - drivers/net/dsa/microchip/ksz_common.c | 15 --------------- drivers/net/dsa/mt7530.c | 13 ------------- drivers/net/dsa/mv88e6xxx/chip.c | 8 -------- drivers/net/dsa/qca/qca8k-8xxx.c | 1 - drivers/net/dsa/qca/qca8k-common.c | 7 ------- drivers/net/dsa/qca/qca8k.h | 1 - include/net/dsa.h | 2 -- net/dsa/user.c | 8 -------- 11 files changed, 64 deletions(-) Changes since RFC: - Removed removal of phydev check in net/dsa/user.c - Addition of mt753x changes