On Wed, Dec 14, 2011 at 10:00 AM, Ulf Hansson <ulf.hansson@xxxxxxxxxxxxxx> wrote: > Guennadi Liakhovetski wrote: > Using PM QoS as you propose, might prevent some hosts from doing > runtime_suspend|resume completely and thus those might not fulfill power > consumption requirements instead. I do not think we can take this decision > at this level. Is performance more important than power save, that is kind > of the question. I agree with this point. The problematic part of the patch (IMHO) is this: >> + This constraint prevents runtime-suspending the >> + device, if the expected wakeup latency is larger than 100us. (...) >> + int ret = dev_pm_qos_add_request(host->parent, >> + &host->pm_qos, 100); So we hardcode 100us (is that really 100us by the way? I cannot follow this code path but usually these figures are in ms, but what do I know) as the in-between back-to-back transfers. But this delta is dependent on a lot of stuff that only the platform knows, like nominal CPU frequency, bus speed etc, so certainly the platform must be able to modify that number. At the very least, please make this stuff optional using Kconfig so it can be shut off, because I fear it will screw up our PM usecases. Ulfs patch to the mmci driver actually use 50ms for back-to-back intergap between any two hardware-affecting calls into the driver. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html