Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1033926ybh; Mon, 13 Jul 2020 07:43:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsHLPmUkrqx9hYg1apBGQ8GK46Z16KblkWRhBwjRGCZ7YTiqvDPDx49UX635U2H7U0p7Oq X-Received: by 2002:a17:906:e25a:: with SMTP id gq26mr139473ejb.152.1594651384554; Mon, 13 Jul 2020 07:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594651384; cv=none; d=google.com; s=arc-20160816; b=vnjK6w/JVsHbNkDfAgSRHNjeLq89Mz+J2CavWfbtVIo9rVb4wQ8geL+HwYXbUdbRhV VAJBVLf2ka75XDjQN0tXSRtDBxLzZQX4QaOjgWRTsUcKvEbIAqeDieGeBGRwZlIQi0z3 IpMsM6IG+Uo3dZ8nB5Clz2sp6aBmy6s/ryF28Dx3MEvV9RJbNS1hPrFGBaiwlTMjPEX5 3/SvG/7WJCn/coVa7M0HlCAnWql9c7S62kr7eD4OmugmhmSrVFQ+/NsDehcddZ59gzzH 29wD41y+gqrL/mdhIYeYrUcrH7XLC+f4A2iXDnyRDB/5t/FPHlSzo3RV4c8Qe8SmFFrr oMAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature; bh=njq6ToEc9s/UCKrW6LoyB1yXjuQt4PugDt/wNabnWog=; b=yRtkaid/EfT0sxjDTeLX6IK82EDHVFv17rmxLqnJ5fsi6xKX8ihnh/Tv7uGKXEogZu 5odjUJPw8EPb0YllPATFDiHNoGuWix01FCOR7nrwXccbYhaLWpPPH8UPj6/TuXlppKxW tvPHd26bhritJ5fF12yEY2kgKuz3oXPtwE2dzoBeEt/saUlP7/45uXN6WhiPL/oPLLS2 JzVmZ4S9EirVTLzCWGm8mMzur7J5SZRnzFsSUK0jn1wfRzMAhRho2Qx3mlxzNHpRUobH iqiGSuPoDpN2PEEKQXHlw3t2hfI02HONNHBSfq/35fWq5XKZTaaKSAn5R7tx/ktNCGN7 omuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gRf3asfS; 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 j23si8933828ejt.141.2020.07.13.07.42.41; Mon, 13 Jul 2020 07:43:04 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gRf3asfS; 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 S1729962AbgGMOmA (ORCPT + 99 others); Mon, 13 Jul 2020 10:42:00 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:59598 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729689AbgGMOmA (ORCPT ); Mon, 13 Jul 2020 10:42:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594651319; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=njq6ToEc9s/UCKrW6LoyB1yXjuQt4PugDt/wNabnWog=; b=gRf3asfSf2u09CNPEHTt37McXPlxONpVi6hrvmT9b1p+ZqXXAhIOFe+DFEWl+6gtQ/0wSt1I M5y93HHSxexMMAWdd7gPanZO5m0mgLYRltcloVB4UIsq6JpOLb2JwWwysCCgIB6OMgGRnkjc 6IY8n+NulRBHlwgifZNUSSX8C34= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5f0c72ad512812c070389aac (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 13 Jul 2020 14:41:49 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 62636C43395; Mon, 13 Jul 2020 14:41:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from x230.qca.qualcomm.com (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id D14A4C433C8; Mon, 13 Jul 2020 14:41:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D14A4C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Vaibhav Gupta Cc: Bjorn Helgaas , Bjorn Helgaas , bjorn@helgaas.com, Vaibhav Gupta , "David S. Miller" , Stanislav Yakovlev , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH v1 0/2] ipw2x00: use generic power management References: <20200629072525.156154-1-vaibhavgupta40@gmail.com> Date: Mon, 13 Jul 2020 17:41:44 +0300 In-Reply-To: <20200629072525.156154-1-vaibhavgupta40@gmail.com> (Vaibhav Gupta's message of "Mon, 29 Jun 2020 12:55:23 +0530") Message-ID: <87a703xys7.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vaibhav Gupta writes: > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management callbacks > from amd 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. > > Vaibhav Gupta (2): > ipw2100: use generic power management > ipw2200: use generic power management > > drivers/net/wireless/intel/ipw2x00/ipw2100.c | 31 +++++--------------- > drivers/net/wireless/intel/ipw2x00/ipw2200.c | 30 +++++-------------- amd ethernet drivers? That must be a copy paste error. But no need to resend because of this. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches