From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111273] crash calling AMDGPU_INFO_READ_MMR_REG with count set
to -1
Date: Sat, 31 Aug 2019 23:21:54 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1921165893=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 604EE6E156
for ; Sat, 31 Aug 2019 23:21:54 +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
--===============1921165893==
Content-Type: multipart/alternative; boundary="15672937141.099AE.7588"
Content-Transfer-Encoding: 7bit
--15672937141.099AE.7588
Date: Sat, 31 Aug 2019 23:21:54 +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=3D111273
--- Comment #1 from Trek ---
Created attachment 145226
--> https://bugs.freedesktop.org/attachment.cgi?id=3D145226&action=3Dedit
possible fix
The proposed fix is tested on latest git.
I'm unsure if 65536 is a good limit: it could be small as 64, but even if t=
he
longest consecutive registers are 48, may be in the future they are increas=
ed
and no one remember to higher that limit. Anyway it should not be larger th=
an
the PCI BAR area for memory mapped registers, that on my KAVERI is 256K, th=
us
65536 registers.
ciao!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15672937141.099AE.7588
Date: Sat, 31 Aug 2019 23:21:54 +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 # 1
on bug 11127=
3
from Trek
Created attachment 145226 =
[details] [review]
possible fix
The proposed fix is tested on latest git.
I'm unsure if 65536 is a good limit: it could be small as 64, but even if t=
he
longest consecutive registers are 48, may be in the future they are increas=
ed
and no one remember to higher that limit. Anyway it should not be larger th=
an
the PCI BAR area for memory mapped registers, that on my KAVERI is 256K, th=
us
65536 registers.
ciao!
You are receiving this mail because:
- You are the assignee for the bug.
=
--15672937141.099AE.7588--
--===============1921165893==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1921165893==--