Re: [linux-pm] Resume from Memory very slow on 2.6.37+
From: Rafael J. Wysocki <hidden>
Date: 2011-01-20 01:51:19
From: Rafael J. Wysocki <hidden>
Date: 2011-01-20 01:51:19
On Thursday, January 20, 2011, Jeff Chua wrote:
On Thu, Jan 20, 2011 at 5:19 AM, Rafael J. Wysocki [off-list ref] wrote:quoted
OK, I'd like you to test the two patches I'll send in replies to this message. [1/2] - It will go back to using ioremap_cache() for NVS pages allocations.Applied. This one makes resume effective.quoted
[2/2] - This one will move suspend_nvs_free() before device drivers' resume callbacks (should avoid conflicts with the drivers' mappings).Applied. This one makes no difference. Without applying [1/2], this one makes resume hangs, so definitely needs to go along with [1/2]. Applied both and I've tried a few cycles and resume still working ok.
OK, thanks. Len, can you push https://patchwork.kernel.org/patch/490071/ and https://patchwork.kernel.org/patch/490061/ to Linus, please? Rafael