Skip to contentSkip to conversation

PM QOS flags

DISCUSSION Oliver Neukum 2 participants 2 messages Nov 15, 2012 – Nov 21, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

it seems to me that we are missing some flags. I would propose

PM_QOS_FLAG_NO_EXTERNAL_EFFECT
in some cases going to powersave has externally visible effects modems hang up, LEDs on keyboards extinguish, screens blank

PM_QOS_FLAG_NO_HOTPLUG_DETECT
hotplug is not detected while in powersave

PM_QOS_FLAG_NO_MEDIUM_CHANGE
the device does not detect medium change events in powersave USB storage devices are prime candidates for this

Regards
Oliver

#1 lore raw

Hi,

Quoted 8 lines · Oliver Neukum

Hi,

it seems to me that we are missing some flags. I would propose

PM_QOS_FLAG_NO_EXTERNAL_EFFECT
in some cases going to powersave has externally visible effects modems hang up, LEDs on keyboards extinguish, screens blank

Quoted 6 lines

PM_QOS_FLAG_NO_HOTPLUG_DETECT
hotplug is not detected while in powersave

PM_QOS_FLAG_NO_MEDIUM_CHANGE
the device does not detect medium change events in powersave USB storage devices are prime candidates for this

I'm fine with these, but please add them along with the users, so that it is clear how you're planning to utilize them.

Thanks,
Rafael

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.