dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
@ 2017-01-12 19:05 bugzilla-daemon
  2017-01-12 19:47 ` bugzilla-daemon
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-12 19:05 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 99387
           Summary: Kernel 4.9: Kaveri + Hainan choked on boot using
                    amdgpu
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: luya@fedoraproject.org

Created attachment 128917
  --> https://bugs.freedesktop.org/attachment.cgi?id=128917&action=edit
Journal report

Hardware used in test:
ASUS X550ZE powered with R7 M265DX 
Kaveri (R7 M265DX) + Hainan (R5 M230)
running on Fedora 25

Kernel provided from this repository
https://copr.fedorainfracloud.org/coprs/mystro256/amd-staging-kernel/build/498630/

Enabling "amdgpu.exp_hw_support=1 modprobe.blacklist=radeon" parameter

Result: kernel crashed with signal "BUG: unable to handle kernel NULL pointer
dereference at           (null)"

See details attached on the journal log

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
@ 2017-01-12 19:47 ` bugzilla-daemon
  2017-01-12 22:50 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-12 19:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Jeremy Newton <alexjnewt@gmail.com> ---
FYI, this is build off of Alexander Deucher's freedesktop mirror,
amd-staging-4.9 branch, with the 4.9.2 patch-set and Fedora's patchset (minus
the amd patches that conflict or are already applied in this branch):

https://cgit.freedesktop.org/~agd5f/linux/?h=amd-staging-4.9

I'm assuming you're using the latest Fedora snapshot of linux firmware, if so
it's a snapshot of this commit:

https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/?id=91ddce492dc0a6a718396e0c79101087134f622d

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
  2017-01-12 19:47 ` bugzilla-daemon
@ 2017-01-12 22:50 ` bugzilla-daemon
  2017-01-12 22:53 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-12 22:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Checking the linux-firmware, the system was still on 20160923 snapshot. Koji
has the lastest version so I upgrade to it. I will report if that fixes the
issue.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
  2017-01-12 19:47 ` bugzilla-daemon
  2017-01-12 22:50 ` bugzilla-daemon
@ 2017-01-12 22:53 ` bugzilla-daemon
  2017-01-13  0:57 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-12 22:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
You don't need amdgpu.exp_hw_support=1  You just have to make sure SI and CIK
support are enabled.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-01-12 22:53 ` bugzilla-daemon
@ 2017-01-13  0:57 ` bugzilla-daemon
  2017-01-13  3:12 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-13  0:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Thanks for the pointer Alex. I will remove that parameter and will post the
result as soon as possible.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-01-13  0:57 ` bugzilla-daemon
@ 2017-01-13  3:12 ` bugzilla-daemon
  2017-01-13  3:59 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-13  3:12 UTC (permalink / raw)
  To: dri-devel


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

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

Luya Tshimbalanga <luya@fedoraproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128917|0                           |1
        is obsolete|                            |

--- Comment #5 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Created attachment 128923
  --> https://bugs.freedesktop.org/attachment.cgi?id=128923&action=edit
Journal report update

Booting without "amdgpu.exp_hw_support=1" parameter and blacklisting radeon
driver with latest linux-firmware snapshot 20161205. 
Generated traceback as seen in attachment. See this extract:

[drm:uvd_v4_2_start [amdgpu]] *ERROR* UVD not responding, trying to reset the
VCPU!!!
Jan 12 18:53:38 kernel: [drm:uvd_v4_2_start [amdgpu]] *ERROR* UVD not
responding, giving up!!!
Jan 12 18:53:38 kernel: asus_wmi: Number of fans: 0
Jan 12 18:53:38 kernel: audit: type=1130 audit(1484276016.691:63): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-rfkill comm="systemd" exe="/usr/l
Jan 12 18:53:38 kernel: [drm:amdgpu_uvd_ring_test_ib [amdgpu]] *ERROR* amdgpu:
IB test timed out.
Jan 12 18:53:38 kernel: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu:
failed testing IB on ring 11 (-110).
Jan 12 18:53:38 kernel: [drm] ib test on ring 12 succeeded
Jan 12 18:53:38 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* ib ring test
failed (-110).

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-01-13  3:12 ` bugzilla-daemon
@ 2017-01-13  3:59 ` bugzilla-daemon
  2017-01-13  6:00 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-13  3:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Luya Tshimbalanga from comment #5)
> Jan 12 18:53:38 kernel: [drm:uvd_v4_2_start [amdgpu]] *ERROR* UVD not
> responding, giving up!!!

There are other bug reports about this. You may be able to avoid it with
amdgpu.pg_mask=0 and/or amdgpu.cg_mask=0 on the kernel command line.

Your real problem is presumably the oops while initializing the Hainan GPU
though, which probably isn't related to the above.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-01-13  3:59 ` bugzilla-daemon
@ 2017-01-13  6:00 ` bugzilla-daemon
  2017-01-27 15:34 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-13  6:00 UTC (permalink / raw)
  To: dri-devel


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

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

Luya Tshimbalanga <luya@fedoraproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128923|0                           |1
        is obsolete|                            |

--- Comment #7 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Created attachment 128924
  --> https://bugs.freedesktop.org/attachment.cgi?id=128924&action=edit
Journal report with amdgpu.pg_mask=0 on Hainan

> Your real problem is presumably the oops while initializing the Hainan GPU 
> though, which probably isn't related to the above.

It is Hainan GPU causing the problem on amdgpu suggesting SI needs more work.
Hopefully the information will enough to provide a solution. Let me know if you
need more debugging.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-01-13  6:00 ` bugzilla-daemon
@ 2017-01-27 15:34 ` bugzilla-daemon
  2017-01-28 19:08 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-27 15:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 129182
  --> https://bugs.freedesktop.org/attachment.cgi?id=129182&action=edit
possible fix

This patch should fix the crash.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-01-27 15:34 ` bugzilla-daemon
@ 2017-01-28 19:08 ` bugzilla-daemon
  2017-02-04  4:47 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-28 19:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Luya Tshimbalanga <luya@fedoraproject.org> ---
(In reply to Alex Deucher from comment #8)
> Created attachment 129182 [details] [review]
> possible fix
> 
> This patch should fix the crash.

Thank you for the fix Alex. I will ask Jerome if he can build the Fedora
version of the kernel to test it.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-01-28 19:08 ` bugzilla-daemon
@ 2017-02-04  4:47 ` bugzilla-daemon
  2017-02-04  4:59 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-04  4:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Created attachment 129329
  --> https://bugs.freedesktop.org/attachment.cgi?id=129329&action=edit
Backported patch for kernel 4.9

Backported the patch for kernel 4.9 for testing purpose. Thanks Alex

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-02-04  4:47 ` bugzilla-daemon
@ 2017-02-04  4:59 ` bugzilla-daemon
  2017-02-04  6:10 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-04  4:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Scratch the last comment. I just got the built kernel with the patch.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (10 preceding siblings ...)
  2017-02-04  4:59 ` bugzilla-daemon
