Re: [PATCH v1 07/15] scsi: hisi_sas_v3_hw: use generic power management

2020-07-19 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 02:16:45PM +0800, chenxiang (M) wrote: > Hi Vaibhav, > > 在 2020/7/17 14:34, Vaibhav Gupta 写道: > > With legacy PM, drivers themselves were responsible for managing the > > device's power states and takes care of register states. > > > > After upgrading to the generic struct

Re: [PATCH v1 07/15] scsi: hisi_sas_v3_hw: use generic power management

2020-07-19 Thread chenxiang (M)
Hi Vaibhav, 在 2020/7/17 14:34, Vaibhav Gupta 写道: With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-sp

[PATCH v1 07/15] scsi: hisi_sas_v3_hw: use generic power management

2020-07-16 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. The driver was calling pci_save/