From: Matthew Brost <matthew.brost@intel.com>
To: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: <intel-xe@lists.freedesktop.org>, <saurabhg.gupta@intel.com>,
<alex.zuo@intel.com>, <matthew.auld@intel.com>
Subject: Re: [PATCH v2] drm/xe/vm: Add missing pad and extensions check
Date: Tue, 31 Mar 2026 19:30:25 -0700 [thread overview]
Message-ID: <acyDQeDm3fom3Sr4@gsse-cloud1.jf.intel.com> (raw)
In-Reply-To: <20260331181216.37775-2-jonathan.cavitt@intel.com>
On Tue, Mar 31, 2026 at 06:12:17PM +0000, Jonathan Cavitt wrote:
> Add missing pad and extensions check to xe_vm_get_property_ioctl
>
> v2:
> - Combine with other check (Auld)
>
> Fixes: 50c577eab051 ("drm/xe/xe_vm: Implement xe_vm_get_property_ioctl")
> Suggested-by: Matthew Auld <matthew.auld@intel.com>
> Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> ---
> drivers/gpu/drm/xe/xe_vm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
> index 56e2db50bb36..1720205c09ca 100644
> --- a/drivers/gpu/drm/xe/xe_vm.c
> +++ b/drivers/gpu/drm/xe/xe_vm.c
> @@ -4156,7 +4156,8 @@ int xe_vm_get_property_ioctl(struct drm_device *drm, void *data,
> int ret = 0;
>
> if (XE_IOCTL_DBG(xe, (args->reserved[0] || args->reserved[1] ||
> - args->reserved[2])))
> + args->reserved[2] || args->extensions ||
> + args->pad)))
> return -EINVAL;
>
> vm = xe_vm_lookup(xef, args->vm_id);
> --
> 2.43.0
>
next prev parent reply other threads:[~2026-04-01 2:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 18:12 [PATCH v2] drm/xe/vm: Add missing pad and extensions check Jonathan Cavitt
2026-03-31 18:13 ` Cavitt, Jonathan
2026-03-31 19:31 ` ✓ CI.KUnit: success for drm/xe/vm: Add missing pad and extensions check (rev2) Patchwork
2026-04-01 2:15 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-01 2:30 ` Matthew Brost [this message]
2026-04-01 5:45 ` ✓ Xe.CI.BAT: success " Patchwork
2026-04-01 15:53 ` [PATCH v2] drm/xe/vm: Add missing pad and extensions check Matthew Auld
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=acyDQeDm3fom3Sr4@gsse-cloud1.jf.intel.com \
--to=matthew.brost@intel.com \
--cc=alex.zuo@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=jonathan.cavitt@intel.com \
--cc=matthew.auld@intel.com \
--cc=saurabhg.gupta@intel.com \
/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