From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau Date: Wed, 30 Mar 2016 14:44:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1401272215==" 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 --===============1401272215== Content-Type: multipart/alternative; boundary="14593490432.CAfF60.3784"; charset="UTF-8" --14593490432.CAfF60.3784 Date: Wed, 30 Mar 2016 14:44:03 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94757 --- Comment #3 from Ilia Mirkin --- Unfortunately it's not just a switch to flip on. A lot of the current code is very confused about cpu pages vs gpu pages (which are always 4K). Also one would need a bunch of handling code to deal with sub-cpu-page-sized allocations on the GPU (or conversely just disallow those entirely). Nouveau is known to not work properly on non-4K-cpu-page-size, at least with some GPUs (maybe even all). AFAIK the benefits of using 64K-pages are virtually non-existent outside the HPC space (each cached 1 byte file takes up 64K of memory, so it goes a lot faster). But that's certainly not an argument for not supporting 64K pages in nouveau. The argument for not supporting 64K pages is -ENOPATCH :) AFAIK benh tried for a while and failed. This was ~2y ago. -- You are receiving this mail because: You are the assignee for the bug. --14593490432.CAfF60.3784 Date: Wed, 30 Mar 2016 14:44:03 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 3 on bug 94757 from
Unfortunately it's not just a switch to flip on. A lot of the current code is
very confused about cpu pages vs gpu pages (which are always 4K). Also one
would need a bunch of handling code to deal with sub-cpu-page-sized allocations
on the GPU (or conversely just disallow those entirely).

Nouveau is known to not work properly on non-4K-cpu-page-size, at least with
some GPUs (maybe even all).

AFAIK the benefits of using 64K-pages are virtually non-existent outside the
HPC space (each cached 1 byte file takes up 64K of memory, so it goes a lot
faster). But that's certainly not an argument for not supporting 64K pages in
nouveau.

The argument for not supporting 64K pages is -ENOPATCH :) AFAIK benh tried for
a while and failed. This was ~2y ago.


You are receiving this mail because:
  • You are the assignee for the bug.
--14593490432.CAfF60.3784-- --===============1401272215== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1401272215==--