All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Matthew Auld <matthew.auld@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/userptr: reject zero user_size
Date: Wed, 02 May 2018 19:53:49 +0100	[thread overview]
Message-ID: <152528722984.28472.3785853140921982172@mail.alporthouse.com> (raw)
In-Reply-To: <20180502181617.6079-1-matthew.auld@intel.com>

Quoting Matthew Auld (2018-05-02 19:16:17)
> Operating on a zero sized GEM userptr object will lead to explosions.
> 
> Fixes: 5cc9ed4b9a7a ("drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl")
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>

One thing missing for a user visible bug...
Testcase:
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2018-05-02 18:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 18:16 [PATCH] drm/i915/userptr: reject zero user_size Matthew Auld
2018-05-02 18:45 ` Chris Wilson
2018-05-02 18:52 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-05-02 18:53 ` Chris Wilson [this message]
2018-05-02 19:50 ` [PATCH] " Matthew Auld
2018-05-08 11:25   ` Chris Wilson
2018-05-02 20:38 ` ✓ Fi.CI.BAT: success for drm/i915/userptr: reject zero user_size (rev2) Patchwork
2018-05-03  3:33 ` ✓ Fi.CI.IGT: " Patchwork
2018-09-02 21:55 [PATCH] drm/i915/userptr: reject zero user_size Loic
2018-09-03 16:17 ` Greg KH
2018-09-03 19:56   ` Loic
2018-09-07  9:01     ` Greg KH

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=152528722984.28472.3785853140921982172@mail.alporthouse.com \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=matthew.auld@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.