From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107545] radeon - ring 0 stalled - GPU lockup - SI
Date: Mon, 20 Aug 2018 17:42:01 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1568897157=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 6AC5F6E0E0
for ; Mon, 20 Aug 2018 17:42:01 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1568897157==
Content-Type: multipart/alternative; boundary="15347869210.21ab03c42.7462"
Content-Transfer-Encoding: 7bit
--15347869210.21ab03c42.7462
Date: Mon, 20 Aug 2018 17:42:01 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D107545
--- Comment #5 from Julien Isorce ---
Extract of the 2 attached cs dumps:
User space so before ioctl radeon_cs_ioctl:
0x00000290
0x00000000
0xC0016900
0x000002A1
Kernel space so in radeon_cs_ioctl:
0x00000290
0x0000000b
0x00000000
0x000002a1
So for some reasons 0x00000000C0016900 gets overwritten by 0x0000000b000000=
00
Note that it always get overwritten with this value above and this value al=
so
appears in the other packet0 bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=3D84500#c7
I have started to narrow down the issue and it looks like it happens in
"radeon_cs_parser_init" in kernel/drivers/gpu/drm/radeon as the overwrtting=
is
already present just after this function. But it is not easy to debug furth=
er
as this function is quite difficult to understand so any inputs would be
appreciated, thx!
Does kernel space make a copy of the cs chunks or just keep a pointer on it=
, as
I see "user_ptr" ?=20
Also note that the issue does not happen with amdgpu so one possibility is =
that
"amdgpu_cs_parser_init" is more robust.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15347869210.21ab03c42.7462
Date: Mon, 20 Aug 2018 17:42:01 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 5
on bug 10754=
5
from Julien Isorce
Extract of the 2 attached cs dumps:
User space so before ioctl radeon_cs_ioctl:
0x00000290
0x00000000
0xC0016900
0x000002A1
Kernel space so in radeon_cs_ioctl:
0x00000290
0x0000000b
0x00000000
0x000002a1
So for some reasons 0x00000000C0016900 gets overwritten by 0x0000000b000000=
00
Note that it always get overwritten with this value above and this value al=
so
appears in the other packet0 bug report:
https://bugs.freedesktop.org/show_bu=
g.cgi?id=3D84500#c7
I have started to narrow down the issue and it looks like it happens in
"radeon_cs_parser_init" in kernel/drivers/gpu/drm/radeon as the o=
verwrtting is
already present just after this function. But it is not easy to debug furth=
er
as this function is quite difficult to understand so any inputs would be
appreciated, thx!
Does kernel space make a copy of the cs chunks or just keep a pointer on it=
, as
I see "user_ptr" ?=20
Also note that the issue does not happen with amdgpu so one possibility is =
that
"amdgpu_cs_parser_init" is more robust.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15347869210.21ab03c42.7462--
--===============1568897157==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1568897157==--