Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4418290ybz; Tue, 28 Apr 2020 10:58:27 -0700 (PDT) X-Google-Smtp-Source: APiQypK+xAzFJD/MMPjHm/mx0yXVTqUnqMwI1MOYzfoAbi3MfXq+vrJaGBn9RiYb3qewp20GPsOl X-Received: by 2002:a50:f74c:: with SMTP id j12mr24019450edn.197.1588096707750; Tue, 28 Apr 2020 10:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588096707; cv=none; d=google.com; s=arc-20160816; b=xvy1m9R33PczvN17kX6stNQPGxHvpTpK8c6jxYicaWaTrclW8gGbhhXGGSDaaM4mpE fjsf3qcI/do8BeqPlEiiLJA8ILFfZOzJE4F3slqxhJndPlEl/yWx40Xj63ROvWhRuDx8 jOxra5vSV7Qg8ACFfPVa8llHfVD7t9TGSApjyXonCULsbo1vVN7p9fzD5whxgn+En3Fd 0q19OB/eWRZd1d6Pd2jWtTnR0G7kdqfCqgpzbHPugfxg3Y8VDSfivEUaAiQjSauPuFsd xB08eokJsXBu+oWmbJgfxK2wuUgr/Zh1uSRrswMM+YiGUooRE/22e0SUMdF8EyJ9KfQ6 kbsw== 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-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=kPRhUAruP9ZZUlUSalbcEM5n1KiKrGdKS/bI8RHpGas=; b=nBzxRTE1MX70Agv8rtuo020j5ssRNziiYdUNhh4mSOwg5SKgKqKsQKze5+epcNGQjz GkoZv8OrHmlbEYP3DaJG24c1CPdwvJXDVcsUJtVZXYyY7kOo8Z6AdtR+n775nrb3xTf1 gAY6XAmWp/d31qHsDoSuzj+Z8l6kbwhkht9EMUB82EEAk5SHPGVMBbXwdZTONCfurXEQ ubFYFG+5bdjM/TWlMtqThLgc7UcLz3Q83cVTzdaCEE0Ju0q0oNbuHX4OqYuItyrSm5v4 tsGI4maSkfGoZ61JkK5rfaUeN/P5MnynNTn+m6zjy8cnnFVqtSvZ3UklHuSctV6S7cWq sZMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VzIrlcfl; 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 s7si2015463edh.266.2020.04.28.10.58.04; Tue, 28 Apr 2020 10:58:27 -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=VzIrlcfl; 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 S1728333AbgD1RyW (ORCPT + 99 others); Tue, 28 Apr 2020 13:54:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728023AbgD1RyW (ORCPT ); Tue, 28 Apr 2020 13:54:22 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2AD2C03C1AB; Tue, 28 Apr 2020 10:54:20 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id g12so3872887wmh.3; Tue, 28 Apr 2020 10:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kPRhUAruP9ZZUlUSalbcEM5n1KiKrGdKS/bI8RHpGas=; b=VzIrlcflOdjeR1fwYDtSL89m6SsO89lykIMEOlJGtenVL2zFa2SH6rFqFT2UjF9URv x32R7h+ehd5+fCqDs4i2QqTqMtbtJq7ksUvi3NPdpi4zt8iCnqxR7eHuiXWsh0iFPQdd VW3ZJ8CLhQuk5ZyRewNoQE9q53fMqZgE4MJgZYHYFO6pZU4HswzKQfJTV9Ie76OTWKy4 Oag+9MLENJI88mGlyNlnpYFfJCaiw3rj0OlZcqNzrEVAKj16nsAqby9J1nicQvGyu8RQ CNSkSX4q9L1knk3X4R3ywUWJQxzv/GWi0t1T9RoFMNDgTjBKPf6xC5/MYBEu52PTum69 GdPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kPRhUAruP9ZZUlUSalbcEM5n1KiKrGdKS/bI8RHpGas=; b=ID8UskAHzvuGTSMwkbP5SlpBo2LcGs+qmrISvfCKQaoiYH3Gwxysqd2UVFl0GBc1lX u97dAK1SVv1FerPQA+ReknqBdep9VTOBvDr0PyIuUEqbzjiE8n+D5rtW7cGkCeA3hQV2 FXVBgThvIoUq59x+ixLYLARsEIMnE6BkYKebU9rhmxM45/J1V5nPyYE+IWXuuvumqLX3 ZUnLinpuzCQYaAqyF47veOPRb3Tb5tT3dkkC0cQEYETrISKUi4GPThKkKFZgDBIqWHtN RVsTpC3pNSr7SeF9n/4Jwud4EOuqm7IyI/wjM1r0cGWivHXfNNG0VohcigGD6ymIx8qC KTng== X-Gm-Message-State: AGi0PuZFuhmvQXxLhbbNbdq0cBG0dgw+WnjJjXlo4yyTGPz3CVoNxlUD XXZq8nArTgZ+moF9fHUUQsw= X-Received: by 2002:a7b:c181:: with SMTP id y1mr6170922wmi.83.1588096459599; Tue, 28 Apr 2020 10:54:19 -0700 (PDT) Received: from ?IPv6:2003:ea:8f3a:4f00:8150:1bad:dbab:ce5a? (p200300EA8F3A4F0081501BADDBABCE5A.dip0.t-ipconnect.de. [2003:ea:8f3a:4f00:8150:1bad:dbab:ce5a]) by smtp.googlemail.com with ESMTPSA id j17sm29522553wrb.46.2020.04.28.10.54.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Apr 2020 10:54:18 -0700 (PDT) Subject: Re: [Linux-kernel-mentees] [PATCH v2 0/2] realtek ethernet : remove legacy power management callbacks. To: Vaibhav Gupta , Shannon Nelson , Jakub Kicinski , Martin Habets , Vaibhav Gupta , netdev@vger.kernel.org, Bjorn Helgaas , Bjorn Helgaas , bjorn@helgaas.com, linux-kernel-mentees@lists.linuxfoundation.org, rjw@rjwysocki.net Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, skhan@linuxfoundation.org References: <20200428144314.24533-1-vaibhavgupta40@gmail.com> From: Heiner Kallweit Message-ID: Date: Tue, 28 Apr 2020 19:54:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200428144314.24533-1-vaibhavgupta40@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28.04.2020 16:43, Vaibhav Gupta wrote: > The purpose of this patch series is to remove legacy power management callbacks > from realtek ethernet drivers. > > The callbacks performing suspend() and resume() operations are still calling > pci_save_state(), pci_set_power_state(), etc. and handling the powermanagement > themselves, which is not recommended. > Did you test any of the changes? If not, then mention this at least. A typical comment in the commit message would be "compile-tested only". In addition the following should be changed. [Linux-kernel-mentees] [PATCH v2 0/2] Use [PATCH net-next v2 0/2] instead. > The conversion requires the removal of the those function calls and change the > callback definition accordingly. > > Vaibhav Gupta (2): > realtek/8139too: Remove Legacy Power Management > realtek/8139cp: Remove Legacy Power Management > > drivers/net/ethernet/realtek/8139cp.c | 25 +++++++------------------ > drivers/net/ethernet/realtek/8139too.c | 26 +++++++------------------- > 2 files changed, 14 insertions(+), 37 deletions(-) >