Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp607776ybt; Wed, 1 Jul 2020 06:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAfwcqhQUGt+dhR97xQgrj7fxa6DpOIouEH84MyoZbT00TVY7YiWuSP7NoiJ+Dem6AH+JU X-Received: by 2002:a17:906:2641:: with SMTP id i1mr15792285ejc.380.1593608976845; Wed, 01 Jul 2020 06:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593608976; cv=none; d=google.com; s=arc-20160816; b=VJHHjZUt+VAoPWyAz8fjvi6rhVdxYnTUojohTYeYf3FXSdqEuN0UnYv5/s1ki0vn7u kFilCg26c19X5kLNYjnxHBHuzFLcqPA39mT/Ib14WWiWg+C7KK8c1DAnOf3/EietjheY qbpQcNDMTNDmvuTemvrwD7Icl91hcTZkKmdGz4F8XS8ZArX5PyyXM53MpwFaSYv2SKVA sWcUyartVSlazf9EiSpdhUfAuyPSEdv3toSmvcXXmwFKM/pX/FSrb+36mLqnPWfQ3UZ9 U4L25AdqL5oFhdZbmZv2+a7v0Is2uGlpmvh81e7jfO4dik8dSF9AYY3dsoqs0kVVEQZ/ QneA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9kY42uCxSEDlX3revzJlre4DMiKVmK9aSIfC5G3GPgA=; b=WSCsMKHQs+bijAJw71Dz3f7jUatw9TQ8oGnj9f4LenX9nAIU31ixTa+2lvfXFqVhij Xk7UWpiefMs51uWvwoC76aERgqpGo3rAmBpT8DH8YYJMIyQMhEuE7WTWcVzsF2Kl10l9 fQ6xpkoJ63Lt3RbhBmq32BJo4B+5JaInnAeEJ+cmoC5u+TR0O4lURAIA4KI+PG0OAXZz B2FF6yyQf37+fcxuKgWFV05ADUPQNMF2v5HtyhZgMU9L4XLHCpN2OkXx6g+UtNWCwblq TaxLp6x0Y8QqdgtjZHGgrWC0fB535Ii2RIKL0YU/0X8dsSwo/k6K92hZmvyq3xWz2OFG baug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IPLWvNg7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du7si4963254ejc.341.2020.07.01.06.09.12; Wed, 01 Jul 2020 06:09:36 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IPLWvNg7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729768AbgGANHZ (ORCPT + 99 others); Wed, 1 Jul 2020 09:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729326AbgGANHY (ORCPT ); Wed, 1 Jul 2020 09:07:24 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E01CC03E979; Wed, 1 Jul 2020 06:07:24 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id x13so8498135vsx.13; Wed, 01 Jul 2020 06:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9kY42uCxSEDlX3revzJlre4DMiKVmK9aSIfC5G3GPgA=; b=IPLWvNg7xB9YDM41H4ZIbj7pUqpJxUUf6bQlgAewZm6nplKA41D08FBB6ZmVpl00hv 1h+98jspt/qOxgN/IOGAdiraQORCgx6+eTXMLcvsObveq6YxaLQzGRoIS1+gYz+g3ypJ egzNj6LteW7RypdcXqYLo83H8hljw7imwE/Io8SDLj0yzw59kpbmu3IGNJTE+N8ytWzQ QtDFmf6AVvM9xZHYGHbPZcjBT4xcpppoTf9uDSfzW2g3le6OMvaIfFVsb/StEGLeHV19 PlOpVAr035HOKZb/Ey9XbFG56mgoNFl7iwrDna4FbkGdQDP/0Ps8pAzUAo/8wqzfFack Xq8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9kY42uCxSEDlX3revzJlre4DMiKVmK9aSIfC5G3GPgA=; b=PH1uGWKPYM8p77ge1YeicFDXf3AccYU3Pq/3gu1ngg9xZZFP1FJgVQ12wQF6sH+JP6 TFJZNQvDIsulvVSVEgFEmkMrElJVgsxR7vUBoIHOq8x+AMDWOdyhJTRZVLUFZiyCbK4z JZ4+8OnlNOpTNpF8u9ci6yBXq/Pws94EMl2pUkhX4f9P1eKsvIN8q9T2R8+DNUMAeDeH 5GsfAyuvB9W9/mzO3uiwMTWxJAdEDO83GiZ8oXYHb1s+iw/WZbGMEt2uo1fYRfyIv4bn PJ9x3WGduchvqzegi0F/X1kCmiSag5yektr6djEC2JklSqZ+7GPFekAZqhnSgXiwLHJh ZgEQ== X-Gm-Message-State: AOAM532zBwiGvcThdP7/RatFyMSYJzm0i/7xRwhRJ1Z2VNM4kir/vbX8 qyUcuguq77xN/HiYAlfVG75JDwBYJ6CLkEu24KwYClTi5zg= X-Received: by 2002:a67:1d02:: with SMTP id d2mr3728739vsd.138.1593608843614; Wed, 01 Jul 2020 06:07:23 -0700 (PDT) MIME-Version: 1.0 References: <20200701125938.639447-1-vaibhavgupta40@gmail.com> In-Reply-To: <20200701125938.639447-1-vaibhavgupta40@gmail.com> From: Vaibhav Gupta Date: Wed, 1 Jul 2020 18:35:45 +0530 Message-ID: Subject: Re: [PATCH v1 00/11] net: ethernet: use generic power management To: Bjorn Helgaas , Bjorn Helgaas , Bjorn Helgaas , Vaibhav Gupta , "David S. Miller" , Jakub Kicinski , David Dillow , Ion Badulescu , Netanel Belgazal , Arthur Kiyanovski , Guy Tzalik , Saeed Bishara , Zorik Machulsky , Derek Chickles , Satanand Burla , Felix Manlunas , Denis Kirjanov , Ajit Khaparde , Sriharsha Basavapatna , Somnath Kotur , Tariq Toukan , Jon Mason Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 1, 2020 at 6:31 PM Vaibhav Gupta wrote: > > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management callbacks > from amd ethernet drivers. s/amd/net --Vaibhav Gupta > > 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. > > Vaibhav Gupta (11): > typhoon: use generic power management > ne2k-pci: use generic power management > starfire: use generic power management > ena_netdev: use generic power management > liquidio: use generic power management > sundance: use generic power management > benet: use generic power management > mlx4: use generic power management > ksz884x: use generic power management > vxge: use generic power management > natsemi: use generic power management > > drivers/net/ethernet/3com/typhoon.c | 53 +++++++++++-------- > drivers/net/ethernet/8390/ne2k-pci.c | 29 +++------- > drivers/net/ethernet/adaptec/starfire.c | 23 +++----- > drivers/net/ethernet/amazon/ena/ena_netdev.c | 21 +++----- > .../net/ethernet/cavium/liquidio/lio_main.c | 31 ++--------- > drivers/net/ethernet/dlink/sundance.c | 27 +++------- > drivers/net/ethernet/emulex/benet/be_main.c | 22 +++----- > drivers/net/ethernet/mellanox/mlx4/main.c | 11 ++-- > drivers/net/ethernet/micrel/ksz884x.c | 25 ++++----- > drivers/net/ethernet/natsemi/natsemi.c | 26 +++------ > .../net/ethernet/neterion/vxge/vxge-main.c | 14 ++--- > 11 files changed, 100 insertions(+), 182 deletions(-) > > -- > 2.27.0 >