Re: [PATCH v3 01/13] gpu: nova-core: Set correct DMA mask
From: Danilo Krummrich
Date: Tue Sep 30 2025 - 09:29:47 EST
On 9/30/25 3:16 PM, Alistair Popple wrote:
> + // SAFETY: No DMA allocations have been made yet
> + unsafe { pdev.dma_set_mask_and_coherent(DmaMask::new::<47>())? };
I think you forgot to derive the value from the relevant sources, i.e. physical
bus, DMA controller and MMU capabilities.
I assume not all GPU architectures / generations have the exact same capabilities?