Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp903356ybt; Wed, 1 Jul 2020 13:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVzV3iSs5Wy4Kqi792oBqYdk8uua6Xvzf/TnkH+JqC2SC1voB7NRHU104p1wapXkJmscpj X-Received: by 2002:a05:6402:318d:: with SMTP id di13mr19940816edb.172.1593633606045; Wed, 01 Jul 2020 13:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593633606; cv=none; d=google.com; s=arc-20160816; b=mC713L4RsIDqhjodiaYgW5NxRmbHswq/gT0igjtqfnen8KPrQKp3kkmpbBJ7ZG5DZL T08Ren0mtynNPkk7Lri2IPeaiynAppFzkCKA1HtiOhjHuu21K9GnxbMkbNIxKYxu7S9Q SJwcdlY2Du/Ya9CcBPv8B5eBtSq8BKFbrwezFG1LLZYr4tvGwe8NtnLiqox0tQTrLOGb BLRpTTfI5c2LDogDLgw4AQkQeUJbXJcgvJvf+AONuULWZ4CEwrC+Z02b07eebuopeNhG mpQqFOxovRk7AeXaUq4H/4bq7Zdji1M+x1KBZWOtWYvWUia4ri8mMZEd+SWtOJzGtVHX Acvw== 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; bh=vT9TR+uciEA8j77LbuCqOCZxxllw5lpOIiGRoIipQYQ=; b=ENTJ8IIXTLwMViDjFlOHQ5R9la3kD3xvnrkkGF8cvkqfbtM9PAnfOVinD/dNgOPUA2 Ukzeif4Mq1I/vQ+NCKPlbFIdyi2Quka6eggOGH109b2VObEf4fZc2Wd94Kl4PoWAXaDK WUMz53Rqj8gOJvE8undCp8RMxqmqdALC5EoQ2stlJT0MFwpKIjAgwd06pbyPleyd4GeN ly4RQsGcOgKAB9fTbfu9OuROvWONaiIDRl9qBpERWPpedCjqqbFelFNUsbE8j++yEX/6 Sy3CGpc8s69GVZUXNVLwH74BLM3H8fwdLcT2l0FuEt/4odbGrg14zAXtlM9ac5NBxGrZ AHcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq5si4371615ejb.110.2020.07.01.12.59.42; Wed, 01 Jul 2020 13:00:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727022AbgGAT7A (ORCPT + 99 others); Wed, 1 Jul 2020 15:59:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726956AbgGAT66 (ORCPT ); Wed, 1 Jul 2020 15:58:58 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90F13C08C5C1; Wed, 1 Jul 2020 12:58:58 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 2903213B1B225; Wed, 1 Jul 2020 12:58:55 -0700 (PDT) Date: Wed, 01 Jul 2020 12:58:53 -0700 (PDT) Message-Id: <20200701.125853.2256200190486287898.davem@davemloft.net> To: vaibhavgupta40@gmail.com Cc: helgaas@kernel.org, bhelgaas@google.com, bjorn@helgaas.com, vaibhav.varodek@gmail.com, kuba@kernel.org, dave@thedillows.org, ionut@badula.org, netanel@amazon.com, akiyano@amazon.com, gtzalik@amazon.com, saeedb@amazon.com, zorik@amazon.com, dchickles@marvell.com, sburla@marvell.com, fmanlunas@marvell.com, kda@linux-powerpc.org, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, tariqt@mellanox.com, jdmason@kudzu.us, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org Subject: Re: [PATCH v2 00/11] net: ethernet: use generic power management From: David Miller In-Reply-To: <20200701165057.667799-1-vaibhavgupta40@gmail.com> References: <20200701165057.667799-1-vaibhavgupta40@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 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]); Wed, 01 Jul 2020 12:58:56 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vaibhav Gupta Date: Wed, 1 Jul 2020 22:20:46 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management callbacks > from net ethernet drivers. > > The callbacks performing suspend() and resume() operations are still calling > pci_save_state(), pci_set_power_state(), etc. and handling the power management > themselves, which is not recommended. > > The conversion requires the removal of the those function calls and change the > callback definition accordingly and make use of dev_pm_ops structure. > > All patches are compile-tested only. Series applied, thanks.