[PATCH] nvme-pci: set the DMA mask earlier

Jens Axboe axboe at kernel.dk
Mon Feb 13 07:35:44 PST 2023


On 2/13/23 12:20 AM, Christoph Hellwig wrote:
> Set the DMA mask before calling dma_addressing_limited, which depends on it.
> 
> Note that this stop checking the return value of dma_set_mask_and_coherent
> as this function can only fail for masks < 32-bit.

Looks good:

Reviewed-by: Jens Axboe <axboe at kernel.dk>

-- 
Jens Axboe





More information about the Linux-nvme mailing list