Mesa (master): intel: Disallow relocations to the byte beyond the end of the buffer

Chris Wilson ickle at kemper.freedesktop.org
Mon Oct 19 15:48:59 UTC 2009


Excerpts from Eric Anholt's message of Mon Oct 19 16:20:50 +0100 2009:
> On Sat, 2009-10-17 at 00:28 -0700, Chris Wilson wrote:
> > intel: Disallow relocations to the byte beyond the end of the buffer
> 
> What did you find that needed this?

There have been a couple of people who have reported a KERN_ERR with the
delta pointing to the tail byte, the latest on Saturday:

08:57 < spstarr> [  148.557731] [drm:i915_gem_object_pin_and_relocate]
ERROR Relocation beyond target object bounds: obj ffff8800b950fc00
target 2381 delta 131072 size 131072.

An hour later, spstarr reported having rebuilt mesa, but never did
paste the offending backtrace. So I'm still none the wiser. :(
-ickle
-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the mesa-commit mailing list