diff options
| author | Tvrtko Ursulin <[email protected]> | 2019-03-05 11:04:08 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2019-03-06 11:37:01 +0000 |
| commit | a90e1948efb648f567444f87f3c19b2a0787affd (patch) | |
| tree | d1347331d194b48792244fddc6fcb393e86a83a6 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b218a80b171598c33a066991bacbd9efe026081f (diff) | |
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 <[email protected]>
Fixes: 5c4604e757ba ("drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set")
Reported-by: Guenter Roeck <[email protected]>
Cc: Adam Zabrocki <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: <[email protected]> # v4.0+
Cc: Akash Goel <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: [email protected]
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions