Bug 110421
Summary: | Reading debugfs file /sys/kernel/debug/dri/0/amdgpu_regs hangs the machine | ||
---|---|---|---|
Product: | Drivers | Reporter: | Vedran Miletić (vedran) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED WILL_NOT_FIX | ||
Severity: | high | CC: | deathsimple |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.4.0-0.rc8.git0.1.fc24.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Vedran Miletić
2016-01-06 12:46:41 UTC
That's perfectly normal behavior. Register 14829 probably don't exists on your hardware generation and so accessing it causes an unresolvable BUS stall. Can't anything be done to avoid the hang? Running cat on that file will hang the machine as well. Not really. You could do large lists of which registers are save for accessing, but we have 256KB register space and need an individual list for pretty much every hardware generation. Sorry but just accessing random registers through the debugfs interface is simply not expected to work. |