Re: [PATCH][RESEND] video: hyperv_fb: Fix hibernation for the deferred IO feature

2020-01-15 Thread Bartlomiej Zolnierkiewicz
On 1/11/20 5:29 PM, Sasha Levin wrote: > On Mon, Jan 06, 2020 at 02:41:51PM -0800, Dexuan Cui wrote: >> fb_deferred_io_work() can access the vmbus ringbuffer by calling >> fbdefio->deferred_io() -> synthvid_deferred_io() -> synthvid_update(). >> >> Because the vmbus ringbuffer is inaccessible bet

Re: [PATCH][RESEND] video: hyperv_fb: Fix hibernation for the deferred IO feature

2020-01-11 Thread Sasha Levin
On Mon, Jan 06, 2020 at 02:41:51PM -0800, Dexuan Cui wrote: fb_deferred_io_work() can access the vmbus ringbuffer by calling fbdefio->deferred_io() -> synthvid_deferred_io() -> synthvid_update(). Because the vmbus ringbuffer is inaccessible between hvfb_suspend() and hvfb_resume(), we must cance

[PATCH][RESEND] video: hyperv_fb: Fix hibernation for the deferred IO feature

2020-01-07 Thread Dexuan Cui
fb_deferred_io_work() can access the vmbus ringbuffer by calling fbdefio->deferred_io() -> synthvid_deferred_io() -> synthvid_update(). Because the vmbus ringbuffer is inaccessible between hvfb_suspend() and hvfb_resume(), we must cancel info->deferred_work before calling vmbus_close() and then re