Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2204287imu; Thu, 17 Jan 2019 10:04:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN7xqigcmI+N2WVP33LlFUOVhfCCBvnoCRgBK4C9s/vf3uATELdm6koHsE/EEzhgvTLqa3mD X-Received: by 2002:a62:a209:: with SMTP id m9mr16135902pff.218.1547748259899; Thu, 17 Jan 2019 10:04:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547748259; cv=none; d=google.com; s=arc-20160816; b=TwHU1RDgEhRfRv1OKAafew3cf6GIlORdtO+bLcIEr4McM6QGPZ2+NaxQtPOFmvOrTg FISFwyqaLGyEpiuyjQ/0MEaqviKIst7tJ68YI7oSPQdPdD84VN21kynaIfMgYVYO3b49 gvyjqPKn6qh4dzZeHtS/D6Yx3ME9IPYZ5B5lX4yC86sHMBRKZF2irjGzpPr0SF4BvgNu 0VlO9+zXeCqRW5490+c2HS1vLyS86LiravXW9dLyi8M9D4HbS9RIPEUi1YTcuBZD3Qa3 FrKQe+WqyziE38Jw0x16PokMzmeYu8prb++qt29jDDPq3/Did3KBnqxxcrgTOOQ+7PiI w6Lw== 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 :content-disposition:mime-version:references:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature; bh=jHJk2JTrGPsgGJESLAmFG+JEDl1c8XvxhK7trGqKLyY=; b=l+xSUVr8LIPRSt+T6Oxq0RKlXdzVF39bg4ETy0ZKqoDe7V6RCElmJdP+8xYiGau/fE 19I1D+pd6Q7HSfvVqEVvlz1eLl50I4lK10O1u9SmBtPTRT2WflBCFJYf7yOmBQUyom3s WrSIg9VDGWMJtg6wAny0xuKAxcG2vJ5KDx5+pPsMv5ifUKXZYoeRWewBc+0CIzkKR5vb sBDI9UKYPwnCYqT152qsNc0z4vCdA0Fp/Xon2VLNMXE6Mtx2/ebsEwNvjaE9yOhqEGvp i/yZWdWt1xwIvqd0H7NvlSZG5Ecegwn+NnlY9q91ilSHksHvb9ugK7gOq/UpGR0tcltE h05Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dy87YF6n; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19si2247475pgq.215.2019.01.17.10.04.02; Thu, 17 Jan 2019 10:04: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dy87YF6n; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728321AbfAQPqp (ORCPT + 99 others); Thu, 17 Jan 2019 10:46:45 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:34831 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbfAQPqo (ORCPT ); Thu, 17 Jan 2019 10:46:44 -0500 Received: by mail-qt1-f196.google.com with SMTP id v11so11822916qtc.2; Thu, 17 Jan 2019 07:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=jHJk2JTrGPsgGJESLAmFG+JEDl1c8XvxhK7trGqKLyY=; b=dy87YF6nHNfQFAyyhEG/QprjUrGpaKSU4YoGhKkFIYDCuQLeM5wClc/wBILCuJl7Kb QH2q+P15pUSGg7TDdrHR0BXmmTaCRLc88rZW0X1cq5irbI/F2cHmDWvTn/D3aWtPmgUn 7Jd0+sk1514iAew+xmQDSaehtmwuDCgqVGO+LR36qkQs2U+gqq6F/ODhHmbz9W/fe/Po sveBvkX2z8sjgl7PFTIPg2CVIjChkyRjZ7Kmkc1Blq/lBwj32zB7N4S3JTNyQOeym/+v W/GpYjrreeoVvWWXGIv6FzQnboYRW7JW8fKxiNd9Y0jVhE41uu6g1jzMCMxRCkY/WXZY Lxkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=jHJk2JTrGPsgGJESLAmFG+JEDl1c8XvxhK7trGqKLyY=; b=LDN+55MDjNJv9LLzwQg4KbwVM8VNgyN0//ymjoJeB+v090Ad6pOKJoEgth0J/d5dwI 0pXVe7DUI6Ok+eFvSuPTZvl2fk4TMoM6EhqgCRyiUUwKIE4xI4z7Yylrm5nmtAsSTYeZ YgxAetRTDTp/EC6vyTLG6/hDrSDmUY/7Orcg8Yj7Xpb8htAjMW3Py5EkFEovsYmYgPo9 V61JbEUJu4zuYNhQ6tBBQecpLg4DOTq9Sj+nTZIBBwawihemoTCskRnDfu+VfBq3MA3t 6DLi6tCWMFxeD79dk6xspD3TojA6xl1BhNkWncOWxF73wqPy6TFXQNPhiNNBaKums+E3 k2Dg== X-Gm-Message-State: AJcUukdTdSAx6LiMif/uES0nSeohoacKLvnI4o4kGAtJT0W3pM4WLBHn kUoS53lGgpDbEwS4kZN+keM= X-Received: by 2002:ad4:50ca:: with SMTP id e10mr11312408qvq.20.1547740003219; Thu, 17 Jan 2019 07:46:43 -0800 (PST) Received: from localhost (modemcable249.105-163-184.mc.videotron.ca. [184.163.105.249]) by smtp.gmail.com with ESMTPSA id o42sm62686855qtc.90.2019.01.17.07.46.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 07:46:42 -0800 (PST) Date: Thu, 17 Jan 2019 10:46:41 -0500 Message-ID: <20190117104641.GD13242@t480s.localdomain> From: Vivien Didelot To: Andrew Lunn Cc: Florian Fainelli , Miquel Raynal , "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 In-Reply-To: <20190116222329.GP29244@lunn.ch> References: <20190116153419.3208-1-miquel.raynal@bootlin.com> <20190116155651.GC29244@lunn.ch> <20190116222329.GP29244@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!