Skip to contentSkip to conversation

New: Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference

Bug 46274 [email protected] 1 participant 5 messages Feb 19, 2012 – Feb 28, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=46274

Bug #: 46274
Summary: Reading from /sys/kernel/debug/dri/0/radeon_ring_cp*
cause null-pointer dereference
Classification: Unclassified
Product: DRI
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Using evergreen(cedar) hardware reading from /sys/kernel/debug/dri/0/radeon_ring_cp[12] cause null-pointer dereference with latest linus git(3.3-rc4).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 46274] Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference

https://bugs.freedesktop.org/show_bug.cgi?id=46274

--- Comment #1 from Michel Dänzer <[email protected]> 2012-02-20 09:24:58 PST --- Created attachment 57337
--> https://bugs.freedesktop.org/attachment.cgi?id=57337
Only create additional ring info files on Cayman or newer

This patch should not create the additional files at all for your card. I've only been able to compile-test it, does it work for you?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 46274] Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46274

--- Comment #2 from Michel Dänzer <[email protected]> 2012-02-22 01:55:59 PST --- I've tested the fix and submitted it, should make it into 3.3 final.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 46274] Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46274

--- Comment #3 from Florian Mickler <[email protected]> 2012-02-27 14:29:59 PST --- A patch referencing this bug report has been merged in Linux v3.3-rc5:

commit f0d14daa6906070ca044b86f483fdde7d81f5294

Author: Michel Dänzer <[email protected]>
Date:   Tue Feb 21 17:39:15 2012 +0100

drm/radeon: Only create additional ring debugfs files on Cayman or newer.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 46274] Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46274

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Michel Dänzer <[email protected]> 2012-02-28 00:03:24 PST --- Resolving per comment #3.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel