Re: [PATCH 1/2] nvme: Wait at least 6000ms before entering the deepest idle state

From: Linus Torvalds
Date: Sat May 27 2017 - 12:14:16 EST


On Sat, May 27, 2017 at 9:08 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> On Fri, May 26, 2017 at 1:52 AM, Christoph Hellwig <hch@xxxxxx> wrote:
>>
>> Just following a somewhat odd and arbitray policy from another driver
>> that doesn't fix anything by itself certainly isn't stable material.
>
> I'd be fine with skipping this patch entirely at least until we find
> some evidence that it solves a problem instead.

It's certainly worth waiting for confirmation that it actually changes
anything, but I did want to pipe up to say that "following a somewhat
odd and arbitrary policy from another driver" is not wrong per se.

In fact, on the power management we pretty much had to do that, simply
because that "odd and arbitrary policy" (Windows behavior) was the
only thing that had ever been tested by anybody. Same goes for a lot
of PCI subsystem behavior etc.

So it's not wrong per se to just emulate others' behaviors. But yes,
we should have some reason for doing so, not just doing so blindly.

Linus