@ 2017-02-04  6:10 ` bugzilla-daemon
  2017-02-10 22:20 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-04  6:10 UTC (permalink / raw)
  To: dri-devel


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

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

Luya Tshimbalanga <luya@fedoraproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129329|0                           |1
        is obsolete|                            |

--- Comment #12 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Created attachment 129330
  --> https://bugs.freedesktop.org/attachment.cgi?id=129330&action=edit
Traceback on boot with patch

Sadly with the patched kernel 4.9 from mystro256
(https://copr.fedorainfracloud.org/coprs/mystro256/gfx-test/build/506611/) ,
lockup occurred. I was unable to save log and force to hard reset. Here is a
screenshot of the result.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (11 preceding siblings ...)
  2017-02-04  6:10 ` bugzilla-daemon
@ 2017-02-10 22:20 ` bugzilla-daemon
  2017-02-10 22:24 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-10 22:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Marco <mpiazza@gmail.com> ---
Created attachment 129495
  --> https://bugs.freedesktop.org/attachment.cgi?id=129495&action=edit
Oops 4.9.9

Jumping in, I have a similar hybrid GPU:
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO
[Radeon HD 8570A/8570M] (rev ff)
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Kabini [Radeon HD 8330] 

Same kernel config:
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y

tried now 4.9.9 with the patch landed in stable.
Kernel oops on boot. See attached pstore log message.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (12 preceding siblings ...)
  2017-02-10 22:20 ` bugzilla-daemon
@ 2017-02-10 22:24 ` bugzilla-daemon
  2017-02-10 23:13 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-10 22:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Marco <mpiazza@gmail.com> ---
Created attachment 129496
  --> https://bugs.freedesktop.org/attachment.cgi?id=129496&action=edit
oops in 4.9.2

For the sake of being complete,
find attached log of kernel oops on kernel 4.9.2 (before patch was applied)

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (13 preceding siblings ...)
  2017-02-10 22:24 ` bugzilla-daemon
@ 2017-02-10 23:13 ` bugzilla-daemon
  2017-02-11 17:28 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-10 23:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 129497
  --> https://bugs.freedesktop.org/attachment.cgi?id=129497&action=edit
possible fix

This should fix it (in addition to the previous patch).

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (14 preceding siblings ...)
  2017-02-10 23:13 ` bugzilla-daemon
