Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1301246imu; Wed, 16 Jan 2019 16:44:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN6XzUWv6b6jVAOYgtFXZVGC6XDDI8IQ6Nat3q8b3djqVLbTC9rHgs5CYsBzkWnVdQhLnWqC X-Received: by 2002:a63:e156:: with SMTP id h22mr11511206pgk.255.1547685888880; Wed, 16 Jan 2019 16:44:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547685888; cv=none; d=google.com; s=arc-20160816; b=QdsIxoyg9c0MuhoCCFlMrHOWGY5GQVoZ9Khn4giseUU47nioOiVZ+i76bBUqAaOn7B J3mxgjGgaQ0z+ThVuMP6A7Mj6iHdEP03SKUA6T+gIJ5vCOa6LDMO2AhC+qym35eRuV7K EHbCzthTG7ZYDAicAnN/c6A8DSl4X/clQWK2ALlt6ZIUFQquJ9vWbePtcOg9vOfO4KaT gIRDli449CBII2MOR0A+MNb6mr/R/dIkYqjoZC0UzaE2moBDsrM7+/QyayXSpOmRuFLQ 9uuD72QUhNsYYcsHmbf7V/M9hpJjcBvWPVqN3dUqD55moBgp3Xcx9sHW50GEyTGG0TxQ RB+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NCCrvL2IiMEG1Ja+vgPXwz8tN7y6R94eLBQnfEZBVgY=; b=hGYKjqGhVBC8Tg4xp3XC6Bf5PO6zyXmx/0T5LpmhlcfD19OphLwihHK01cMTzOGnp/ 2DjQMVT9aIM3a5pr4TpcxPsRPVDHpjwrMTXQsJVzXi6rqkI6lByJ6yejlrn0aSO7RVif ij/f/0VPrEClq7aW9J0qnN4Fvlpm1Z4P9yBAHZrjnq1sIMj250uhX+1pbP0adR97mf+S IuZbc3juCfYhFIedqFaXeFuRRUizEwUv42oY33WXwJqRH9+UivGRodtDJ452nSuQR+nM LWnPxsECNC0/AgWQ14qyeDpp/+r9a75IPfrquGVipUbXfMXlMpZkL/rgf9WIBBC6I28C mcrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=nPhfsH5M; 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 e129si7206490pgc.333.2019.01.16.16.44.33; Wed, 16 Jan 2019 16:44:48 -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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=nPhfsH5M; 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 S1733122AbfAPWXe (ORCPT + 99 others); Wed, 16 Jan 2019 17:23:34 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:45903 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730894AbfAPWXd (ORCPT ); Wed, 16 Jan 2019 17:23:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=NCCrvL2IiMEG1Ja+vgPXwz8tN7y6R94eLBQnfEZBVgY=; b=nPhfsH5Mh6fKa2Swf3wVZHPukZQ5lDS1TyVOogkq7jxoH1s3Do88WPGJmRtRnjUTIEAUZxBEJw3VGgQmErHM1GvxPe5zMZ5esoR/1DNkLw0GnOe4AHNq8uATuXLJ1p0h8gsHlKY5x4IY58u95fYpEzq5tNDC7BzRYJc89ne3Wos=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gjtar-0002uO-LX; Wed, 16 Jan 2019 23:23:29 +0100 Date: Wed, 16 Jan 2019 23:23:29 +0100 From: Andrew Lunn To: Florian Fainelli Cc: Miquel Raynal , Vivien Didelot , "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: <20190116222329.GP29244@lunn.ch> References: <20190116153419.3208-1-miquel.raynal@bootlin.com> <20190116155651.GC29244@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Andrew