Bug 14485
Summary: | System lockup running "cat /sys/kernel/debug/dri/0/i915_regs" | ||
---|---|---|---|
Product: | Drivers | Reporter: | Rafael J. Wysocki (rjw) |
Component: | Video(DRI - Intel) | Assignee: | Jesse Barnes (jbarnes) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | gordon.jin, jbarnes, jcnengel, zhenyuw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.32-rc5-git3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 14230 |
Description
Rafael J. Wysocki
2009-10-26 18:17:53 UTC
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. |