From: "Adrián Larumbe" <adrian.larumbe@collabora.com>
To: Boris Brezillon <boris.brezillon@collabora.com>
Cc: "Adrián Larumbe" <adrian.larumbe@collabora.com>,
"Steven Price" <steven.price@arm.com>,
"Liviu Dudau" <liviu.dudau@arm.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] drm/panthor: Add vm_bind region with kbo range overlap check
Date: Fri, 19 Jun 2026 17:47:37 +0100 [thread overview]
Message-ID: <178188765712.2027515.1485808731432603029.b4-reply@b4> (raw)
In-Reply-To: <20260619145906.3b78b357@fedora-2.home>
On 2026-06-19 14:59:06+02:00, Boris Brezillon wrote:
> On Fri, 19 Jun 2026 13:41:22 +0100
> Adrián Larumbe <adrian.larumbe@collabora.com> wrote:
>
> > When a VM is created, caller has to specify the range of the address space
> > carve-out set aside for mapping kernel BO's. That means vm_bind mappings of
> > UM-exposed BO's should not intersect with that region, but at the moment
> > we're not checking this.
> >
> > At first, I thought of giving these values to drm_gpuvm_init() through its
> > reserve_{offset, range} arguments, but it turns out that is meant for VM
> > address spans that are not managed through the usual drm_gpuvm split/merge
> > circuit, so storing the end of the user VA range at VM creation time and
> > doing a quick check in the vm_bind ioctl path was the simplest workaround.
> >
> > Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
>
> Ah, we need a Fixes tag here.
Fixes: 647810ec2476 ("drm/panthor: Add the MMU/VM logical block")
next prev parent reply other threads:[~2026-06-19 16:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-19 12:41 [PATCH v2 0/2] Add vm_bind param check to ensure no overlap with kbo AS carveout Adrián Larumbe
2026-06-19 12:41 ` [PATCH v2 1/2] drm/panthor: Add vm_bind region with kbo range overlap check Adrián Larumbe
2026-06-19 12:58 ` Boris Brezillon
2026-06-19 12:59 ` Boris Brezillon
2026-06-19 16:47 ` Adrián Larumbe [this message]
2026-06-24 14:49 ` Steven Price
2026-06-24 15:14 ` Adrián Larumbe
2026-06-24 17:35 ` Adrián Larumbe
2026-06-19 12:41 ` [PATCH v2 2/2] drm/panthor: Fix comment to reflect actual struct field name Adrián Larumbe
2026-06-24 14:49 ` Steven Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178188765712.2027515.1485808731432603029.b4-reply@b4 \
--to=adrian.larumbe@collabora.com \
--cc=airlied@gmail.com \
--cc=boris.brezillon@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=steven.price@arm.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®