Re: [PATCH] drm/vgem: Restore mmap functionality

2021-07-12 Thread Daniel Vetter
On Mon, Jul 12, 2021 at 09:09:24AM +0200, Thomas Zimmermann wrote: > Hi > > Am 09.07.21 um 16:43 schrieb Daniel Vetter: > > On Fri, Jul 9, 2021 at 1:47 PM Thomas Zimmermann > > wrote: > > > > > > Commit 375cca1cfeb5 ("drm/vgem: Implement mmap as GEM object function") > > > accidentally removed

Re: [PATCH] drm/vgem: Restore mmap functionality

2021-07-12 Thread Thomas Zimmermann
Hi Am 09.07.21 um 16:43 schrieb Daniel Vetter: On Fri, Jul 9, 2021 at 1:47 PM Thomas Zimmermann wrote: Commit 375cca1cfeb5 ("drm/vgem: Implement mmap as GEM object function") accidentally removed the actual mmap functionality from vgem. Restore the original implementation and VMA flags. Ah

[PATCH] drm/vgem: Restore mmap functionality

2021-07-09 Thread Thomas Zimmermann
Commit 375cca1cfeb5 ("drm/vgem: Implement mmap as GEM object function") accidentally removed the actual mmap functionality from vgem. Restore the original implementation and VMA flags. Fixes access to unmapped memory: [ 106.591744] BUG: KASAN: vmalloc-out-of-bounds in do_fault+0x38/0x480 [ 106.

Re: [PATCH] drm/vgem: Restore mmap functionality

2021-07-09 Thread Daniel Vetter
On Fri, Jul 9, 2021 at 1:47 PM Thomas Zimmermann wrote: > > Commit 375cca1cfeb5 ("drm/vgem: Implement mmap as GEM object function") > accidentally removed the actual mmap functionality from vgem. Restore > the original implementation and VMA flags. Ah yes that explains things. Reviewed-by: Danie

[PATCH] drm/vgem: Restore mmap functionality

2021-07-09 Thread Thomas Zimmermann
Commit 375cca1cfeb5 ("drm/vgem: Implement mmap as GEM object function") accidentally removed the actual mmap functionality from vgem. Restore the original implementation and VMA flags. Fixes access to unmapped memory: [ 106.591744] BUG: KASAN: vmalloc-out-of-bounds in do_fault+0x38/0x480 [ 106.