Re: [PATCH v2] drm/nouveau: Use write-combined maps for coherent
From: Danilo Krummrich
Date: Tue Sep 01 2026 - 10:39:38 EST
On 8/22/26 6:42 AM, Aaron Kling via B4 Relay wrote:
> From: Faith Ekstrand <faith.ekstrand@xxxxxxxxxxxxx>
>
> On Tegra devices, uncached maps traslate to device memory, causing
> unaligned accesses by userspace resulting in a SIGBUS. Instead, use
> write-combined maps to ensure proper access.
>
> This would also affect discrete cards on any Arm device. It was
> determined that discrete cards regardless of cpu arch should use
> write-combined maps for coherent anyways. Thus this change is made for
> all gpu types.
>
> Signed-off-by: Faith Ekstrand <faith.ekstrand@xxxxxxxxxxxxx>
> Co-developed-by: Aaron Kling <webgeek1234@xxxxxxxxx>
> Signed-off-by: Aaron Kling <webgeek1234@xxxxxxxxx>
Can you please provide a Fixes: tag? Also, please remember to Cc: stable if necessary.
Thanks,
Danilo