[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6115b301-680b-fb22-ae9e-2dea13b47536@huawei.com>
Date: Tue, 27 Oct 2020 17:11:52 +0000
From: John Garry <john.garry@...wei.com>
To: Vaibhav Gupta <vaibhavgupta40@...il.com>,
Bjorn Helgaas <helgaas@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Bjorn Helgaas <bjorn@...gaas.com>,
Vaibhav Gupta <vaibhav.varodek@...il.com>,
Adam Radford <aradford@...il.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Adaptec OEM Raid Solutions <aacraid@...rosemi.com>,
Hannes Reinecke <hare@...e.com>,
Bradley Grove <linuxdrivers@...otech.com>,
Don Brace <don.brace@...rosemi.com>,
James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
Kashyap Desai <kashyap.desai@...adcom.com>,
Sumit Saxena <sumit.saxena@...adcom.com>,
Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
Sathya Prakash <sathya.prakash@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
Suganath Prabu Subramani
<suganath-prabu.subramani@...adcom.com>,
Jack Wang <jinpu.wang@...ud.ionos.com>
CC: Shuah Khan <skhan@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>,
<linux-kernel-mentees@...ts.linuxfoundation.org>,
<linux-scsi@...r.kernel.org>, <esc.storagedev@...rosemi.com>,
<megaraidlinux.pdl@...adcom.com>,
<MPT-FusionLinux.pdl@...adcom.com>,
chenxiang <chenxiang66@...ilicon.com>
Subject: Re: [PATCH v3 13/28] scsi: hisi_sas_v3_hw: use generic power
management
On 01/10/2020 13:24, Vaibhav Gupta wrote:
> Drivers should do only device-specific jobs. But in general, drivers using
> legacy PCI PM framework for .suspend()/.resume() have to manage many PCI
> PM-related tasks themselves which can be done by PCI Core itself. This
> brings extra load on the driver and it directly calls PCI helper functions
> to handle them.
>
> Switch to the new generic framework by updating function signatures and
> define a "struct dev_pm_ops" variable to bind PM callbacks. Also, remove
> unnecessary calls to the PCI Helper functions along with the legacy
> .suspend & .resume bindings.
>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
> ---
Hi Vaibhav,
Can you please consider rebasing this series? This driver has had many
changes in the area of PM for v5.10-rc1
Also please note that my colleague provided a reviewed-by tag for v2,
so, if no big significant changes from v2->v3, please add that tag.
Obviously, in light of what I say about recent changes, that is not
applicable now, but just for future reference.
Thanks,
John
Powered by blists - more mailing lists