Files
linux/drivers
Tvrtko Ursulin a90e1948ef drm/i915: Relax mmap VMA check
Legacy behaviour was to allow non-page-aligned mmap requests, as does the
linux mmap(2) implementation by virtue of automatically rounding up for
the caller.

To avoid breaking legacy userspace relax the newly introduced fix.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 5c4604e757 ("drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Cc: Adam Zabrocki <adamza@microsoft.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: <stable@vger.kernel.org> # v4.0+
Cc: Akash Goel <akash.goel@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305110409.28633-1-tvrtko.ursulin@linux.intel.com
2019-03-06 11:37:01 +00:00
..
2019-02-18 13:27:15 +10:00
2018-12-29 08:20:44 -07:00
2018-12-10 10:17:45 +01:00
2019-03-06 11:37:01 +00:00
2019-01-09 19:20:31 -05:00
2019-01-26 11:14:25 +01:00
2019-02-01 15:53:54 +01:00
2019-02-13 08:41:15 +01:00
2018-12-06 15:45:46 +01:00
2019-02-18 13:27:15 +10:00
2018-12-24 12:06:56 +01:00
2019-02-18 13:27:15 +10:00
2019-01-28 22:53:09 -08:00