[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45c46766-2cf4-4e0a-8756-131872ca188b@nvidia.com>
Date: Sat, 15 Nov 2025 22:25:08 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: Leon Romanovsky <leon@...nel.org>, Jens Axboe <axboe@...nel.dk>, Keith
Busch <kbusch@...nel.org>, Christoph Hellwig <hch@....de>, Sagi Grimberg
<sagi@...mberg.me>
CC: "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>
Subject: Re: [PATCH 2/2] types: move phys_vec definition to common header
On 11/15/25 08:22, Leon Romanovsky wrote:
> From: Leon Romanovsky<leonro@...dia.com>
>
> Move the struct phys_vec definition from block/blk-mq-dma.c to
> include/linux/types.h to make it available for use across the kernel.
>
> The phys_vec structure represents a physical address range with a
> length, which is used by the new physical address-based DMA mapping
> API. This structure is already used by the block layer and will be
> needed for DMA phys API users.
>
> Moving this definition to types.h provides a centralized location
> for this common data structure and eliminates code duplication
> across subsystems that need to work with physical address ranges.
>
> Signed-off-by: Leon Romanovsky<leonro@...dia.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>
-ck
Powered by blists - more mailing lists