Re: [Nouveau] [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Ben Skeggs
On Thu, 12 Nov 2020 at 02:27, Ruhl, Michael J wrote: > > >-Original Message- > >From: Thomas Zimmermann > >Sent: Wednesday, November 11, 2020 7:08 AM > >To: Ruhl, Michael J ; bske...@redhat.com; > >airl...@linux.ie; dan...@ffwll.ch; christian.koe...@amd.com > >Cc:

[Nouveau] [PATCH] drm/nouveau: Use vmemdup_user()

2020-11-11 Thread Tian Tao
Replace alloc and copy with vmemdup_user() Signed-off-by: Tian Tao --- drivers/gpu/drm/nouveau/nouveau_gem.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index 787d05e..df986d9

Re: [Nouveau] [PATCH v3 3/6] mm: support THP migration to device private memory

2020-11-11 Thread Ralph Campbell
On 11/9/20 1:14 AM, Christoph Hellwig wrote: On Fri, Nov 06, 2020 at 01:26:50PM -0800, Ralph Campbell wrote: On 11/6/20 12:03 AM, Christoph Hellwig wrote: I hate the extra pin count magic here. IMHO we really need to finish off the series to get rid of the extra references on the

Re: [Nouveau] [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Zimmermann >Sent: Wednesday, November 11, 2020 7:08 AM >To: Ruhl, Michael J ; bske...@redhat.com; >airl...@linux.ie; dan...@ffwll.ch; christian.koe...@amd.com >Cc: nouveau@lists.freedesktop.org; dri-de...@lists.freedesktop.org; >Maarten Lankhorst ; Maxime

Re: [Nouveau] [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Thomas Zimmermann
Hi Am 10.11.20 um 16:27 schrieb Ruhl, Michael J: > > >> -Original Message- >> From: Thomas Zimmermann >> Sent: Tuesday, November 10, 2020 8:37 AM >> To: bske...@redhat.com; airl...@linux.ie; dan...@ffwll.ch; Ruhl, Michael J >> ; christian.koe...@amd.com >> Cc:

Re: [Nouveau] [PATCH 2/2] drm/mediatek: Use struct dma_buf_map in GEM vmap ops

2020-11-11 Thread Chun-Kuang Hu
Hi, Thomas: Thomas Zimmermann 於 2020年11月9日 週一 下午6:32寫道: > > Fixes a build failure with mediatek. > > This change was supposed to be part of commit 49a3f51dfeee ("drm/gem: > Use struct dma_buf_map in GEM vmap ops and convert GEM backends"), but > mediatek was forgotten. Acked-by: Chun-Kuang Hu