Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-14 Thread Rafael J. Wysocki
On Thu, Feb 14, 2019 at 1:05 PM Sudeep Holla wrote: > > On Thu, Feb 14, 2019 at 11:16:09AM +, Sudeep Holla wrote: > > On Wed, Feb 13, 2019 at 11:17:47PM +0100, Rafael J. Wysocki wrote: > > > On Wed, Feb 13, 2019 at 1:01 PM Sudeep Holla wrote: > > [...] > > > > > diff --git a/drivers/base/powe

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-14 Thread Sudeep Holla
On Thu, Feb 14, 2019 at 11:16:09AM +, Sudeep Holla wrote: > On Wed, Feb 13, 2019 at 11:17:47PM +0100, Rafael J. Wysocki wrote: > > On Wed, Feb 13, 2019 at 1:01 PM Sudeep Holla wrote: [...] > > > diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c > > > index 0992e67e862b..2a29

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-14 Thread Sudeep Holla
On Wed, Feb 13, 2019 at 11:17:47PM +0100, Rafael J. Wysocki wrote: > On Wed, Feb 13, 2019 at 1:01 PM Sudeep Holla wrote: > > > > All device objects in the driver model contain fields that control the > > handling of various power management activities. However, it's not > > always useful. There ar

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-14 Thread Sudeep Holla
On Wed, Feb 13, 2019 at 11:38:49PM +0100, Eugeniu Rosca wrote: > Hello Sudeep, > > I appreciate your efforts. Currently, this patch generates below > warnings during s2ram on R-Car H3-Salvator-X: > > [ 46.874214] PM: suspend entry (deep) > [ 46.878211] PM: Syncing filesystems ... done. > [ 46.98914

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-13 Thread Eugeniu Rosca
Hello Sudeep, I appreciate your efforts. Currently, this patch generates below warnings during s2ram on R-Car H3-Salvator-X: [ 46.874214] PM: suspend entry (deep) [ 46.878211] PM: Syncing filesystems ... done. [ 46.989148] Freezing user space processes ... (elapsed 0.004 seconds) done. [ 47.00042

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-13 Thread Rafael J. Wysocki
On Wed, Feb 13, 2019 at 1:01 PM Sudeep Holla wrote: > > All device objects in the driver model contain fields that control the > handling of various power management activities. However, it's not > always useful. There are few instances where pseudo devices are added > to the model just to take ad

Re: [PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-13 Thread Ulf Hansson
On Wed, 13 Feb 2019 at 13:01, Sudeep Holla wrote: > > All device objects in the driver model contain fields that control the > handling of various power management activities. However, it's not > always useful. There are few instances where pseudo devices are added > to the model just to take adva

[PATCH v2] drivers: base: add support to skip power management in device/driver model

2019-02-13 Thread Sudeep Holla
All device objects in the driver model contain fields that control the handling of various power management activities. However, it's not always useful. There are few instances where pseudo devices are added to the model just to take advantage of many other features like kobjects, udev events, and