Re: [Intel-gfx] [PATCH 11/13] drm/i915: Prevent mmap access through the GTT of snooped pages

2011-05-04 Thread Keith Packard
On Thu, 14 Apr 2011 10:03:45 +0100, Chris Wilson ch...@chris-wilson.co.uk wrote: The docs have a dire warning not to attempt to access snooped (the old style of cache sharing on pre-SandyBridge chipsets) pages through the GTT. Prevent userspace from doing so by sending them a SIGBUS if they

[Intel-gfx] [PATCH 11/13] drm/i915: Prevent mmap access through the GTT of snooped pages

2011-04-14 Thread Chris Wilson
The docs have a dire warning not to attempt to access snooped (the old style of cache sharing on pre-SandyBridge chipsets) pages through the GTT. Prevent userspace from doing so by sending them a SIGBUS if they try. [Now it is possible with a bit of extra complexity to map the snooped CPU page