From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE486CA0EC4 for ; Tue, 12 Aug 2025 08:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K7e8CHb+7pxSeZnIxVAzyVqqJXnBNnNeosk2mQgYDM0=; b=4NDEICeJlUA3sntG31E3ZKY7zv up7JBSZOZvW+G7OTYf8Elsrg776pxWzTh+tZRVp5XcJYgwZE3Sqe8e3zzw8ryo65/EomaQT5yzJ39 IVAYeoNLSHBycVGcCLdv4Z77MQltZeW/HGxnRYiyiTvI5FlbPP5DT8H5f3p9IEFGMk3TI9VWVOzrn /FPchcwnwMYoEEhvIpQgSAdeFsFAPfNXq6HuDCLw3ZdA6yP8eGJzZdXmJ4WsgNaVyPpHf72uXr9QH 5qVXqw+COmQQMbK+iD/BSpoFhgOogtOSM3WpIqpL3Byu4HbAxMRpATfiM0HVbXCYX4z+1A5RqxAwH hP7bKvmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uljyP-0000000ABxt-3nci; Tue, 12 Aug 2025 08:03:09 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uljqI-0000000AAJK-1XSn; Tue, 12 Aug 2025 07:54:47 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 550C4443EC; Tue, 12 Aug 2025 07:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1754985283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K7e8CHb+7pxSeZnIxVAzyVqqJXnBNnNeosk2mQgYDM0=; b=jW3hN6v/hT09ux7QDh2APdvmQBXhci7+vu+3TRLZ9L0zkd4VExvz7Eu0cewqcuqaiUTUBP ygvGNQL9qKl4K3koNNXNuc+rGknw+tubblMZchuovNlRw6joEoFn5Eoy/G/AfR3fmf0RJy xa3hdgybkToThjt2GzvWKnQTFFQoRkKh3WPH0N6nCGBhssDgDDAX4M1Q3pTLlzGX5ctyqW fuL/IpcxBpDfPw+4ij9xL+HobNqhpamIPlASuUQ90+s05PK2elLI9ScQgTfGj5LQ+thF5j 50HJzqEIwIW93Cbt+VEtY+1y5DDtxvkocwvz7eOyoKBjxFWCed+ROYDDLdzQ4g== Date: Tue, 12 Aug 2025 09:54:40 +0200 From: Maxime Chevallier To: "Russell King (Oracle)" Cc: Andrew Lunn , Heiner Kallweit , Alexandre Torgue , Andrew Lunn , AngeloGioacchino Del Regno , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Matthias Brugger , Maxime Coquelin , netdev@vger.kernel.org, Paolo Abeni Subject: Re: [PATCH net-next 3/9] net: stmmac: platform: legacy hooks for suspend()/resume() methods Message-ID: <20250812095440.4dd9e79d@fedora.home> In-Reply-To: References: Organization: Bootlin X-Mailer: Claws Mail 4.3.1 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddufeegjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfgjfhhoofggtgfgsehtjeertdertddvnecuhfhrohhmpeforgigihhmvgcuvehhvghvrghllhhivghruceomhgrgihimhgvrdgthhgvvhgrlhhlihgvrhessghoohhtlhhinhdrtghomheqnecuggftrfgrthhtvghrnhepgeevledtvdevueehhfevhfelhfekveeftdfgiedufeffieeltddtgfefuefhueeknecukfhppedvrgdtudemtggsudelmeekugegheemgeeltddtmeeiheeikeemvdelsgdumeelvghfheemvgektgejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdgrtddumegtsgduleemkegugeehmeegledttdemieehieekmedvlegsudemlegvfhehmegvkegtjedphhgvlhhopehfvgguohhrrgdrhhhomhgvpdhmrghilhhfrhhomhepmhgrgihimhgvrdgthhgvvhgrlhhlihgvrhessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepudeipdhrtghpthhtoheprhhmkhdokhgvrhhnvghlsegrrhhmlhhinhhugidrohhrghdruhhkpdhrtghpthhtoheprghnughrvgifsehluhhnnhdrtghhpdhrtghpthhtohephhhkrghllhifvghithdusehgmhgrihhlrdgto hhmpdhrtghpthhtoheprghlvgigrghnughrvgdrthhorhhguhgvsehfohhsshdrshhtrdgtohhmpdhrtghpthhtoheprghnughrvgifodhnvghtuggvvheslhhunhhnrdgthhdprhgtphhtthhopegrnhhgvghlohhgihhorggttghhihhnohdruggvlhhrvghgnhhosegtohhllhgrsghorhgrrdgtohhmpdhrtghpthhtohepuggrvhgvmhesuggrvhgvmhhlohhfthdrnhgvthdprhgtphhtthhopegvughumhgriigvthesghhoohhglhgvrdgtohhm X-GND-Sasl: maxime.chevallier@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250812_005446_540509_60CE4509 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 11 Aug 2025 19:50:53 +0100 "Russell King (Oracle)" wrote: > Add legacy hooks for the suspend() and resume() methods to forward > these calls to the init() and exit() methods when the platform code > hasn't populated the two former methods. This allows us to get rid > of stmmac_pltfr_suspend() and stmmac_pltfr_resume(). > > Signed-off-by: Russell King (Oracle) Reviewed-by: Maxime Chevallier Maxime