@ 2017-02-11 17:28 ` bugzilla-daemon
  2017-02-15  1:29 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-11 17:28 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Marco <mpiazza@gmail.com> ---
Created attachment 129516
  --> https://bugs.freedesktop.org/attachment.cgi?id=129516&action=edit
oops with the two patche applied

Patch does not cleanly apply on 4.9.9
but it's easy to port.

But the result is the same.
Find to attached oops with patch applied.

Debugging the faulting instruction (amdgpu_pm_compute_clocks+0x424/0x640
[amdgpu])
lead to:

Reading symbols from drivers/gpu/drm/amd/amdgpu/amdgpu_pm.o...done.
(gdb) list *(amdgpu_pm_compute_clocks+0x424/0x640)
0x1a50 is in amdgpu_pm_compute_clocks
(drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:1280).
1275    {
1276            struct drm_device *ddev = adev->ddev;
1277            struct drm_crtc *crtc;
1278            struct amdgpu_crtc *amdgpu_crtc;
1279    
1280            if (!adev->pm.dpm_enabled)
1281                    return;
1282    
1283            if (adev->pp_enabled) {
1284                    int i = 0;
(gdb) 
1285    
1286                    if (adev->mode_info.num_crtc)
1287                            amdgpu_display_bandwidth_update(adev);
1288    
1289                    for (i = 0; i < AMDGPU_MAX_RINGS; i++) {
1290                            struct amdgpu_ring *ring = adev->rings[i];
1291                            if (ring && ring->ready)
1292                                    amdgpu_fence_wait_empty(ring);
1293                    }
1294    

Fualty line seems to be:
1280            if (!adev->pm.dpm_enabled)

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (15 preceding siblings ...)
  2017-02-11 17:28 ` bugzilla-daemon
@ 2017-02-15  1:29 ` bugzilla-daemon
  2017-02-21 21:39 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-15  1:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from Luya Tshimbalanga <luya@fedoraproject.org> ---
The fix is working. Hainan video card aka Jet Pro R5 M230 successfully
initialized along the Kaveri card

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO
[Radeon R5 M230]
        Subsystem: ASUSTeK Computer Inc. Device 130d
        Physical Slot: 0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 41
        Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at fea00000 (64-bit, non-prefetchable) [size=256K]
        Region 4: I/O ports at e000 [size=256]
        Expansion ROM at fea40000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1+,D2+,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1
unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr-
TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s L1, Exit
Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis+ BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-,
OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,
OBFF Disabled
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB,
EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-,
LinkEqualizationRequest+
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0f00c  Data: 4163
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1
Len=010 <?>
        Capabilities: [150 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [270 v1] #19
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu

Minor issue is optimal power management. Essentially, the Hainan card is
running fine. Hopefully Marco will have similar success.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (16 preceding siblings ...)
  2017-02-15  1:29 ` bugzilla-daemon
@ 2017-02-21 21:39 ` bugzilla-daemon
  2017-02-24 18:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-21 21:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Marco <mpiazza@gmail.com> ---
Works fine here too (but only on 4.10) with the two ptches applied.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (17 preceding siblings ...)
  2017-02-21 21:39 ` bugzilla-daemon
@ 2017-02-24 18:22 ` bugzilla-daemon
  2017-03-07  4:27 ` bugzilla-daemon
  2017-03-07 14:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-24 18:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Following up this week with current patched kernel 4.9.11 from Mystro256 COPR
repository based on Alex's branch. 
The South Island part of hybrid GPU.e. Hainan and its derivative (Sun PRO) runs
smoothly without noticeable bug using via Applications "Launch with Dedicated
Graphic Card" on Gnome Shell 3.22.

Looking at the journalctl report sorted by amdgpu:
kernel: [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* displayport link
status failed
kernel: [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* clock recovery
failed

Not sure if that part is fixed as it does not appear affect the whole
functionality. If all South Island support works fine with amdgpu module,
perhaps will be time to enable it by default on future kernel release. If Marco
agree, perhaps this report can be closed as fixed.
Thanks for the hard work.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (18 preceding siblings ...)
  2017-02-24 18:22 ` bugzilla-daemon
@ 2017-03-07  4:27 ` bugzilla-daemon
  2017-03-07 14:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-03-07  4:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Luya Tshimbalanga <luya@fedoraproject.org> ---
Third week running with the patch. I think this report can be closed.

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

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

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

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

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

* [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
  2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
                   ` (19 preceding siblings ...)
  2017-03-07  4:27 ` bugzilla-daemon
@ 2017-03-07 14:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-03-07 14:55 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

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

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

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

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

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

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

end of thread, other threads:[~2017-03-07 14:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 19:05 [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu bugzilla-daemon
2017-01-12 19:47 ` bugzilla-daemon
2017-01-12 22:50 ` bugzilla-daemon
2017-01-12 22:53 ` bugzilla-daemon
2017-01-13  0:57 ` bugzilla-daemon
2017-01-13  3:12 ` bugzilla-daemon
2017-01-13  3:59 ` bugzilla-daemon
2017-01-13  6:00 ` bugzilla-daemon
2017-01-27 15:34 ` bugzilla-daemon
2017-01-28 19:08 ` bugzilla-daemon
2017-02-04  4:47 ` bugzilla-daemon
2017-02-04  4:59 ` bugzilla-daemon
2017-02-04  6:10 ` bugzilla-daemon
2017-02-10 22:20 ` bugzilla-daemon
2017-02-10 22:24 ` bugzilla-daemon
2017-02-10 23:13 ` bugzilla-daemon
2017-02-11 17:28 ` bugzilla-daemon
2017-02-15  1:29 ` bugzilla-daemon
2017-02-21 21:39 ` bugzilla-daemon
2017-02-24 18:22 ` bugzilla-daemon
2017-03-07  4:27 ` bugzilla-daemon
2017-03-07 14:55 ` 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).