On Fri, Jul 17, 2026 at 02:11:41PM +0800, GuoHan Zhao wrote:
> dma_set_mask_and_coherent() can fail when platform DMA operations do not
> support the requested 40-bit address mask. Ignoring the error leaves the
> previous DMA configuration in place. Probe then continues without ensuring
> that DMA addresses are suitable for the NPU.
> 
> Return the error so the driver does not bind with an unsupported DMA
> configuration.

Read the documentation. dma_set_mask_and_coherent() will not fail for 
mask >32.

Rob

Reply via email to