Subject : 2.6.32-rc5-git3 -- System lockup running "cat /sys/kernel/debug/dri/0/i915_regs" Submitter : Miles Lane <miles.lane@gmail.com> Date : 2009-10-26 4:00 References : http://marc.info/?l=linux-kernel&m=125652968117713&w=4 This entry is being used for tracking a regression from 2.6.31. Please don't close it until the problem is fixed in the mainline.
Zhenyu, I think you mentioned you would fix this one? I don't think it's a high prio since it's just a debug file, but hanging is pretty unfriendly.
Sorry for missed this one for long time. I was thinking at lease we need to ask for explicitly enable all regs reading before actually doing so, but now I wonder who is the real user of this debug? If something really need that, we can do it totally in intel-gpu-tools instead of exposing this in kernel which is danger. So I think we should remove that completely.
Patch is in Linus tree. commit 823f68fd646da6a39a9c0d3eb4c60d69dab5aa13 Author: Zhenyu Wang <zhenyuw@linux.intel.com> Date: Mon Dec 28 13:23:36 2009 +0800 drm/i915: remove full registers dump debug This one reverts 9e3a6d155ed0a7636b926a798dd7221ea107b274. As reported by http://bugzilla.kernel.org/show_bug.cgi?id=14485, this dump will cause hang problem on some machine. If something really needs this kind of full registers dump, that could be done within intel-gpu-tools. Cc: Ben Gamari <bgamari.foss@gmail.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Patch is upstream, closing.