Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2511390pxa; Mon, 3 Aug 2020 18:49:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxENDC6r0FjThilQf1yt/qez+9/Dxd5vTovRzqdTEUV+J0oVNJeTOWQ8Kpqm3BxbC3tUeSq X-Received: by 2002:a50:fd19:: with SMTP id i25mr18972815eds.101.1596505796894; Mon, 03 Aug 2020 18:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596505796; cv=none; d=google.com; s=arc-20160816; b=Bu4ewqMoxqTNUYsCNOKmJWK+KyadK27BUBngkpJnKPEYlBMx3RXb05CeqOx6DpvxWj ULFwoYhHEeNcB50fiZ5yi6Ja7sNQVNocmEgJkPHyu+7rm/nqYJHG1vgQWDNMDushvofb iJ2r2gHo4CXnhCkcKM+I8ByBIrCO43lNamfQkjJ7hx1oZnOEqld2uhKdyLC+q3ICQFpm KCTr24bJCC8ISZsSj1g99/oFkO4BwwsffVqBDvPVL1b4Uj0oxUjeLrK8bW1BYb3+fqN1 cOuzDOkOTYna0VRBYC+s/LETFZIb4CTSsXy0tPrLc189+Bjk8YiGpUt6vYLEzqmHogNk UAtg== 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=jKr33vSQuilpoyNXNAx4sU5unX6r6Gg2FBwNVhU9zDY=; b=irhNkPcUmQqpqE4j+8X7Hbf6CDzofVhkg6oc8bG8SZIt/q/1iwrRrcB/FCWco+v8b3 fTH4r450qdu3IAkZBgGEJwlXclRVy4wN0nlPKurhpPsN5vn9vYw51os9huLXWQYiczGj KXbWuR/H0v0SPqbGKM/8lFNydivzX7osNEosf8QksyfStbfDAV0YIXpDz80Vdx3Wefr3 gLX5g8BIxHur5VYB6foG6wqCiRCTQi65PZsQ+M3vv55Q514R1cTGw7mFOPDIWMknXtMW dytbDpbIDY4Q99UEgqvLAc0X5HV06ftgEbLUVWZtFA35F6wr/EXEWezHichzq9OikW9l xqXA== 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 i20si11906906edg.519.2020.08.03.18.49.34; Mon, 03 Aug 2020 18:49:56 -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 S1729185AbgHDBtL (ORCPT + 99 others); Mon, 3 Aug 2020 21:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726823AbgHDBtK (ORCPT ); Mon, 3 Aug 2020 21:49:10 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98108C06174A; Mon, 3 Aug 2020 18:49:10 -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 5C318127931A0; Mon, 3 Aug 2020 18:32:24 -0700 (PDT) Date: Mon, 03 Aug 2020 18:49:09 -0700 (PDT) Message-Id: <20200803.184909.1734178815773797142.davem@davemloft.net> To: vaibhavgupta40@gmail.com Cc: helgaas@kernel.org, bhelgaas@google.com, bjorn@helgaas.com, vaibhav.varodek@gmail.com, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, linux-ide@vger.kernel.org Subject: Re: [PATCH v3 0/3] drivers: ide: use generic power management From: David Miller In-Reply-To: <20200713173613.2095-1-vaibhavgupta40@gmail.com> References: <20200713173613.2095-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, 03 Aug 2020 18:32:24 -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, 13 Jul 2020 23:06:10 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management callbacks > from ide drivers. > > The suspend() and resume() callbacks operations are still invoking > pci_save/restore_state(), pci_set_power_state(), pci_enable/disable_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. Series applied.