dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4
@ 2015-11-23 15:54 bugzilla-daemon
  2015-11-23 15:55 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-23 15:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 954 bytes --]

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

            Bug ID: 93079
           Summary: Tonga faults and oopses on agd5f drm-fixes-4.4
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: adf.lists@gmail.com

Created attachment 120050
  --> https://bugs.freedesktop.org/attachment.cgi?id=120050&action=edit
some backtraces

Haven't tried agd5f drm-fixes-4.4 before today.

It seems that it is unstable on R9 285.

Twice I've been close to submitting a bisect, but false goods have spoilt
things.

Varying backtraces attached.

Will try to bisect again but it's not going to be quick.

I am stable on powerplay and was OK on 4.4-next-wip.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2303 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
@ 2015-11-23 15:55 ` bugzilla-daemon
  2015-11-23 20:58 ` [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3 bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-23 15:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]

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

--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 120051
  --> https://bugs.freedesktop.org/attachment.cgi?id=120051&action=edit
dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1153 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
  2015-11-23 15:55 ` bugzilla-daemon
@ 2015-11-23 20:58 ` bugzilla-daemon
  2015-11-25 10:04 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-23 20:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 965 bytes --]

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

Andy Furniss <adf.lists@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Tonga faults and oopses on  |Tonga faults and oopses on
                   |agd5f drm-fixes-4.4         |agd5f drm-fixes-4.4 since
                   |                            |fix incorrect mutex usage
                   |                            |v3

--- Comment #2 from Andy Furniss <adf.lists@gmail.com> ---
Unless I eventually manage to lock the one before - and I am failing to so far,
it looks like this starts with -

commit e284022163716ecf11c37fd1057c35d689ef2c11
Author: Christian König <christian.koenig@amd.com>
Date:   Thu Nov 5 19:49:48 2015 +0100

    drm/amdgpu: fix incorrect mutex usage v3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
  2015-11-23 15:55 ` bugzilla-daemon
  2015-11-23 20:58 ` [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3 bugzilla-daemon
@ 2015-11-25 10:04 ` bugzilla-daemon
  2015-11-25 10:05 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-25 10:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 457 bytes --]

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

--- Comment #3 from Andy Furniss <adf.lists@gmail.com> ---
Seems this is the correct bad.

Ran all day yesterday without issue on the one before.

Booted into kernel set on the "bad" this morning and was locked within 10
minutes browsing.

Slightly different - no Oops,  similar trace, rcu_preempt detected stalls on
CPUs/tasks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1296 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-11-25 10:04 ` bugzilla-daemon
@ 2015-11-25 10:05 ` bugzilla-daemon
  2015-11-26  9:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-25 10:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]

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

--- Comment #4 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 120106
  --> https://bugs.freedesktop.org/attachment.cgi?id=120106&action=edit
Another trace

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1247 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-11-25 10:05 ` bugzilla-daemon
@ 2015-11-26  9:39 ` bugzilla-daemon
  2015-12-02 13:18 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-26  9:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

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

--- Comment #5 from Christian König <deathsimple@vodafone.de> ---
Well the good news first it looks like I can reproduce the issue.

Now the bad news is that I don't have the slightest idea what's causing it.

The patch you mentioned results in different timing around those functions, but
I can't see how it should cause something like this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1342 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-11-26  9:39 ` bugzilla-daemon
@ 2015-12-02 13:18 ` bugzilla-daemon
  2015-12-02 21:46 ` bugzilla-daemon
  2015-12-13 10:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-02 13:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 765 bytes --]

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

Nicolai Hähnle <nhaehnle@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nhaehnle@gmail.com

--- Comment #6 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 120274
  --> https://bugs.freedesktop.org/attachment.cgi?id=120274&action=edit
0001-drm-amdgpu-fix-race-condition-in-amd_sched_entity_pu.patch

Please try the attached patch. Thanks to Christian for pointing me at this bug
(I got lucky by running into a similar but cleaner stack trace...)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2501 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-12-02 13:18 ` bugzilla-daemon
@ 2015-12-02 21:46 ` bugzilla-daemon
  2015-12-13 10:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-02 21:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]

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

--- Comment #7 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Nicolai Hähnle from comment #6)
> Created attachment 120274 [details] [review]
> 0001-drm-amdgpu-fix-race-condition-in-amd_sched_entity_pu.patch
> 
> Please try the attached patch. Thanks to Christian for pointing me at this
> bug (I got lucky by running into a similar but cleaner stack trace...)

Seems good so far, I'll stay on this kernel for a few days to be sure.

"Sure" may be a bit strong though, I said above powerplay was OK, but despite
being OK on it for several days in the past I managed to hit this bug on it
yesterday.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2063 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
  2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-12-02 21:46 ` bugzilla-daemon
@ 2015-12-13 10:33 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-12-13 10:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 495 bytes --]

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

Andy Furniss <adf.lists@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Andy Furniss <adf.lists@gmail.com> ---
Still seems good

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2054 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-12-13 10:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 15:54 [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 bugzilla-daemon
2015-11-23 15:55 ` bugzilla-daemon
2015-11-23 20:58 ` [Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3 bugzilla-daemon
2015-11-25 10:04 ` bugzilla-daemon
2015-11-25 10:05 ` bugzilla-daemon
2015-11-26  9:39 ` bugzilla-daemon
2015-12-02 13:18 ` bugzilla-daemon
2015-12-02 21:46 ` bugzilla-daemon
2015-12-13 10:33 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).