Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2065770imu; Thu, 17 Jan 2019 07:52:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KYhUnBaQUq7LeUAklf6FwbVjqzvAAhKGD70JuCPSg5MIZtwwN3j1iQKxMyP8znfnMcxaT X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr15471319pll.111.1547740339997; Thu, 17 Jan 2019 07:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547740339; cv=none; d=google.com; s=arc-20160816; b=JAqKHKWl15oi+Jv2L7k+PHLbi8QvWj9Qk3cVUUl795/ESXD9XHQSDUVJL+bIMvStBq X8X2gJ5Iq4M8wWbuiLLZW0kHtBokJrb3NeuswvJMXdyl+CrYSLFu5VfeR0AzlsD/XdlT /MpI+SUb0vhVti6bAAfVt4e89Km1pKmTWTqomuP0cS50Ng5mWpd5/3r+hWLvR8uF0FjF O+qnDILpe2SsjLZtFJqGN+S5kOfk1c3Rc5Zdy8x+IRjge0h9WzaZMuPmQeGPXOUGW0BM 8yEtnbnooNb3qfTfJKTqp4E1ksVzZiJOlpfKJ63Hu8+t3XAgzJ8RGt8HIJivVN0bJBmB 3vlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=PWoh6HjbxfVISvHhJYzJVlqw+h9yraSrbtQfEZajLaY=; b=S+U206kp8JxEusyF+KVOs5EKk1qMI+zpMLdYrem2WRpsYxtLWUatNtabbOF/7opqDN SsS2GnnGamHIEabdCsqyLDpyI5klGQU9YcznvFwB9aVNv2xCczTV8LtcCPezCWydvs2G +rGEApARq+voG/5XVgst2yObemQCXBrHMISftsk7FqULNmiRYphRgbu4Z1L6D31XpQsS ld7sxt7eVW8mNwMio0Sjf08AAz3RWyrcjqOm8ir45fmoUYDMEbdon7zMvLsQeIlimNTd GOCsNnIcWKWzg7HDwuW80mMCDLMpGdQwAWw1Jj4KeLEnw7twVOcPOl/0xp3/FLQvkJZH KFCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si1886787pgq.197.2019.01.17.07.52.03; Thu, 17 Jan 2019 07:52:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728184AbfAQPuz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 17 Jan 2019 10:50:55 -0500 Received: from mail.bootlin.com ([62.4.15.54]:42308 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726821AbfAQPuz (ORCPT ); Thu, 17 Jan 2019 10:50:55 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 11A3B20908; Thu, 17 Jan 2019 16:50:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from xps13 (aaubervilliers-681-1-37-87.w90-88.abo.wanadoo.fr [90.88.156.87]) by mail.bootlin.com (Postfix) with ESMTPSA id B4245206A7; Thu, 17 Jan 2019 16:50:52 +0100 (CET) Date: Thu, 17 Jan 2019 16:50:52 +0100 From: Miquel Raynal To: Vivien Didelot Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Gregory Clement , Antoine Tenart , Maxime Chevallier , Nadav Haklai Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: Add suspend/resume callbacks Message-ID: <20190117165052.6d1f1a58@xps13> In-Reply-To: <20190117104641.GD13242@t480s.localdomain> References: <20190116153419.3208-1-miquel.raynal@bootlin.com> <20190116155651.GC29244@lunn.ch> <20190116222329.GP29244@lunn.ch> <20190117104641.GD13242@t480s.localdomain> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, Vivien, Vivien Didelot wrote on Thu, 17 Jan 2019 10:46:41 -0500: > Hi, > > On Wed, 16 Jan 2019 23:23:29 +0100, Andrew Lunn wrote: > > Hi Florian > > > > > A possible approach could be to call the port_disable, port_enable > > > callbacks from dsa_slave_suspend() and dsa_slave_resume(), I might have > > > some patches doing that already somewhere. > > > > I expect it is also on Viviens TODO list, since this really could be > > in the core. > > Indeed that is! So, shall I wait for Vivien's patches (adding port_disable/enable() in dsa_slave_suspend/resume()) and keep the driver as-is or do you want me to manually call port_disable/enable() from the mv88e6xxx driver? Thanks, Miquèl