Received: by 10.213.65.68 with SMTP id h4csp2479106imn; Mon, 2 Apr 2018 08:16:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/RJFRB/ebTJbSf9RMhzQelPOtihNpTSYMZXp/VO/HxZQJ4fS3lWoVH9/MEZ/mMxzHUQjTL X-Received: by 10.167.131.217 with SMTP id j25mr7573637pfn.5.1522682199317; Mon, 02 Apr 2018 08:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522682199; cv=none; d=google.com; s=arc-20160816; b=yPgkz89vVpCeYTUoxUuzVqb85Y0C554x2GVVQyggXd8nsCCguNbNESLWnU3SWGc0m1 e3aNGqxZCJViwzymjhZkoarJlGbO5y0C48sGr8q/HSElh3sfFGAyMiO+pyasmr/Exglg uzGvrYYXMXm2pePmQj+SjDOj07hC5v2lrI0Sjqitw52Te6b6qUXYabONut74OU5rnLCk ammrGugLyLGXJub9kyMEk+z0dZuDBmjvx9T+AjSZJ7mJ46XZhoxlaqGsRgyQ0rkEIHhu AjRNm7XwSh0htXQKc5SN0iwXyVWj31Fl8NnpZzzDnG2V64XtGhOfrwv8QdGpFlYTTcoD zaDg== 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 :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=vNpMIhAnRGxPUERGPgjJauRypVWt6+nXvRXBrYh88vk=; b=DlgZYjs3CuQNPkNuw4xZQu8/dFxeFaggo1yWUQaB3Md5mnqiyTr41h+aunEm4wTx7v 4QY6IH54348jkua6FAgUL88m4rZdAz0BUUNZm3t4u24V8A0Ei46ooCA8PeJ3wsJDlFNh Ktvgt+c8RGgF4wM7rUNolpNVwLFGxdeAX74rQnoNh6gIFx49hYYfrxQoDixmhRpOgzei aoP/UW0kJbQFPS7m+W2luVhtjYt89Oc1DkCLOZYKuF8Yq5hNP/v47+coy9QoLMUBFy6O Ts5Tvu4FlnH+TU10keKj7U2aRHs3DI5Mm5C5pkQqX/oiGWAJG4iQyzrR2MqzQKp4r6+N 2IyQ== 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 m12si342403pga.698.2018.04.02.08.16.25; Mon, 02 Apr 2018 08:16:39 -0700 (PDT) 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 S1752764AbeDBPOi (ORCPT + 99 others); Mon, 2 Apr 2018 11:14:38 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:38424 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbeDBPOg (ORCPT ); Mon, 2 Apr 2018 11:14:36 -0400 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id AE58212F78B6E; Mon, 2 Apr 2018 08:14:35 -0700 (PDT) Date: Mon, 02 Apr 2018 11:14:34 -0400 (EDT) Message-Id: <20180402.111434.124774623285634501.davem@davemloft.net> To: Jisheng.Zhang@synaptics.com Cc: thomas.petazzoni@bootlin.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] net: mvneta: improve suspend/resume From: David Miller In-Reply-To: <20180402112229.508e1feb@xhacker.debian> References: <20180402112229.508e1feb@xhacker.debian> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 02 Apr 2018 08:14:36 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jisheng Zhang Date: Mon, 2 Apr 2018 11:22:29 +0800 > This series tries to optimize the mvneta's suspend/resume > implementation by only taking necessary actions. > > Since v2: > - keep rtnl lock when calling mvneta_start_dev() and mvneta_stop_dev() > Thank Russell for pointing this out > > Since v1: > - unify ret check > - try best to keep the suspend/resume behavior > - split txq deinit into sw/hw parts as well > - adjust mvneta_stop_dev() location Series applied, thank you.