Re: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-30 Thread Patrik Jakobsson
On Fri, Jan 27, 2023 at 05:58:34PM +0100, Takashi Iwai wrote: > When a fbdev with deferred I/O is once opened and closed, the dirty > pages still remain queued in the pageref list, and eventually later > those may be processed in the delayed work. This may lead to a > corruption of pages, hitting

Re: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-28 Thread Patrik Jakobsson
On Fri, Jan 27, 2023 at 5:58 PM Takashi Iwai wrote: > > When a fbdev with deferred I/O is once opened and closed, the dirty > pages still remain queued in the pageref list, and eventually later > those may be processed in the delayed work. This may lead to a > corruption of pages, hitting an

Re: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-28 Thread kernel test robot
patch link:https://lore.kernel.org/r/20230127165834.11387-1-tiwai%40suse.de patch subject: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices config: s390-defconfig (https://download.01.org/0day-ci/archive/20230129/202301290917.purynsug-...@intel.com/config) compiler

[PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-27 Thread Takashi Iwai
When a fbdev with deferred I/O is once opened and closed, the dirty pages still remain queued in the pageref list, and eventually later those may be processed in the delayed work. This may lead to a corruption of pages, hitting an Oops. This patch makes sure to cancel the delayed work and clean