[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPaKu7TqUt1L-5RUuwEagr2UUs8maOO+FSoS2PEoP9eO1-JJSw@mail.gmail.com>
Date: Wed, 17 May 2023 14:26:49 -0700
From: Chia-I Wu <olvaffe@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
"Pan, Xinhui" <Xinhui.Pan@....com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Felix Kuehling <Felix.Kuehling@....com>,
Marek Olšák <marek.olsak@....com>,
Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@....com>,
Suren Baghdasaryan <surenb@...gle.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Yang Li <yang.lee@...ux.alibaba.com>,
Philip Yang <Philip.Yang@....com>,
Luben Tuikov <luben.tuikov@....com>,
Danijel Slivka <danijel.slivka@....com>,
Mukul Joshi <mukul.joshi@....com>,
amd-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] amdgpu: validate drm_amdgpu_gem_va addrs for all ops
On Tue, May 9, 2023 at 11:33 AM Chia-I Wu <olvaffe@...il.com> wrote:
>
> Extend the address and size validations to AMDGPU_VA_OP_UNMAP and
> AMDGPU_VA_OP_CLEAR by moving the validations to amdgpu_gem_va_ioctl.
>
> Internal users of amdgpu_vm_bo_map are no longer validated but they
> should be fine.
>
> Userspace (radeonsi and radv) seems fine as well.
Does this series make sense?
Powered by blists - more mailing lists