[Nouveau] [bug report] null ptr deref in nouveau_platform_probe (tegra186-p2771-0000)

Thierry Reding thierry.reding at gmail.com
Thu Dec 21 18:11:41 UTC 2017


On Thu, Dec 21, 2017 at 12:32:39PM -0500, Anthony Eden wrote:
> Hi Thierry,
> 
> Thanks for the patch. I applied on top of linux-next-2017-12-14.
> Different output this time.
> 
> [   11.862495] WARNING: CPU: 1 PID: 254 at
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c:391

This looks like something that could potentially be fixed by this:

	https://github.com/skeggsb/nouveau/commit/305d38cb1d20bf909e2daf6989bba4b27c3a3688

That said, it's probably worth looking at Ben's branch here:

	https://github.com/skeggsb/nouveau/commits/master

The top three patches fix various issues that might be relevant.

Note that the above is Ben's nouveau repository (as opposed ot a Linux
kernel tree) and the patches won't apply as-is to the kernel tree. I've
had some success adding the repository as a remote to my kernel tree,
fetching it and cherry-picking patches. git is very good at finding the
right files to apply the patch to, even if they are in different
directories. One exception where it doesn't work is when files are added
(presumable because git doesn't have a hash yet to use for guessing the
right file).

Worst case you could try applying the changes manually, they're fairly
small.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171221/75a198f8/attachment.sig>


More information about the Nouveau mailing list