Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp413798ybt; Mon, 6 Jul 2020 12:25:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx60X+7PCVpMTl6v/OTG7AfZQYapVCSbkqlpQWLv0WYwfS5wtY4b7t3U/Li/UYfT1Mm9Fkx X-Received: by 2002:aa7:d693:: with SMTP id d19mr16558158edr.317.1594063514797; Mon, 06 Jul 2020 12:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594063514; cv=none; d=google.com; s=arc-20160816; b=yyMgwwWFh/ufMl1kD31Sl62q4wjEHRCX26+ZxKTAmWTJpZIdj3YWnUAtuAuzc+UIgU cZQv8hU+McZZ9lIpGrz35l5j38x+AJWGYkR+VQfm8WnkUsv5cUecLETd6m4mrA8p7HTr HqGkkpQSiJ0WelzTFSQtOBIgaOz1oUmkxugLJM3uZpEJrmntsagmiws7dIYfLvjGax/2 9yFBVNXASHh4exV85Ne27kahgaQb0n0O2sIUXU4hWkJ6R4WMARoste3eycCx54+26kpV gR6SnQr1pFrpL9MG/WjQpgd/C+Jv5DA9vbTYcjfQr0foWcPFYaXF9DDJXaX1d1nyNMr6 ehFg== 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=WKqzpIdeLeGq9q8R6YQeGyDvvVT+YOnLyAOTxNmJBg4=; b=TiRECIqFS/G7BSSun+mjkCRDTQ57wtR6RwVpAuNTbcW3GezgHvrcwHb9/U6FxX1RNX KT14h3cV8SUUPUol4igT+QoniiLBXK3uAtMUcOOSu43+6IDBxLc7ADJIsdeUCcKCVYYD OW818VrtM51UcGzDK3s8t+JzdywED0ksX8+8rzjqjZ57+lxR8/e1hU5fTQV3cNYfdM+L ea4DLXm1koaMOmjv7ST+3T3OcK3KlRL5TXghviNEJ8zdcq+1oBWEMxr6EI+94d7XFvLW iUVUiflbF0tnfaxD5QjoAGSEW/7+BRKo65QQSPYYLoSpSIT/J4RsJBHQIfOgV5nZpCNX HOXg== 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 dt2si16771851ejc.596.2020.07.06.12.24.51; Mon, 06 Jul 2020 12:25:14 -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 S1726694AbgGFTYd (ORCPT + 99 others); Mon, 6 Jul 2020 15:24:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgGFTYd (ORCPT ); Mon, 6 Jul 2020 15:24:33 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF43C061755; Mon, 6 Jul 2020 12:24:33 -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 4A3621275893A; Mon, 6 Jul 2020 12:24:32 -0700 (PDT) Date: Mon, 06 Jul 2020 12:24:31 -0700 (PDT) Message-Id: <20200706.122431.1990013952872766568.davem@davemloft.net> To: vaibhavgupta40@gmail.com Cc: helgaas@kernel.org, bhelgaas@google.com, bjorn@helgaas.com, vaibhav.varodek@gmail.com, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org Subject: Re: [PATCH v1 0/3] ethernet: sun: use generic power management From: David Miller In-Reply-To: <20200706085746.221992-1-vaibhavgupta40@gmail.com> References: <20200706085746.221992-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]); Mon, 06 Jul 2020 12:24:32 -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: Mon, 6 Jul 2020 14:27:43 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management callbacks > from sun 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 to net-next, thank you.