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

From: Eugeniu Rosca
Date: Thu Feb 14 2019 - 15:09:54 EST


Hello Sudeep,

On Thu, Feb 14, 2019 at 06:29:10PM +0000, Sudeep Holla wrote:
[..]
>
> Lets add no_pm_required flags to indicate that the device doesn't

s/no_pm_required/no_pm/ ?

> require any sort of pm activities and all of them can be completely
> skipped. We can use the same flag to also avoid adding not used *power*
> sysfs entries for these devices. For now, lets use this for cpu cache
> devices.
[..]

Running suspend/resume ~500 times on H3-Salvator-X with this patch
didn't reveal any regressions. The annoying warnings are gone.
Console log and .config are available at:
https://gist.github.com/erosca/1af11aa62e16903e1b6964be6a9eea77

Tested-by: Eugeniu Rosca <erosca@xxxxxxxxxxxxxx>

Thanks!
Eugeniu.