All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
@ 2018-03-27  8:58 bugzilla-daemon
  2018-03-30 16:04 ` bugzilla-daemon
                   ` (70 more replies)
  0 siblings, 71 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-03-27  8:58 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 105760
           Summary: [4.17-drm-wip] RIP:
                    smu7_populate_single_firmware_entry.isra.6+0x57/0xc0
                    [amdgpu] RSP: ffffa17901efb930
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: taijian@posteo.de

Created attachment 138374
  --> https://bugs.freedesktop.org/attachment.cgi?id=138374&action=edit
recovered journal of boot attempt

I am trying out the linux-4.17-drm-next kernel line from
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.17-wip and with the
latest build (commit 576e538e5fe6ac103cde6b269c6210985b026689) my systemc no
longer boots to the graphical target and instead hard freezes after loading the
initramfs. A recovered journal is attached.

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

[-- Attachment #1.2: Type: text/html, Size: 2789 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] 72+ messages in thread

* [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
@ 2018-03-30 16:04 ` bugzilla-daemon
  2018-03-30 16:12 ` bugzilla-daemon
                   ` (69 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-03-30 16:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from taijian@posteo.de ---
OK, I think I've managed to narrow this one down a bit.

If I build the kernel from commit 09695ad78f1f5f315c7e9c5090f0c7b846a43690,
which is also tagged as 'drm-next-4.17', then everything is shiny. However, if
I go one step beyond that, which is commit
33d009cd889490838c5db9b9339856c9e3d3facc - being the rebasing of
drm-next-4.17-wip onto David Airlie's drm-next branch after he merged AMD's
drm-next-4.17 into his branch, then things to belly up and the kernel does not
boot anymore.

Now, what I do not get is how the rebase to a tree that includes stuff that is
not amdgpu would bork up the ability of amdgpu to load it's firmware?

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

[-- Attachment #1.2: Type: text/html, Size: 1694 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] 72+ messages in thread

* [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
  2018-03-30 16:04 ` bugzilla-daemon
@ 2018-03-30 16:12 ` bugzilla-daemon
  2018-04-16  9:05 ` [Bug 105760] [4.17-rc1] " bugzilla-daemon
                   ` (68 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-03-30 16:12 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=104854

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

[-- Attachment #1.2: Type: text/html, Size: 1139 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
  2018-03-30 16:04 ` bugzilla-daemon
  2018-03-30 16:12 ` bugzilla-daemon
@ 2018-04-16  9:05 ` bugzilla-daemon
  2018-04-16  9:06 ` bugzilla-daemon
                   ` (67 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-16  9:05 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.17-drm-wip] RIP:         |[4.17-rc1] RIP:
                   |smu7_populate_single_firmwa |smu7_populate_single_firmwa
                   |re_entry.isra.6+0x57/0xc0   |re_entry.isra.6+0x57/0xc0
                   |[amdgpu] RSP:               |[amdgpu] RSP:
                   |ffffa17901efb930            |ffffa17901efb930

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

[-- Attachment #1.2: Type: text/html, Size: 1262 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-04-16  9:05 ` [Bug 105760] [4.17-rc1] " bugzilla-daemon
@ 2018-04-16  9:06 ` bugzilla-daemon
  2018-04-16  9:06 ` bugzilla-daemon
                   ` (66 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-16  9:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from taijian@posteo.de ---
After upgrading my testing kernel to 4.17-rc1, the problem still persists and
the system remains unbootable.

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

[-- Attachment #1.2: Type: text/html, Size: 1146 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-04-16  9:06 ` bugzilla-daemon
@ 2018-04-16  9:06 ` bugzilla-daemon
  2018-04-16 13:01 ` bugzilla-daemon
                   ` (65 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-16  9:06 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|medium                      |high

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

[-- Attachment #1.2: Type: text/html, Size: 1244 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-04-16  9:06 ` bugzilla-daemon
@ 2018-04-16 13:01 ` bugzilla-daemon
  2018-04-16 14:48 ` bugzilla-daemon
                   ` (64 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-16 13:01 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=105883

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

[-- Attachment #1.2: Type: text/html, Size: 1135 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-04-16 13:01 ` bugzilla-daemon
@ 2018-04-16 14:48 ` bugzilla-daemon
  2018-04-17  7:58 ` bugzilla-daemon
                   ` (63 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-16 14:48 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Is the driver build as a module or built into the kernel?

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

[-- Attachment #1.2: Type: text/html, Size: 1139 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-04-16 14:48 ` bugzilla-daemon
@ 2018-04-17  7:58 ` bugzilla-daemon
  2018-04-17  7:58 ` bugzilla-daemon
                   ` (62 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-17  7:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from taijian@posteo.de ---
It is build as a module and then embedded in the initramfs.

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

[-- Attachment #1.2: Type: text/html, Size: 1096 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-04-17  7:58 ` bugzilla-daemon
@ 2018-04-17  7:58 ` bugzilla-daemon
  2018-04-17 10:16 ` bugzilla-daemon
                   ` (61 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-17  7:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from taijian@posteo.de ---
Assuming that you mean amdgpu.

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

[-- Attachment #1.2: Type: text/html, Size: 1067 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-04-17  7:58 ` bugzilla-daemon
@ 2018-04-17 10:16 ` bugzilla-daemon
  2018-04-17 23:08 ` bugzilla-daemon
                   ` (60 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-17 10:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from taijian@posteo.de ---
If I wanted to try to embed amdgpu in the kernel for testing, how would I even
go about doing that? Simply editing my config file from =m to =y does not seem
to do anything.

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

[-- Attachment #1.2: Type: text/html, Size: 1212 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-04-17 10:16 ` bugzilla-daemon
@ 2018-04-17 23:08 ` bugzilla-daemon
  2018-04-24  9:13 ` bugzilla-daemon
                   ` (59 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-17 23:08 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

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

--- Comment #7 from taijian@posteo.de ---
Created attachment 138890
  --> https://bugs.freedesktop.org/attachment.cgi?id=138890&action=edit
recovered journal of boot attempt

OK, trying out the latest git code from drm-next-4.18-wip up to and including
commit    37d6cbfb550ebde65ec12291ec9ec03f87cd0aff, we seem to be getting a
step further in the boot process. Now the initramfs seems to hand over fine to
GDM, I can select my user entry and enter my login password. However, the
screen then freezes upon trying to start the user session (Xorg, haven't tried
Wayland so far). Error messages look very similar to before.

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

[-- Attachment #1.2: Type: text/html, Size: 2597 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-04-17 23:08 ` bugzilla-daemon
@ 2018-04-24  9:13 ` bugzilla-daemon
  2018-05-14 14:37 ` bugzilla-daemon
                   ` (58 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-04-24  9:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from taijian@posteo.de ---
OK, the issue still persists with 4.17rc2. Same as before, I can boot into cli
but trying to start X results in a hung system because X cannot access the
dGPU. 
For reference, my firmware is current as of 

  Qs linux-firmware
  local/linux-firmware 20180402.8c1e439-1

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

[-- Attachment #1.2: Type: text/html, Size: 1311 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-04-24  9:13 ` bugzilla-daemon
@ 2018-05-14 14:37 ` bugzilla-daemon
  2018-05-21 20:02 ` bugzilla-daemon
                   ` (57 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-05-14 14:37 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.dutour@gmail.com

--- Comment #9 from Alex Deucher <alexdeucher@gmail.com> ---
*** Bug 106513 has been marked as a duplicate of this bug. ***

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

[-- Attachment #1.2: Type: text/html, Size: 2173 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-05-14 14:37 ` bugzilla-daemon
@ 2018-05-21 20:02 ` bugzilla-daemon
  2018-05-21 20:11 ` bugzilla-daemon
                   ` (56 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-05-21 20:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from taijian@posteo.de ---
This seems to be fixed an the current drm-next-4.18-wip branch.

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

[-- Attachment #1.2: Type: text/html, Size: 1102 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-05-21 20:02 ` bugzilla-daemon
@ 2018-05-21 20:11 ` bugzilla-daemon
  2018-05-21 21:33 ` bugzilla-daemon
                   ` (55 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-05-21 20:11 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

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

--- Comment #11 from taijian@posteo.de ---
*** Bug 106402 has been marked as a duplicate of this bug. ***

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

[-- Attachment #1.2: Type: text/html, Size: 2089 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-05-21 20:11 ` bugzilla-daemon
@ 2018-05-21 21:33 ` bugzilla-daemon
  2018-06-24 22:30 ` bugzilla-daemon
                   ` (54 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-05-21 21:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 139668
  --> https://bugs.freedesktop.org/attachment.cgi?id=139668&action=edit
dmesg after resume

I still get the backtrace on drm-next-4.18-wip, unfortunately.

(note that I have also cherry-picked the last patch from
https://bugzilla.kernel.org/show_bug.cgi?id=199693 to make resume work at all)

On a side node, I also see that lspci hangs when running this kernel.

System: Arch Linux
Intel Kably Lake Refresh (i7-8550U), Intel UHD 620 + Radeon Pro WX 3100.

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

[-- Attachment #1.2: Type: text/html, Size: 1766 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-05-21 21:33 ` bugzilla-daemon
@ 2018-06-24 22:30 ` bugzilla-daemon
  2018-06-25  5:37 ` bugzilla-daemon
                   ` (53 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-24 22:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from taijian@posteo.de ---
Have you tried again on any of the 4.18rc? I am currently testing 4.18-rc2 and
altough I have some other bug there, this one seems to be gone for me.

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

[-- Attachment #1.2: Type: text/html, Size: 1189 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-06-24 22:30 ` bugzilla-daemon
@ 2018-06-25  5:37 ` bugzilla-daemon
  2018-06-26 14:22 ` bugzilla-daemon
                   ` (52 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-25  5:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Mathieu.Dutour@gmail.com <mathieu.dutour@gmail.com> ---
Thanks, but no time for that.
Reverted to 17.10

Le lun. 25 juin 2018 à 00:31, <bugzilla-daemon@freedesktop.org> a écrit :

> *Comment # 13 <https://bugs.freedesktop.org/show_bug.cgi?id=105760#c13> on
> bug 105760 <https://bugs.freedesktop.org/show_bug.cgi?id=105760> from
> taijian@posteo.de <taijian@posteo.de> *
>
> Have you tried again on any of the 4.18rc? I am currently testing 4.18-rc2 and
> altough I have some other bug there, this one seems to be gone for me.
>
> ------------------------------
> You are receiving this mail because:
>
>    - You are on the CC list for the bug.
>
>

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

[-- Attachment #1.2: Type: text/html, Size: 2727 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-06-25  5:37 ` bugzilla-daemon
@ 2018-06-26 14:22 ` bugzilla-daemon
  2018-06-27  7:50 ` bugzilla-daemon
                   ` (51 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-26 14:22 UTC (permalink / raw)
  To: dri-devel


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

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

taijian@posteo.de changed:

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

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

[-- Attachment #1.2: Type: text/html, Size: 1275 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-06-26 14:22 ` bugzilla-daemon
@ 2018-06-27  7:50 ` bugzilla-daemon
  2018-06-27  7:50 ` bugzilla-daemon
                   ` (50 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-27  7:50 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Martitz <kugel@rockbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #15 from Thomas Martitz <kugel@rockbox.org> ---
Still happens for me on 4.18-rc2.

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

[-- Attachment #1.2: Type: text/html, Size: 2140 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-06-27  7:50 ` bugzilla-daemon
@ 2018-06-27  7:50 ` bugzilla-daemon
  2018-06-28  7:25 ` bugzilla-daemon
                   ` (49 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-27  7:50 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Martitz <kugel@rockbox.org> changed:

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

--- Comment #16 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140356
  --> https://bugs.freedesktop.org/attachment.cgi?id=140356&action=edit
dmesg after resume

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

[-- Attachment #1.2: Type: text/html, Size: 2211 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-06-27  7:50 ` bugzilla-daemon
@ 2018-06-28  7:25 ` bugzilla-daemon
  2018-06-28  7:51 ` bugzilla-daemon
                   ` (48 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-28  7:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from taijian@posteo.de ---
OK, over at bug 107045 we agreed I'd start bisecting this starting from 4.16.
I'll report back once I find something, but it'll be a while...

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

[-- Attachment #1.2: Type: text/html, Size: 1370 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (21 preceding siblings ...)
  2018-06-28  7:25 ` bugzilla-daemon
@ 2018-06-28  7:51 ` bugzilla-daemon
  2018-06-29 19:08 ` bugzilla-daemon
                   ` (47 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-28  7:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Thomas Martitz <kugel@rockbox.org> ---
Uhm, I can reproduce this problem also in 4.14 LTS, which prevented me from
bisecting myself.

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

[-- Attachment #1.2: Type: text/html, Size: 1194 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (22 preceding siblings ...)
  2018-06-28  7:51 ` bugzilla-daemon
@ 2018-06-29 19:08 ` bugzilla-daemon
  2018-06-29 22:14 ` bugzilla-daemon
                   ` (46 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-29 19:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Thomas Martitz <kugel@rockbox.org> ---
I tried https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.19-wip but
the issue remains

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

[-- Attachment #1.2: Type: text/html, Size: 1278 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (23 preceding siblings ...)
  2018-06-29 19:08 ` bugzilla-daemon
@ 2018-06-29 22:14 ` bugzilla-daemon
  2018-07-11 14:31 ` bugzilla-daemon
                   ` (45 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-06-29 22:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from taijian@posteo.de ---
Yeah, screw this. 

I tried again, but because there are several different bugs interacting and
screwing up the boot process, I really can't seem to be able to figure out
which one exactly is borking up which build. 

I've been waiting for more than a year to be able to use my laptop the way it
was meant to be, and I'm now ready to declare that I'm never again buying a
piece of hardware that hasn't already been confirmed to work with Linux.

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

[-- Attachment #1.2: Type: text/html, Size: 1511 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (24 preceding siblings ...)
  2018-06-29 22:14 ` bugzilla-daemon
@ 2018-07-11 14:31 ` bugzilla-daemon
  2018-07-11 19:21 ` bugzilla-daemon
                   ` (44 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 14:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140560
  --> https://bugs.freedesktop.org/attachment.cgi?id=140560&action=edit
workaround

The attached workaround makes resuming generally work on my system. The problem
seems to be that the memory that smu_data->header is pointing to changes behind
the code's back. (I used printk inside smu7_populate_single_firmware_entry()
and saw that the pointer (&toc->entry[0]) passed to it is widely different from
what the caller sees, so I think the structure pointed to by toc gets
overwritten)

I assume this is some mapped memory and some HW component in the GPU writes to
it while the CPU is using it, isn't it? If so, the proper fix would be to
prevent that but I don't know what's the proper way of doing it in this
context.

I hope the experts can take a look into the patch for more insight and a real
fix.

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

[-- Attachment #1.2: Type: text/html, Size: 2153 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (25 preceding siblings ...)
  2018-07-11 14:31 ` bugzilla-daemon
@ 2018-07-11 19:21 ` bugzilla-daemon
  2018-07-11 19:21 ` bugzilla-daemon
                   ` (43 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 19:21 UTC (permalink / raw)
  To: dri-devel


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

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

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

Does this patch set help?

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

[-- Attachment #1.2: Type: text/html, Size: 1459 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (26 preceding siblings ...)
  2018-07-11 19:21 ` bugzilla-daemon
@ 2018-07-11 19:21 ` bugzilla-daemon
  2018-07-11 19:22 ` bugzilla-daemon
                   ` (42 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 19:21 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

[-- Attachment #1.2: Type: text/html, Size: 1430 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (27 preceding siblings ...)
  2018-07-11 19:21 ` bugzilla-daemon
@ 2018-07-11 19:22 ` bugzilla-daemon
  2018-07-11 19:22 ` bugzilla-daemon
                   ` (41 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 19:22 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

[-- Attachment #1.2: Type: text/html, Size: 1430 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (28 preceding siblings ...)
  2018-07-11 19:22 ` bugzilla-daemon
@ 2018-07-11 19:22 ` bugzilla-daemon
  2018-07-11 20:20 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 19:22 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

[-- Attachment #1.2: Type: text/html, Size: 1430 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (29 preceding siblings ...)
  2018-07-11 19:22 ` bugzilla-daemon
@ 2018-07-11 20:20 ` bugzilla-daemon
  2018-07-11 20:24 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 20:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #26 from Thomas Martitz <kugel@rockbox.org> ---
No, unfortunately it doesn't seem to have an effect. I still run into the same
oops, and the printk's I added indicate the same problem (the entry pointer
passed to smu7_populate_single_firmware_entry() is busted, but fine just before
the call).

[   40.676302] PM: suspend exit
[   40.686230] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[   40.744451] smu7_request_smu_load_fw 10 0000000095bc3514 10 000000008bdf55bd
0
[   40.744461] smu7_populate_single_firmware_entry 10 10 00000000348c95be
000000008bdf55bd
[   40.744467] smu7_populate_single_firmware_entry 20 10 00000000348c95be
000000008bdf55bd
[   40.744478] BUG: unable to handle kernel paging request at ffffb09e2045efec
[   40.744482] PGD 266d39067 P4D 266d39067 PUD 0 
[   40.744490] Oops: 0002 [#1] PREEMPT SMP PTI
[   40.744497] CPU: 6 PID: 219 Comm: kworker/6:2 Tainted: G     U           
4.18.0-rc3-custom+ #63
[   40.744500] Hardware name: HP HP ZBook 14u G5/83B2, BIOS Q78 Ver. 01.00.05
01/25/2018
[   40.744510] Workqueue: pm pm_runtime_work
[   40.744517] RIP: 0010:smu7_populate_single_firmware_entry+0x83/0xda
[   40.744519] Code: 60 00 4d 89 e0 48 89 d9 89 ea 41 89 c5 48 c7 c6 40 fe ec
8f 48 c7 c7 fd c6 17 90 e8 5c b0 ad ff 45 85 ed 75 40 66 8b 44 24 02 <66> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89 
[   40.744581] RSP: 0018:ffffb0820175fc38 EFLAGS: 00010246
[   40.744585] RAX: 0000000000000018 RBX: ffffb09e2045efec RCX:
0000000000000001
[   40.744588] RDX: 0000000080000001 RSI: ffffffff901151ce RDI:
00000000ffffffff
[   40.744590] RBP: 000000000000000a R08: ffffffff8f499790 R09:
0000000000000421
[   40.744593] R10: 0000000000000004 R11: ffffffff90ab8f2d R12:
ffff8e1f65474c00
[   40.744596] R13: 0000000000000000 R14: ffffb0822045f008 R15:
ffff8e1f6564b0a0
[   40.744599] FS:  0000000000000000(0000) GS:ffff8e1f6f580000(0000)
knlGS:0000000000000000
[   40.744602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   40.744605] CR2: ffffb09e2045efec CR3: 000000025a40a005 CR4:
00000000003606e0
[   40.744608] Call Trace:
[   40.744617]  smu7_request_smu_load_fw+0xd2/0x120
[   40.744624]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   40.744629]  polaris10_start_smu+0x44/0x4d0
[   40.744635]  hwmgr_resume+0x29/0x80
[   40.744641]  amdgpu_device_ip_resume_phase2+0x51/0xb0
[   40.744647]  amdgpu_device_resume+0xb5/0x360
[   40.744653]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   40.744658]  amdgpu_pmops_runtime_resume+0x6b/0xa0
[   40.744663]  pci_pm_runtime_resume+0x78/0xb0
[   40.744669]  __rpm_callback+0x75/0x1b0
[   40.744675]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   40.744679]  rpm_callback+0x1f/0x70
[   40.744684]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   40.744689]  rpm_resume+0x57e/0x7c0
[   40.744695]  pm_runtime_work+0x50/0xa0
[   40.744700]  process_one_work+0x1eb/0x3c0
[   40.744704]  worker_thread+0x2d/0x3d0
[   40.744709]  ? process_one_work+0x3c0/0x3c0
[   40.744713]  kthread+0x112/0x130
[   40.744718]  ? kthread_flush_work_fn+0x10/0x10
[   40.744724]  ret_from_fork+0x35/0x40
[   40.744730] Modules linked in: cmac ccm rfcomm intel_rapl arc4
x86_pkg_temp_thermal intel_powerclamp bnep snd_hda_codec_hdmi coretemp
snd_hda_codec_conexant snd_hda_codec_generic joydev mousedev kvm iwlmvm
snd_soc_skl nls_iso8859_1 snd_soc_skl_ipc snd_soc_sst_ipc btusb snd_soc_sst_dsp
btrtl snd_hda_ext_core btbcm nls_cp437 snd_soc_core hid_multitouch irqbypass
vfat crct10dif_pclmul crc32_pclmul fat ghash_clmulni_intel mac80211 iTCO_wdt
snd_compress hid_generic btintel pcbc mei_wdt iTCO_vendor_support snd_soc_acpi
bluetooth snd_hda_intel i915 hp_wmi sparse_keymap intel_wmi_thunderbolt
wmi_bmof snd_hda_codec iwlwifi snd_hwdep snd_hda_core aesni_intel aes_x86_64
crypto_simd crc16 ecdh_generic snd_pcm e1000e cryptd glue_helper intel_cstate
cfg80211 snd_timer intel_uncore snd intel_rapl_perf input_leds
[   40.744798]  psmouse led_class uvcvideo videobuf2_vmalloc ptp
videobuf2_memops videobuf2_v4l2 idma64 i2c_i801 mei_me pps_core soundcore
ucsi_acpi videobuf2_common typec_ucsi rfkill tpm_crb i2c_hid mei videodev typec
intel_lpss_pci processor_thermal_device hid intel_lpss intel_soc_dts_iosf
intel_pch_thermal wmi intel_gtt evdev media int3403_thermal rtc_cmos
int340x_thermal_zone tpm_tis tpm_tis_core tpm mac_hid int3400_thermal battery
rng_core acpi_thermal_rel hp_wireless ac sg scsi_mod crypto_user ip_tables
x_tables btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress
xxhash raid6_pq serio_raw atkbd libps2 xhci_pci xhci_hcd crc32c_intel usbcore
usb_common i8042 serio
[   40.744861] CR2: ffffb09e2045efec
[   40.744865] ---[ end trace d2eb1a098dac8272 ]---
[   40.744870] RIP: 0010:smu7_populate_single_firmware_entry+0x83/0xda
[   40.744872] Code: 60 00 4d 89 e0 48 89 d9 89 ea 41 89 c5 48 c7 c6 40 fe ec
8f 48 c7 c7 fd c6 17 90 e8 5c b0 ad ff 45 85 ed 75 40 66 8b 44 24 02 <66> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89 
[   40.744925] RSP: 0018:ffffb0820175fc38 EFLAGS: 00010246
[   40.744929] RAX: 0000000000000018 RBX: ffffb09e2045efec RCX:
0000000000000001
[   40.744932] RDX: 0000000080000001 RSI: ffffffff901151ce RDI:
00000000ffffffff
[   40.744934] RBP: 000000000000000a R08: ffffffff8f499790 R09:
0000000000000421
[   40.744937] R10: 0000000000000004 R11: ffffffff90ab8f2d R12:
ffff8e1f65474c00
[   40.744939] R13: 0000000000000000 R14: ffffb0822045f008 R15:
ffff8e1f6564b0a0
[   40.744943] FS:  0000000000000000(0000) GS:ffff8e1f6f580000(0000)
knlGS:0000000000000000
[   40.744946] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   40.744948] CR2: ffffb09e2045efec CR3: 000000025a40a005 CR4:
00000000003606e0

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

[-- Attachment #1.2: Type: text/html, Size: 6857 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (30 preceding siblings ...)
  2018-07-11 20:20 ` bugzilla-daemon
@ 2018-07-11 20:24 ` bugzilla-daemon
  2018-07-11 22:01 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 20:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #27 from Thomas Martitz <kugel@rockbox.org> ---
I wonder if any of the following warnings I see at boot has anyting to do with
it:

[    0.905752] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.905796] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.905840] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.905884] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.905929] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.905975] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.906019] amdgpu: [powerplay] Voltage value looks like a Leakage ID but
it's not patched 
[    0.927117] amdgpu: [powerplay] Failed to retrieve minimum clocks.
[    0.927118] amdgpu: [powerplay] Error in phm_get_clock_info 
[    0.927165] [drm] DM_PPLIB: values for Engine clock
[    0.927166] [drm] DM_PPLIB:   21400
[    0.927167] [drm] DM_PPLIB:   37200
[    0.927167] [drm] DM_PPLIB:   55100
[    0.927168] [drm] DM_PPLIB:   73400
[    0.927169] [drm] DM_PPLIB:   92100
[    0.927169] [drm] DM_PPLIB:   98000
[    0.927170] [drm] DM_PPLIB:   101800
[    0.927171] [drm] DM_PPLIB:   104600
[    0.927172] [drm] DM_PPLIB: Validation clocks:
[    0.927172] [drm] DM_PPLIB:    engine_max_clock: 104600
[    0.927173] [drm] DM_PPLIB:    memory_max_clock: 150000
[    0.927174] [drm] DM_PPLIB:    level           : 0
[    0.927176] [drm] DM_PPLIB: values for Memory clock
[    0.927177] [drm] DM_PPLIB:   30000
[    0.927177] [drm] DM_PPLIB:   62500
[    0.927178] [drm] DM_PPLIB:   150000
[    0.927179] [drm] DM_PPLIB: Validation clocks:
[    0.927180] [drm] DM_PPLIB:    engine_max_clock: 104600
[    0.927180] [drm] DM_PPLIB:    memory_max_clock: 150000
[    0.927181] [drm] DM_PPLIB:    level           : 0
[    0.927187] [drm:dc_create] *ERROR* DC: Number of connectors is zero!
[    0.928139] [drm] Display Core initialized with v3.1.52!
[    0.928203] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.928204] [drm] Driver supports precise vblank timestamp query.
[    0.959940] [drm] UVD and UVD ENC initialized successfully.
[    1.060904] [drm] VCE initialized successfully.
[    1.065071] [drm] Initialized amdgpu 3.26.0 20150101 for 0000:01:00.0 on
minor 0

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

[-- Attachment #1.2: Type: text/html, Size: 3490 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (31 preceding siblings ...)
  2018-07-11 20:24 ` bugzilla-daemon
@ 2018-07-11 22:01 ` bugzilla-daemon
  2018-07-12  4:45 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-11 22:01 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140573|0                           |1
        is obsolete|                            |
 Attachment #140574|0                           |1
        is obsolete|                            |
 Attachment #140575|0                           |1
        is obsolete|                            |
 Attachment #140576|0                           |1
        is obsolete|                            |

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

Something appears to be corrupting the cpu pointer.  This patch may work around
the issue, but ideally we figure out what is corrupting the cpu pointer in the
first place.

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

[-- Attachment #1.2: Type: text/html, Size: 3079 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (32 preceding siblings ...)
  2018-07-11 22:01 ` bugzilla-daemon
@ 2018-07-12  4:45 ` bugzilla-daemon
  2018-07-12  4:56 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  4:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #29 from Thomas Martitz <kugel@rockbox.org> ---
Unfortunately, the last patch doesn't help either. This time I removed all my
printk's and applied your patch on top of ~agd5f/linux/drm-next-4.19


[   32.537266] BUG: unable to handle kernel paging request at ffffb77e20080fec
[   32.537270] PGD 266d39067 P4D 266d39067 PUD 0 
[   32.537274] Oops: 0002 [#1] PREEMPT SMP PTI
[   32.537276] CPU: 2 PID: 1042 Comm: kworker/2:4 Tainted: G     U           
4.18.0-rc3-custom+ #64
[   32.537277] Hardware name: HP HP ZBook 14u G5/83B2, BIOS Q78 Ver. 01.00.05
01/25/2018
[   32.537282] Workqueue: pm pm_runtime_work
[   32.537286] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0xa0
[   32.537287] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 fe
ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89 
[   32.537311] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246
[   32.537313] RAX: 000000000000008c RBX: ffffb77e20080fec RCX:
0000000000532000
[   32.537314] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI:
ffff90aa63bf1c10
[   32.537315] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09:
ffff90aa634cdf00
[   32.537316] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff90aa63462c14
[   32.537318] R13: ffff90aa63b94000 R14: 000000000000047e R15:
ffff90aa63462c14
[   32.537319] FS:  0000000000000000(0000) GS:ffff90aa6f480000(0000)
knlGS:0000000000000000
[   32.537321] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   32.537322] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4:
00000000003606e0
[   32.537323] Call Trace:
[   32.537327]  smu7_request_smu_load_fw+0x179/0x430
[   32.537331]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537333]  polaris10_start_smu+0x44/0x4d0
[   32.537336]  hwmgr_resume+0x29/0x80
[   32.537339]  amdgpu_device_ip_resume_phase2+0x51/0xb0
[   32.537342]  amdgpu_device_resume+0xb5/0x360
[   32.537345]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537347]  amdgpu_pmops_runtime_resume+0x6b/0xa0
[   32.537349]  pci_pm_runtime_resume+0x78/0xb0
[   32.537352]  __rpm_callback+0x75/0x1b0
[   32.537354]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537356]  rpm_callback+0x1f/0x70
[   32.537359]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537361]  rpm_resume+0x57e/0x7c0
[   32.537363]  pm_runtime_work+0x50/0xa0
[   32.537366]  process_one_work+0x1eb/0x3c0
[   32.537368]  worker_thread+0x2d/0x3d0
[   32.537370]  ? process_one_work+0x3c0/0x3c0
[   32.537372]  kthread+0x112/0x130
[   32.537374]  ? kthread_flush_work_fn+0x10/0x10
[   32.537377]  ret_from_fork+0x35/0x40
[   32.537380] Modules linked in: cmac rfcomm ccm usbhid arc4
snd_hda_codec_hdmi bnep snd_hda_codec_conexant snd_hda_codec_generic joydev
mousedev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_skl
nls_iso8859_1 iwlmvm snd_soc_skl_ipc nls_cp437 vfat kvm snd_soc_sst_ipc fat
hp_wmi snd_soc_sst_dsp iTCO_wdt hid_multitouch mac80211 hid_generic mei_wdt
iTCO_vendor_support intel_wmi_thunderbolt snd_hda_ext_core sparse_keymap
irqbypass crct10dif_pclmul wmi_bmof crc32_pclmul ghash_clmulni_intel
snd_soc_core pcbc i915 iwlwifi uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_v4l2 snd_compress snd_soc_acpi videobuf2_common snd_hda_intel
videodev aesni_intel btusb snd_hda_codec btrtl btbcm media aes_x86_64
crypto_simd cryptd btintel snd_hwdep glue_helper intel_cstate snd_hda_core
bluetooth
[   32.537413]  intel_uncore input_leds intel_rapl_perf led_class snd_pcm
psmouse cfg80211 snd_timer mei_me e1000e mei snd crc16 thunderbolt ecdh_generic
processor_thermal_device soundcore idma64 intel_soc_dts_iosf ptp tpm_crb rfkill
i2c_i801 pps_core i2c_hid intel_gtt intel_lpss_pci intel_lpss ucsi_acpi
intel_pch_thermal hid typec_ucsi typec wmi evdev tpm_tis int3403_thermal
tpm_tis_core int340x_thermal_zone rtc_cmos tpm int3400_thermal mac_hid ac
battery acpi_thermal_rel rng_core hp_wireless sg scsi_mod crypto_user ip_tables
x_tables btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress
xxhash raid6_pq serio_raw atkbd libps2 xhci_pci xhci_hcd crc32c_intel usbcore
usb_common i8042 serio
[   32.537446] CR2: ffffb77e20080fec
[   32.537448] ---[ end trace 63bf3db85058595c ]---
[   32.537451] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0xa0
[   32.537452] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 fe
ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89 
[   32.537476] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246
[   32.537477] RAX: 000000000000008c RBX: ffffb77e20080fec RCX:
0000000000532000
[   32.537479] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI:
ffff90aa63bf1c10
[   32.537480] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09:
ffff90aa634cdf00
[   32.537481] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff90aa63462c14
[   32.537482] R13: ffff90aa63b94000 R14: 000000000000047e R15:
ffff90aa63462c14
[   32.537484] FS:  0000000000000000(0000) GS:ffff90aa6f480000(0000)
knlGS:0000000000000000
[   32.537485] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   32.537486] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4:
00000000003606e0

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

[-- Attachment #1.2: Type: text/html, Size: 6412 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (33 preceding siblings ...)
  2018-07-12  4:45 ` bugzilla-daemon
@ 2018-07-12  4:56 ` bugzilla-daemon
  2018-07-12  5:09 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  4:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #30 from Alex Deucher <alexdeucher@gmail.com> ---
Is it the first call to smu7_populate_single_firmware_entry() which fails or
one of the later ones?

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

[-- Attachment #1.2: Type: text/html, Size: 1204 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (34 preceding siblings ...)
  2018-07-12  4:56 ` bugzilla-daemon
@ 2018-07-12  5:09 ` bugzilla-daemon
  2018-07-12  5:41 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  5:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #31 from Thomas Martitz <kugel@rockbox.org> ---
I can't say for sure for your latest patch because I removed the printks, but
it has been the first one before (but only after resume, the ones at boot are
OK). Should I check again for your latest patch?

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

[-- Attachment #1.2: Type: text/html, Size: 1306 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (35 preceding siblings ...)
  2018-07-12  5:09 ` bugzilla-daemon
@ 2018-07-12  5:41 ` bugzilla-daemon
  2018-07-12  6:34 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  5:41 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

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

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

How about this patch?

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

[-- Attachment #1.2: Type: text/html, Size: 2312 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (36 preceding siblings ...)
  2018-07-12  5:41 ` bugzilla-daemon
@ 2018-07-12  6:34 ` bugzilla-daemon
  2018-07-12  8:00 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  6:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #33 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas Martitz from comment #21)
> 
> I assume this is some mapped memory and some HW component in the GPU writes
> to it while the CPU is using it, isn't it? If so, the proper fix would be to
> prevent that but I don't know what's the proper way of doing it in this
> context.

The CPU is writing to a buffer that the GPU ultimately reads.  Even if the data
in the buffer were corrupted by the GPU somehow, the CPU's pointer should still
be valid.  Can you add slub_debug=FPZU to the kernel command line in grub and
attach your dmesg output?

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

[-- Attachment #1.2: Type: text/html, Size: 1753 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (37 preceding siblings ...)
  2018-07-12  6:34 ` bugzilla-daemon
@ 2018-07-12  8:00 ` bugzilla-daemon
  2018-07-12 13:17 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12  8:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #34 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140585
  --> https://bugs.freedesktop.org/attachment.cgi?id=140585&action=edit
dmesg with 0001-drm-amdgpu-pp-smu7-cache-smu-firmware-toc.patch

This patch makes resume work, attached is the dmesg output of boot + 3
suspend-resume cycles. Please note the powerplay error messages, followed
ultimately by a GPU reset.

Looking at the patch it seems similar to my workarond, in that the toc is
copied in one memcpy_toio (my patch uses plain memcpy, is there a difference
here, for memory mapped buffers?) instead of changing the toc in-place. And I
too see lots of powerplay errors if i apply my workaround.

Huge thanks for taking time to look into this!

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

[-- Attachment #1.2: Type: text/html, Size: 2002 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (38 preceding siblings ...)
  2018-07-12  8:00 ` bugzilla-daemon
@ 2018-07-12 13:17 ` bugzilla-daemon
  2018-07-12 13:17 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:17 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #35 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 140590
  --> https://bugs.freedesktop.org/attachment.cgi?id=140590&action=edit
use gtt for firmware buffers

I still don't understand what's corrupting the cpu pointer.  Ultimately, it
looks like the GPU does not power up correctly after powering down so the
segfault is largely irrelevant.  Does this patch help? memcpy_toio is required
for accessing memory mapped device resources (e.g., vram) on some platforms. 
x86 doesn't matter.

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

[-- Attachment #1.2: Type: text/html, Size: 1800 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (39 preceding siblings ...)
  2018-07-12 13:17 ` bugzilla-daemon
@ 2018-07-12 13:17 ` bugzilla-daemon
  2018-07-12 13:19 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:17 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Martitz <kugel@rockbox.org> changed:

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

--- Comment #36 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140591
  --> https://bugs.freedesktop.org/attachment.cgi?id=140591&action=edit
workaround without memcpy

I made the following patch as an alternative workaround. The printks I added
indicate what's going wrong. The smu_data->header pointer does not become
busted. Instead, the toc->num_entries member somehow gets set to -1 (perhaps by
accident), and since toc->num_entries is used as an index for the toc->entry
array, the smu7_populate_single_firmware_entry() function gets passed an
invalid pointer.

The workaround uses a temp. variable as the index (which seems to make resume
work), but it's still to be found out why toc->num_entries changes to -1. Also,
I still get lots of powerplay error messages with this patch. I'll attach dmesg
next, below is just the output of the printks I added.

kugel@thomas-nb:linux.git$ dmesg  | grep smu7
[    0.908377] amdgpu: [powerplay] smu7_request_smu_load_fw: 10
ffffa8a060081000 0 1
[    0.908422] amdgpu: [powerplay] smu7_request_smu_load_fw: 20
ffffa8a060081000 0 1
[   30.042293] amdgpu: [powerplay] smu7_request_smu_load_fw: 10
ffffa8a060081000 0 1
[   30.042309] amdgpu: [powerplay] smu7_request_smu_load_fw: 20
ffffa8a060081000 -1 -1

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

[-- Attachment #1.2: Type: text/html, Size: 3441 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (40 preceding siblings ...)
  2018-07-12 13:17 ` bugzilla-daemon
@ 2018-07-12 13:19 ` bugzilla-daemon
  2018-07-12 13:21 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #37 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140592
  --> https://bugs.freedesktop.org/attachment.cgi?id=140592&action=edit
dmesg with 0001-workaround-v2.patch

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

[-- Attachment #1.2: Type: text/html, Size: 1397 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (41 preceding siblings ...)
  2018-07-12 13:19 ` bugzilla-daemon
@ 2018-07-12 13:21 ` bugzilla-daemon
  2018-07-12 13:28 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #38 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas Martitz from comment #36)
> Created attachment 140591 [details] [review]
> workaround without memcpy
> 
> I made the following patch as an alternative workaround. The printks I added
> indicate what's going wrong. The smu_data->header pointer does not become
> busted. Instead, the toc->num_entries member somehow gets set to -1 (perhaps
> by accident), and since toc->num_entries is used as an index for the
> toc->entry array, the smu7_populate_single_firmware_entry() function gets
> passed an invalid pointer.
> 
> The workaround uses a temp. variable as the index (which seems to make
> resume work), but it's still to be found out why toc->num_entries changes to
> -1. Also, I still get lots of powerplay error messages with this patch. I'll
> attach dmesg next, below is just the output of the printks I added.

That explains it.  The problem is that the GPU does not power up properly on
resume so when you read back from vram to get the index, it returns all 1s
since the device is offline.

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

[-- Attachment #1.2: Type: text/html, Size: 2558 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (42 preceding siblings ...)
  2018-07-12 13:21 ` bugzilla-daemon
@ 2018-07-12 13:28 ` bugzilla-daemon
  2018-07-12 13:31 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:28 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140584|0                           |1
        is obsolete|                            |
 Attachment #140590|0                           |1
        is obsolete|                            |

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

Does this patch help fix the root case?  To anyone else testing this patch,
update the pci ids to match those of your chip.

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

[-- Attachment #1.2: Type: text/html, Size: 2620 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (43 preceding siblings ...)
  2018-07-12 13:28 ` bugzilla-daemon
@ 2018-07-12 13:31 ` bugzilla-daemon
  2018-07-12 13:35 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #40 from Thomas Martitz <kugel@rockbox.org> ---
Further investigations show that toc->num_entires and toc->structure_version
are set to -1 after the first call to smu7_request_smu_load_fw(). Does that
makes sense?

Since you say the GPU does not properly wake up, can you imagine a workaround?
The laptop works with windows (of course...) so I'd think there ought to be a
sw workaround.

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

[-- Attachment #1.2: Type: text/html, Size: 1450 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (44 preceding siblings ...)
  2018-07-12 13:31 ` bugzilla-daemon
@ 2018-07-12 13:35 ` bugzilla-daemon
  2018-07-12 19:38 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 13:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #41 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas Martitz from comment #40)
> Further investigations show that toc->num_entires and toc->structure_version
> are set to -1 after the first call to smu7_request_smu_load_fw(). Does that
> makes sense?

If you read back from the BAR resource on an offline pci device it returns all
1s.

> 
> Since you say the GPU does not properly wake up, can you imagine a
> workaround? The laptop works with windows (of course...) so I'd think there
> ought to be a sw workaround.

Does attachment 140593 fix it as a workaround?  I think ultimately it might be
a flaw in how Linux handles d3cold on some platforms.

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

[-- Attachment #1.2: Type: text/html, Size: 2134 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (45 preceding siblings ...)
  2018-07-12 13:35 ` bugzilla-daemon
@ 2018-07-12 19:38 ` bugzilla-daemon
  2018-07-12 20:33 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 19:38 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Martitz <kugel@rockbox.org> changed:

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

--- Comment #42 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140611
  --> https://bugs.freedesktop.org/attachment.cgi?id=140611&action=edit
dmesg with 0001-workaround-v2.patch +
0001-drm-amdgpu-add-ATPX-quirk-for-a-polaris-12-laptop.patch

Sorry to say, but this patch makes things actually *worse*.

First, by accident, I added your latest patch on-top of my previous workaround
v2. This gives working suspend/resume but many more error messages in dmesg, in
particular a WARN() triggers:

[  385.996911] Modules linked in: cmac rfcomm ccm arc4 snd_hda_codec_hdmi
snd_hda_codec_conexant snd_hda_codec_generic joydev intel_rapl mousedev
x86_pkg_temp_thermal intel_powerclamp bnep coretemp iwlmvm snd_soc_skl
snd_soc_skl_ipc hid_multitouch snd_soc_sst_ipc mac80211 snd_soc_sst_dsp
hid_generic kvm snd_hda_ext_core mei_wdt snd_soc_core nls_iso8859_1 i915
nls_cp437 iwlwifi btusb irqbypass btrtl vfat btbcm crct10dif_pclmul
snd_compress btintel iTCO_wdt crc32_pclmul iTCO_vendor_support snd_soc_acpi
ghash_clmulni_intel fat bluetooth pcbc intel_wmi_thunderbolt hp_wmi
sparse_keymap snd_hda_intel wmi_bmof snd_hda_codec cfg80211 crc16 snd_hwdep
ecdh_generic aesni_intel snd_hda_core aes_x86_64 crypto_simd snd_pcm cryptd
e1000e snd_timer glue_helper intel_cstate intel_uncore intel_rapl_perf uvcvideo
idma64
[  385.996938]  tpm_crb input_leds led_class videobuf2_vmalloc snd psmouse
videobuf2_memops mei_me i2c_i801 ptp mei videobuf2_v4l2 pps_core
processor_thermal_device ucsi_acpi i2c_hid videobuf2_common typec_ucsi
intel_lpss_pci soundcore typec rfkill intel_pch_thermal wmi intel_gtt
intel_lpss intel_soc_dts_iosf hid videodev tpm_tis tpm_tis_core int3403_thermal
int340x_thermal_zone rtc_cmos media evdev tpm ac int3400_thermal mac_hid
battery acpi_thermal_rel rng_core hp_wireless sg scsi_mod crypto_user ip_tables
x_tables btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress
xxhash serio_raw raid6_pq atkbd libps2 xhci_pci xhci_hcd crc32c_intel usbcore
usb_common i8042 serio
[  385.996964] CPU: 4 PID: 215 Comm: kworker/4:2 Tainted: G     U  W        
4.18.0-rc3-custom+ #73
[  385.996965] Hardware name: HP HP ZBook 14u G5/83B2, BIOS Q78 Ver. 01.00.05
01/25/2018
[  385.996968] Workqueue: pm pm_runtime_work
[  385.996970] RIP: 0010:generic_reg_wait+0xe7/0x160
[  385.996970] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50
48 c7 c7 f8 29 19 bd e8 c4 24 e5 ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48
83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f 
[  385.996989] RSP: 0018:ffffb45681fefbd8 EFLAGS: 00010297
[  385.996990] RAX: 000000000000006b RBX: 000000000000000a RCX:
0000000000000001
[  385.996991] RDX: 0000000080000001 RSI: ffffffffbd1151a6 RDI:
00000000ffffffff
[  385.996991] RBP: ffff97f4e37e3240 R08: ffffffffbc499790 R09:
00000000ffffffff
[  385.996992] R10: 0000000000000004 R11: ffffffffbdab8f2d R12:
0000000000000bb9
[  385.996992] R13: 0000000000004ea4 R14: 0000000000010000 R15:
0000000000000000
[  385.996993] FS:  0000000000000000(0000) GS:ffff97f4ef500000(0000)
knlGS:0000000000000000
[  385.996994] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  385.996994] CR2: 00007ff68c6ef000 CR3: 00000001ee40a002 CR4:
00000000003606e0
[  385.996995] Call Trace:
[  385.997000]  dce110_stream_encoder_dp_blank+0x11c/0x180
[  385.997002]  power_down_all_hw_blocks+0x3d/0x1c0
[  385.997003]  dce110_power_down+0xe/0x20
[  385.997005]  dc_set_power_state+0x1b/0x70
[  385.997007]  dm_suspend+0x4a/0x60
[  385.997009]  amdgpu_device_ip_suspend+0xe4/0x170
[  385.997011]  amdgpu_device_suspend+0x251/0x3a0
[  385.997013]  amdgpu_pmops_runtime_suspend+0x44/0xb0
[  385.997015]  pci_pm_runtime_suspend+0x64/0x180
[  385.997017]  ? vga_switcheroo_runtime_resume+0x60/0x60
[  385.997019]  vga_switcheroo_runtime_suspend+0x24/0xb0
[  385.997020]  __rpm_callback+0x75/0x1b0
[  385.997022]  ? __switch_to_asm+0x30/0x60
[  385.997024]  ? vga_switcheroo_runtime_resume+0x60/0x60
[  385.997025]  rpm_callback+0x1f/0x70
[  385.997026]  ? vga_switcheroo_runtime_resume+0x60/0x60
[  385.997028]  rpm_suspend+0x12a/0x610
[  385.997030]  ? finish_task_switch+0x83/0x2e0
[  385.997031]  ? __switch_to_asm+0x24/0x60
[  385.997032]  pm_runtime_work+0x7d/0xa0
[  385.997034]  process_one_work+0x1eb/0x3c0
[  385.997035]  worker_thread+0x2d/0x3d0
[  385.997037]  ? process_one_work+0x3c0/0x3c0
[  385.997038]  kthread+0x112/0x130
[  385.997039]  ? kthread_flush_work_fn+0x10/0x10
[  385.997041]  ret_from_fork+0x35/0x40
[  385.997043] ---[ end trace 04724a7f4f9fccf6 ]---

Then, there is new fatal error messages like this (the last line is new with
your patch):

[  436.030371] amdgpu: [powerplay] 
                failed to send message 261 ret is 65535 
[  436.030394] amdgpu: [powerplay] 
                last message was failed ret is 65535
[  436.030410] amdgpu: [powerplay] 
                failed to send message 261 ret is 65535 
[  436.030433] amdgpu: [powerplay] 
                last message was failed ret is 65535
[  436.030448] amdgpu: [powerplay] 
                failed to send message 261 ret is 65535 
[  436.030471] amdgpu: [powerplay] 
                last message was failed ret is 65535
[  436.030487] amdgpu: [powerplay] 
                failed to send message 261 ret is 65535 
[  436.145782] amdgpu 0000:01:00.0: GPU pci config reset
[  437.106049] [drm:amdgpu_device_suspend] *ERROR* amdgpu asic reset failed

I'm also quite sure I haven't seen the following before:
[  370.888835] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 0 test failed
(scratch(0xC040)=0xFFFFFFFF)
[  370.888839] [drm:amdgpu_device_ip_resume_phase2] *ERROR* resume of IP block
<gfx_v8_0> failed -22
[  370.888841] [drm:amdgpu_device_resume] *ERROR* amdgpu_device_ip_resume
failed (-22).

Most importantly, my observation that reading toc->num_entries returns -1 is
still occuring:

[  368.991914] amdgpu: [powerplay] smu7_request_smu_load_fw: 10
ffffb456a0081000 0 1
[  368.991927] amdgpu: [powerplay] smu7_request_smu_load_fw: 20
ffffb456a0081000 -1 -1


Then, after I found my workaround is still aplied, I tried without.
Unfortunately, with just your patch I can't get behind the SDDM login screen.
The laptop freezes once the KDE session loads (I'm assuming starting X causes
the freeze).g

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

[-- Attachment #1.2: Type: text/html, Size: 8588 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (46 preceding siblings ...)
  2018-07-12 19:38 ` bugzilla-daemon
@ 2018-07-12 20:33 ` bugzilla-daemon
  2018-07-12 21:50 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 20:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #43 from Alex Deucher <alexdeucher@gmail.com> ---
It's fine to have one of the patches to stop the segfault applied.  that's just
a symptom of the root cause:
[   54.734549] amdgpu 0000:01:00.0: Refused to change power state, currently in
D3
[   54.810069] amdgpu 0000:01:00.0: Refused to change power state, currently in
D3
For some reason the GPU doesn't power up correctly.  There's not much the
driver can do until we sort out why ACPI is not powering up the GPU correctly.

As a workaround, you can disable runtime pm by appending amdgpu.runpm=0 on the
kernel command line in grub.

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

[-- Attachment #1.2: Type: text/html, Size: 1650 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (47 preceding siblings ...)
  2018-07-12 20:33 ` bugzilla-daemon
@ 2018-07-12 21:50 ` bugzilla-daemon
  2018-07-13 22:00 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-12 21:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #44 from Thomas Martitz <kugel@rockbox.org> ---
Disabling runtime pm probably result in poor battery life, right? This is a
laptop with hybrid graphics afterall and the radeon should be disabled most of
the time.

Is there anything I can try? Like checking something in windows or try the pro
driver? Or make more code changes, eg retrying to power up the GPU a couple
times?

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

[-- Attachment #1.2: Type: text/html, Size: 1433 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (48 preceding siblings ...)
  2018-07-12 21:50 ` bugzilla-daemon
@ 2018-07-13 22:00 ` bugzilla-daemon
  2018-07-15 14:40 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-13 22:00 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #45 from Thomas Martitz <kugel@rockbox.org> ---
> Most importantly, my observation that reading toc->num_entries returns -1 is still occuring:

> [  368.991914] amdgpu: [powerplay] smu7_request_smu_load_fw: 10 ffffb456a0081000 0 1
> [  368.991927] amdgpu: [powerplay] smu7_request_smu_load_fw: 20 ffffb456a0081000 -1 -1

These message come from.you patch, they done happen with just my last
workaround.

If I insert a printk after the pci_set_power_state() succeeds and pci ->
current_state indicates that gpu is powered on, yet reading from the mapped
memory still returns -l. How does that make any sense?

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

[-- Attachment #1.2: Type: text/html, Size: 1740 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (49 preceding siblings ...)
  2018-07-13 22:00 ` bugzilla-daemon
@ 2018-07-15 14:40 ` bugzilla-daemon
  2018-07-16 14:36 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-15 14:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #46 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas Martitz from comment #45)
> 
> If I insert a printk after the pci_set_power_state() succeeds and pci ->
> current_state indicates that gpu is powered on, yet reading from the mapped
> memory still returns -l. How does that make any sense?

It's still not powered up properly.  If it were, the GPU would init properly
(the ring failures and smu message failures wouldn't be there) and the reading
back from the BARs would return real values rather than all ones.

-- 
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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (50 preceding siblings ...)
  2018-07-15 14:40 ` bugzilla-daemon
@ 2018-07-16 14:36 ` bugzilla-daemon
  2018-07-16 17:07 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-16 14:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #47 from Thomas Martitz <kugel@rockbox.org> ---
So pci_raw_set_power_state() does a pci_read_config_word() and that returns a
valid word. Yet, the device appears to be not in powerd up state later on.
How's that possible, and why does it work on Windows?

Can I inspect Windows behavior in some way to get insight?

Since Windows works I'm sure there must be a SW fix (or at least a workaround)
available. Perhaps just wait for a bit?

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

[-- Attachment #1.2: Type: text/html, Size: 1493 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (51 preceding siblings ...)
  2018-07-16 14:36 ` bugzilla-daemon
@ 2018-07-16 17:07 ` bugzilla-daemon
  2018-07-16 17:12 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-16 17:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #48 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Thomas Martitz from comment #47)
> So pci_raw_set_power_state() does a pci_read_config_word() and that returns
> a valid word. Yet, the device appears to be not in powerd up state later on.
> How's that possible, and why does it work on Windows?
> 
> Can I inspect Windows behavior in some way to get insight?
> 
> Since Windows works I'm sure there must be a SW fix (or at least a
> workaround) available. Perhaps just wait for a bit?

In HG laptops, the d3cold control is handled by the OS rather than the driver
(e.g., the driver doesn't call into APCI to handle d3cold, the pci core does). 
The driver just has to support the necessary callbacks to the OS to enter/leave
this state when idle.  Each OS interacts slightly differently with ACPI so if
the OEM never validated Linux it's likely there is some slight differences in
the sequencing that is causing a problem.  You might try playing with the ACPI
interfaces directly on Linux.  There are user mode tools to interact with ACPI.
 Blacklist the amdgpu driver and try calling the _PR3 method for the device to
power it down/up and then see if the device comes back properly.

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

[-- Attachment #1.2: Type: text/html, Size: 2361 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (52 preceding siblings ...)
  2018-07-16 17:07 ` bugzilla-daemon
@ 2018-07-16 17:12 ` bugzilla-daemon
  2018-07-17  6:28 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-16 17:12 UTC (permalink / raw)
  To: dri-devel


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

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

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

Does this patch help?  Just a hack for testing to see if the scratch registers
are stale or corrupt.

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

[-- Attachment #1.2: Type: text/html, Size: 1523 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (53 preceding siblings ...)
  2018-07-16 17:12 ` bugzilla-daemon
@ 2018-07-17  6:28 ` bugzilla-daemon
  2018-07-17  6:30 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-17  6:28 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #50 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140660
  --> https://bugs.freedesktop.org/attachment.cgi?id=140660&action=edit
dmesg with force_asic_init.diff + 0001-workaround-v2.patch

Doesn't seem to make a difference.


[  255.418659] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 0 test failed
(scratch(0xC040)=0xCAFEDEAD)
[  255.418670] [drm:amdgpu_device_ip_resume_phase2] *ERROR* resume of IP block
<gfx_v8_0> failed -22
[  255.418675] [drm:amdgpu_device_resume] *ERROR* amdgpu_device_ip_resume
failed (-22).

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

[-- Attachment #1.2: Type: text/html, Size: 1818 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (54 preceding siblings ...)
  2018-07-17  6:28 ` bugzilla-daemon
@ 2018-07-17  6:30 ` bugzilla-daemon
  2018-07-17  6:33 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-17  6:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #51 from Thomas Martitz <kugel@rockbox.org> ---
Btw, your suggestion to disable runtime pm (amdgpu.runpm=0) doesn't help as far
as system suspend/resume is concerned. I think runtime pm generally works,
because I see occasional debug outout from
smu7_populate_single_firmware_entry() function even before suspending (that
suggests to me that the GPU has been suspended regardless of system suspend)

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

[-- Attachment #1.2: Type: text/html, Size: 1454 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (55 preceding siblings ...)
  2018-07-17  6:30 ` bugzilla-daemon
@ 2018-07-17  6:33 ` bugzilla-daemon
  2018-07-19 14:14 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-17  6:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #52 from Thomas Martitz <kugel@rockbox.org> ---
(In reply to Thomas Martitz from comment #51)
> because I see occasional debug outout from
> smu7_populate_single_firmware_entry() function even before suspending

Forgot to add that the debug output before system suspend doesn't indicate
errors (toc->num_entries/toc->structure_version is 0/1 as expected)

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

[-- Attachment #1.2: Type: text/html, Size: 1492 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (56 preceding siblings ...)
  2018-07-17  6:33 ` bugzilla-daemon
@ 2018-07-19 14:14 ` bugzilla-daemon
  2018-07-26 19:33 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-19 14:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #53 from Thomas Martitz <kugel@rockbox.org> ---
Alright, after some digging I found that that the ACPI address of my dgpu is
\_SB_.PCI0.RP01.PXSX

Then I used https://github.com/mkottman/acpi_call to execute
\_SB_.PCI0.RP01.PXSX._PR3 as you suggested, but it reported an error
(NOT_FOUND). The examples in that repo suggest that _PS3 or _OFF might also
work. _PS3 gave NOT_FOUND too, but I could execute _OFF without error. In other
examples there are more calls necessary though, e.g. NVOP or _DSM, but how can
I know what's needed?

To power back on, _ON seems to be working.

So, what do you suggest I should try with these methods exactly?

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

[-- Attachment #1.2: Type: text/html, Size: 1759 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (57 preceding siblings ...)
  2018-07-19 14:14 ` bugzilla-daemon
@ 2018-07-26 19:33 ` bugzilla-daemon
  2018-07-26 22:32 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-26 19:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #54 from Alex Deucher <alexdeucher@gmail.com> ---
Can you see if this patch fixes it?
https://gist.github.com/karolherbst/3cde7028a6b885ca42863b6f6320658c

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

[-- Attachment #1.2: Type: text/html, Size: 1292 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (58 preceding siblings ...)
  2018-07-26 19:33 ` bugzilla-daemon
@ 2018-07-26 22:32 ` bugzilla-daemon
  2018-07-26 22:33 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-26 22:32 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Martitz <kugel@rockbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140356|0                           |1
        is obsolete|                            |
 Attachment #140585|0                           |1
        is obsolete|                            |
 Attachment #140611|0                           |1
        is obsolete|                            |
 Attachment #140660|0                           |1
        is obsolete|                            |

--- Comment #55 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140845
  --> https://bugs.freedesktop.org/attachment.cgi?id=140845&action=edit
dmesg + Karols hack

No, unfortunately, the GPU is unusable after resume, but the dmesg output is
different now.

FWIW, in this case I have booted with pcie_port_pm=off which I feel improves
things on my system (but it's nowhere a solution), since I think the GPU is
behind a PCIe bridge to which the TB3 port is also connected, and I found in
the source that bridge pm should be disabled if there are TB3 ports behind due
to hotplug.

Without pcie_port_pm the behavior is almost the same, except that dmesg shows
lots of powerplay error messages that don't occur in the attached output
(again, made with pcie_port_pm=off).

Karol's patch didn't apply cleanly onto drm-next-4.19-wip, so I made some
changes, perhaps you may check if it's still equivalent (will attach with the
next comment.

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

[-- Attachment #1.2: Type: text/html, Size: 3617 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (59 preceding siblings ...)
  2018-07-26 22:32 ` bugzilla-daemon
@ 2018-07-26 22:33 ` bugzilla-daemon
  2018-08-28 16:43 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-07-26 22:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #56 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 140846
  --> https://bugs.freedesktop.org/attachment.cgi?id=140846&action=edit
fixed hack.patch

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

[-- Attachment #1.2: Type: text/html, Size: 1426 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (60 preceding siblings ...)
  2018-07-26 22:33 ` bugzilla-daemon
@ 2018-08-28 16:43 ` bugzilla-daemon
  2018-08-28 16:59 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-28 16:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #57 from taijian@posteo.de ---
Just to reconfirm: This bug is fixed for me as original reporter in the 4.18.y
release.

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

[-- Attachment #1.2: Type: text/html, Size: 1147 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (61 preceding siblings ...)
  2018-08-28 16:43 ` bugzilla-daemon
@ 2018-08-28 16:59 ` bugzilla-daemon
  2018-08-29 21:21 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-28 16:59 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

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

--- Comment #58 from Michel Dänzer <michel@daenzer.net> ---
Resolving per comment 57. Anyone still having issues with current kernels,
please file your own report.

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

[-- Attachment #1.2: Type: text/html, Size: 2299 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (62 preceding siblings ...)
  2018-08-28 16:59 ` bugzilla-daemon
@ 2018-08-29 21:21 ` bugzilla-daemon
  2018-08-30  6:57 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-29 21:21 UTC (permalink / raw)
  To: dri-devel


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

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

Peter Wu <peter@lekensteyn.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter@lekensteyn.nl

--- Comment #59 from Peter Wu <peter@lekensteyn.nl> ---
taijian or Thomas, in order to understand the problem better, could you upload
your machine information:

sudo acpidump > acpidump.txt
sudo lspci -nnvvvxxxx > lspci-nnvvvxxxx.txt

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

[-- Attachment #1.2: Type: text/html, Size: 2179 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (63 preceding siblings ...)
  2018-08-29 21:21 ` bugzilla-daemon
@ 2018-08-30  6:57 ` bugzilla-daemon
  2018-08-30  6:59 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-30  6:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #60 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 141369
  --> https://bugs.freedesktop.org/attachment.cgi?id=141369&action=edit
acpidump

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

[-- Attachment #1.2: Type: text/html, Size: 1348 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (64 preceding siblings ...)
  2018-08-30  6:57 ` bugzilla-daemon
@ 2018-08-30  6:59 ` bugzilla-daemon
  2018-08-30  7:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-30  6:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #61 from Thomas Martitz <kugel@rockbox.org> ---
Created attachment 141370
  --> https://bugs.freedesktop.org/attachment.cgi?id=141370&action=edit
lspci

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

[-- Attachment #1.2: Type: text/html, Size: 1339 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (65 preceding siblings ...)
  2018-08-30  6:59 ` bugzilla-daemon
@ 2018-08-30  7:02 ` bugzilla-daemon
  2018-08-30  7:05 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-30  7:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #62 from Thomas Martitz <kugel@rockbox.org> ---
To recap, the original bug (panic with that particular backtrace) is also fixed
for me. However the crash was a symptom of the root cause that my system does
not properly resume due to eGPU issues.

It may be worth noting that on my system the eGPU seems to be behind the same
PCIe bridge as the TB3 port. I think I need at least to disable runtime pm for
that bridge but that alone isn't sufficient from my testing.

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

[-- Attachment #1.2: Type: text/html, Size: 1554 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (66 preceding siblings ...)
  2018-08-30  7:02 ` bugzilla-daemon
@ 2018-08-30  7:05 ` bugzilla-daemon
  2018-08-30 10:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-30  7:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #63 from Thomas Martitz <kugel@rockbox.org> ---
Maybe https://bugzilla.kernel.org/show_bug.cgi?id=156341 is related? I found a
related thread on the nouveau ML ("Rewriting Intel PCI bridge prefetch base
address bits solves nvidia graphics issues") that seems to talk about similar
resume problems.

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

[-- Attachment #1.2: Type: text/html, Size: 1459 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (67 preceding siblings ...)
  2018-08-30  7:05 ` bugzilla-daemon
@ 2018-08-30 10:04 ` bugzilla-daemon
  2018-09-08 11:03 ` bugzilla-daemon
  2018-09-10  3:43 ` bugzilla-daemon
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-08-30 10:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #64 from Peter Wu <peter@lekensteyn.nl> ---
(In reply to Thomas Martitz from comment #62)
> To recap, the original bug (panic with that particular backtrace) is also
> fixed for me.

In that case, it is probably better to open a new bug report (and refer to this
bug for context) for other issues.

> It may be worth noting that on my system the eGPU seems to be behind the
> same PCIe bridge as the TB3 port. I think I need at least to disable runtime
> pm for that bridge but that alone isn't sufficient from my testing.

The dGPU and TB devices appear behind different bridges (lspci -tv):
-[0000:00]-+-00.0  Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor
Host Bridge/DRAM Registers
           ...
           +-1c.0-[01]----00.0  Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT
[Radeon PRO WX 3100]
           ...
           +-1c.4-[03-3b]----00.0-[04-3b]--+-00.0-[05]----00.0  Intel
Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016]

(In reply to Thomas Martitz from comment #63)
> Maybe https://bugzilla.kernel.org/show_bug.cgi?id=156341 is related? I found
> a related thread on the nouveau ML ("Rewriting Intel PCI bridge prefetch
> base address bits solves nvidia graphics issues") that seems to talk about
> similar resume problems.

Maybe related (or maybe not), that's why I was asking for some detail (thanks
for providing these!). But please do open a new bug since the original issue
appears to be solved.

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

[-- Attachment #1.2: Type: text/html, Size: 2825 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (68 preceding siblings ...)
  2018-08-30 10:04 ` bugzilla-daemon
@ 2018-09-08 11:03 ` bugzilla-daemon
  2018-09-10  3:43 ` bugzilla-daemon
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-09-08 11:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #65 from Thomas Martitz <kugel@rockbox.org> ---
https://patchwork.kernel.org/patch/10583229/ (modified such that the quirk is
applied unconditionally) fixes GPU resume on my laptop as well. I think it's
got the same PCIe bridge as the ASUS machines mentioned in that post.

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

[-- Attachment #1.2: Type: text/html, Size: 1417 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] 72+ messages in thread

* [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930
  2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
                   ` (69 preceding siblings ...)
  2018-09-08 11:03 ` bugzilla-daemon
@ 2018-09-10  3:43 ` bugzilla-daemon
  70 siblings, 0 replies; 72+ messages in thread
From: bugzilla-daemon @ 2018-09-10  3:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #66 from Daniel Drake <dan@reactivated.net> ---
(In reply to Thomas Martitz from comment #65)
> https://patchwork.kernel.org/patch/10583229/ (modified such that the quirk
> is applied unconditionally) fixes GPU resume on my laptop as well. I think
> it's got the same PCIe bridge as the ASUS machines mentioned in that post.

Thanks for testing! That issue is now being tracked at
https://bugzilla.kernel.org/show_bug.cgi?id=201069

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

[-- Attachment #1.2: Type: text/html, Size: 1723 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] 72+ messages in thread

end of thread, other threads:[~2018-09-10  3:43 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27  8:58 [Bug 105760] [4.17-drm-wip] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 bugzilla-daemon
2018-03-30 16:04 ` bugzilla-daemon
2018-03-30 16:12 ` bugzilla-daemon
2018-04-16  9:05 ` [Bug 105760] [4.17-rc1] " bugzilla-daemon
2018-04-16  9:06 ` bugzilla-daemon
2018-04-16  9:06 ` bugzilla-daemon
2018-04-16 13:01 ` bugzilla-daemon
2018-04-16 14:48 ` bugzilla-daemon
2018-04-17  7:58 ` bugzilla-daemon
2018-04-17  7:58 ` bugzilla-daemon
2018-04-17 10:16 ` bugzilla-daemon
2018-04-17 23:08 ` bugzilla-daemon
2018-04-24  9:13 ` bugzilla-daemon
2018-05-14 14:37 ` bugzilla-daemon
2018-05-21 20:02 ` bugzilla-daemon
2018-05-21 20:11 ` bugzilla-daemon
2018-05-21 21:33 ` bugzilla-daemon
2018-06-24 22:30 ` bugzilla-daemon
2018-06-25  5:37 ` bugzilla-daemon
2018-06-26 14:22 ` bugzilla-daemon
2018-06-27  7:50 ` bugzilla-daemon
2018-06-27  7:50 ` bugzilla-daemon
2018-06-28  7:25 ` bugzilla-daemon
2018-06-28  7:51 ` bugzilla-daemon
2018-06-29 19:08 ` bugzilla-daemon
2018-06-29 22:14 ` bugzilla-daemon
2018-07-11 14:31 ` bugzilla-daemon
2018-07-11 19:21 ` bugzilla-daemon
2018-07-11 19:21 ` bugzilla-daemon
2018-07-11 19:22 ` bugzilla-daemon
2018-07-11 19:22 ` bugzilla-daemon
2018-07-11 20:20 ` bugzilla-daemon
2018-07-11 20:24 ` bugzilla-daemon
2018-07-11 22:01 ` bugzilla-daemon
2018-07-12  4:45 ` bugzilla-daemon
2018-07-12  4:56 ` bugzilla-daemon
2018-07-12  5:09 ` bugzilla-daemon
2018-07-12  5:41 ` bugzilla-daemon
2018-07-12  6:34 ` bugzilla-daemon
2018-07-12  8:00 ` bugzilla-daemon
2018-07-12 13:17 ` bugzilla-daemon
2018-07-12 13:17 ` bugzilla-daemon
2018-07-12 13:19 ` bugzilla-daemon
2018-07-12 13:21 ` bugzilla-daemon
2018-07-12 13:28 ` bugzilla-daemon
2018-07-12 13:31 ` bugzilla-daemon
2018-07-12 13:35 ` bugzilla-daemon
2018-07-12 19:38 ` bugzilla-daemon
2018-07-12 20:33 ` bugzilla-daemon
2018-07-12 21:50 ` bugzilla-daemon
2018-07-13 22:00 ` bugzilla-daemon
2018-07-15 14:40 ` bugzilla-daemon
2018-07-16 14:36 ` bugzilla-daemon
2018-07-16 17:07 ` bugzilla-daemon
2018-07-16 17:12 ` bugzilla-daemon
2018-07-17  6:28 ` bugzilla-daemon
2018-07-17  6:30 ` bugzilla-daemon
2018-07-17  6:33 ` bugzilla-daemon
2018-07-19 14:14 ` bugzilla-daemon
2018-07-26 19:33 ` bugzilla-daemon
2018-07-26 22:32 ` bugzilla-daemon
2018-07-26 22:33 ` bugzilla-daemon
2018-08-28 16:43 ` bugzilla-daemon
2018-08-28 16:59 ` bugzilla-daemon
2018-08-29 21:21 ` bugzilla-daemon
2018-08-30  6:57 ` bugzilla-daemon
2018-08-30  6:59 ` bugzilla-daemon
2018-08-30  7:02 ` bugzilla-daemon
2018-08-30  7:05 ` bugzilla-daemon
2018-08-30 10:04 ` bugzilla-daemon
2018-09-08 11:03 ` bugzilla-daemon
2018-09-10  3:43 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.