From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 94757] powerpc64 & 64Kb kernel pagesize not working
with nouveau
Date: Thu, 25 Aug 2016 10:57:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1827393812=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1827393812==
Content-Type: multipart/alternative; boundary="14721226753.D0b7e.1736";
charset="UTF-8"
--14721226753.D0b7e.1736
Date: Thu, 25 Aug 2016 10:57:55 +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=3D94757
--- Comment #7 from Benjamin Herrenschmidt ---
There's an old patch of mind floating on the lists somewhere that did make =
it
somewhat work on my G5's nv43 but it only addressed part of the problem (the
kernel framebuffer basically).
There's also an issue in that the per-context registers that are meant to be
mapped into userspace are only 4K appart.
nVidia binary driver on POWER8 (for compute) works around that by using the
_PAGE_4K_PFN hack we have which allows a driver to create a user mapping fo=
r a
64K page that is made of 16 times the same underlying HW 4K page.
That requires unfortunately some trickery to deal with on both side of the
user/kernel interface, so it's not a "drop-in" fix in the existing stack.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14721226753.D0b7e.1736
Date: Thu, 25 Aug 2016 10:57:55 +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
Comment=
# 7
on bug 94757<=
/a>
from Benjamin Herrenschmidt<=
/a>
There's an old patch of mind floating on the lists somewhere t=
hat did make it
somewhat work on my G5's nv43 but it only addressed part of the problem (the
kernel framebuffer basically).
There's also an issue in that the per-context registers that are meant to be
mapped into userspace are only 4K appart.
nVidia binary driver on POWER8 (for compute) works around that by using the
_PAGE_4K_PFN hack we have which allows a driver to create a user mapping fo=
r a
64K page that is made of 16 times the same underlying HW 4K page.
That requires unfortunately some trickery to deal with on both side of the
user/kernel interface, so it's not a "drop-in" fix in the existin=
g stack.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14721226753.D0b7e.1736--
--===============1827393812==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============1827393812==--