<p dir="ltr">Hi Ard,</p>
<p dir="ltr">the official nouveau tree is here: <a href="https://github.com/skeggsb/nouveau">https://github.com/skeggsb/nouveau</a></p>
<p dir="ltr">But ben usually takes care of everything if you post the patches on the ML. No idea what you discussed internally though, but alex also posts his suff here.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 16 Oct 2016 22:12, "Ard Biesheuvel" <<a href="mailto:ard.biesheuvel@linaro.org">ard.biesheuvel@linaro.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On 7 October 2016 at 09:12, Alexandre Courbot <<a href="mailto:gnurou@gmail.com">gnurou@gmail.com</a>> wrote:<br>
> On Fri, Oct 7, 2016 at 12:49 AM, Ard Biesheuvel<br>
> <<a href="mailto:ard.biesheuvel@linaro.org">ard.biesheuvel@linaro.org</a>> wrote:<br>
>> This v4 is now a 3 piece series (since v4), after Alexandre pointed out that<br>
>> both GF 100 and NV50 are affected by the same issue, and that a related issue<br>
>> has been solved already for Tegra in commit 9d0394c6bed5<br>
>> ("drm/nouveau/instmem/gk20a: set DMA mask early").<br>
>><br>
>> The issue that this series addresses is the fact that the Nouveau driver<br>
>> invokes the DMA API before setting the DMA mask. In both cases addressed<br>
>> here, these are simply static bidirectional mappings of scratch pages whose<br>
>> purpose is not well understood, and in most cases, it does not matter that<br>
>> these pages are always allocated below 4 GB even if the hardware can access<br>
>> memory much higher up.<br>
>><br>
>> However, on platforms without any RAM below 4 GB, the preliminary DMA mask<br>
>> of 32 is preventing the nouveau driver from loading on GF100 and NV50<br>
>> hardware with an error like the following one:<br>
>><br>
>>    nouveau 0000:02:00.0: enabling device (0000 -> 0003)<br>
>>    nouveau 0000:02:00.0: NVIDIA GT218 (0a8280b1)<br>
>>    nouveau 0000:02:00.0: bios: version 70.18.a6.00.00<br>
>>    nouveau 0000:02:00.0: fb ctor failed, -14<br>
>>    nouveau: probe of 0000:02:00.0 failed with error -14<br>
>><br>
>> So fix this by setting a preliminary DMA mask based on the MMU device 'dma_bits'<br>
>> property (patch #1), and postpone mapping the scratch pages to the respective<br>
>> FB .init() hooks. (#2 and #3)<br>
>><br>
>> v5: move setting of preliminary DMA mask to nvkm_device_pci_new() (#1)<br>
>>     move allocation and DMA mapping of scratch pages to .oneinit hooks (#2, #3)<br>
>> v4: split and move dma_set_mask to probe hook (Alexander)<br>
>> v3: rework code to get rid of DMA_ERROR_CODE references, which is not<br>
>>     defined on all architectures<br>
>> v2: replace incorrect comparison of dma_addr_t type var against NULL<br>
>><br>
>> Ard Biesheuvel (3):<br>
>>   drm/nouveau: set streaming DMA mask early<br>
>>   drm/nouveau/fb/gf100: defer DMA mapping of scratch page to oneinit()<br>
>>     hook<br>
>>   drm/nouveau/fb/nv50: defer DMA mapping of scratch page to oneinit()<br>
>>     hook<br>
><br>
> The series,<br>
><br>
> Reviewed-by: Alexandre Courbot <<a href="mailto:acourbot@nvidia.com">acourbot@nvidia.com</a>><br>
><br>
<br>
</div>Thank you Alexandre.<br>
<br>
So is there a nouveau subtree this should go into? Or is it up to Dave<br>
to pull it into drm?<br>
<br>
Regards,<br>
Ard.<br>
<div class="elided-text">______________________________<wbr>_________________<br>
Nouveau mailing list<br>
<a href="mailto:Nouveau@lists.freedesktop.org">Nouveau@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/nouveau" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/nouveau</a><br>
</div></blockquote></div><br></div>