lkml.org 
[lkml]   [2019]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] drivers: base: add support to skip power management in device/driver model
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@de.adit-jv.com>

Thanks!
Eugeniu.

\
 
 \ /
  Last update: 2019-02-14 21:11    [W:0.052 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site