[PATCH v4 1/2] nvme-pci: migrate to dma_map_phys instead of map_page

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Nov 12 15:57:29 PST 2025


On 11/12/25 11:48, Leon Romanovsky wrote:
> From: Leon Romanovsky<leonro at nvidia.com>
>
> After introduction of dma_map_phys(), there is no need to convert
> from physical address to struct page in order to map page. So let's
> use it directly.
>
> Reviewed-by: Keith Busch<kbusch at kernel.org>
> Reviewed-by: Christoph Hellwig<hch at lst.de>
> Signed-off-by: Leon Romanovsky<leonro at nvidia.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list