]> Gentwo Git Trees - linux/.git/commit
nvme-pci: migrate to dma_map_phys instead of map_page
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 14 Nov 2025 09:07:03 +0000 (11:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Nov 2025 12:09:56 +0000 (05:09 -0700)
commit61d43b1731e0bc122a0f78df42ce424db5b14a19
tree8388a8e1e4b5d21e5ad78244f345f58372785cdd
parent8e1bf774ab18157cb8041628f2661aa12e425914
nvme-pci: migrate to dma_map_phys instead of map_page

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@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-dma.c
drivers/nvme/host/pci.c