From: bugzilla-daemon@freedesktop.org
Subject: [Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz:
2097152 bytes)
Date: Fri, 20 Apr 2018 13:28:15 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1042188326=="
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 E98396E6AC
for ; Fri, 20 Apr 2018 13:28:15 +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
--===============1042188326==
Content-Type: multipart/alternative; boundary="15242308955.6FEB.9735"
Content-Transfer-Encoding: 7bit
--15242308955.6FEB.9735
Date: Fri, 20 Apr 2018 13:28:15 +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=3D104082
--- Comment #40 from Jean Delvare ---
I believe there are 2 incarnations of this bug, with the same symptoms but
different root causes.
The first bug is affecting kernels v4.14 and v4.15, it is caused by 2 MB
allocations failing too verbosely when in fact 4 kB allocations worked just
fine as a fallback. That one is fixed in v4.16 by:
commit d0bc0c2a31c95002d37c3cc511ffdcab851b3256
Author: Christian K=C3=B6nig
Date: Thu Jan 4 14:24:19 2018 +0100
swiotlb: suppress warning when __GFP_NOWARN is set
However kernel v4.16 also includes the following commit:
commit 0176adb004065d6815a8e67946752df4cd947c5b
Author: Christoph Hellwig
Date: Tue Jan 9 22:15:30 2018 +0100
swiotlb: refactor coherent buffer allocation
which contains a bug producing exactly the same backtraces. That bug is cau=
sed
by an improper check of the result of dma_coherent_ok(), which was fixed 10
days ago with:
commit 9e7f06c8beee304ee21b791653fefcd713f48b9a
Author: Takashi Iwai
Date: Tue Apr 10 19:05:13 2018 +0200
swiotlb: fix unexpected swiotlb_alloc_coherent failures
I backported this fix on top of v4.16.3 and the backtraces are gone. The co=
mmit
was tagged for stable inclusion so I expect it to be included in v4.16.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15242308955.6FEB.9735
Date: Fri, 20 Apr 2018 13:28:15 +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
Comme=
nt # 40
on bug 10408=
2
from =
Jean Delvare
I believe there are 2 incarnations of this bug, with the same =
symptoms but
different root causes.
The first bug is affecting kernels v4.14 and v4.15, it is caused by 2 MB
allocations failing too verbosely when in fact 4 kB allocations worked just
fine as a fallback. That one is fixed in v4.16 by:
commit d0bc0c2a31c95002d37c3cc511ffdcab851b3256
Author: Christian K=C3=B6nig
Date: Thu Jan 4 14:24:19 2018 +0100
swiotlb: suppress warning when __GFP_NOWARN is set
However kernel v4.16 also includes the following commit:
commit 0176adb004065d6815a8e67946752df4cd947c5b
Author: Christoph Hellwig
Date: Tue Jan 9 22:15:30 2018 +0100
swiotlb: refactor coherent buffer allocation
which contains a bug producing exactly the same backtraces. That bug is cau=
sed
by an improper check of the result of dma_coherent_ok(), which was fixed 10
days ago with:
commit 9e7f06c8beee304ee21b791653fefcd713f48b9a
Author: Takashi Iwai
Date: Tue Apr 10 19:05:13 2018 +0200
swiotlb: fix unexpected swiotlb_alloc_coherent failures
I backported this fix on top of v4.16.3 and the backtraces are gone. The co=
mmit
was tagged for stable inclusion so I expect it to be included in v4.16.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15242308955.6FEB.9735--
--===============1042188326==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1042188326==--