[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <ddc17de5-d5fe-4ebf-9d87-0d7bcf4bb7dd@app.fastmail.com>
Date: Thu, 13 Nov 2025 22:40:19 +0200
From: "Leon Romanovsky" <leon@...nel.org>
To: "Keith Busch" <kbusch@...nel.org>
Cc: "Jens Axboe" <axboe@...nel.dk>, "Christoph Hellwig" <hch@....de>,
"Sagi Grimberg" <sagi@...mberg.me>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org
Subject: Re: [PATCH v4 0/2] block: Enable proper MMIO memory handling for P2P DMA
On Thu, Nov 13, 2025, at 22:13, Leon Romanovsky wrote:
> On Thu, Nov 13, 2025, at 22:03, Keith Busch wrote:
>> On Thu, Nov 13, 2025 at 09:50:08PM +0200, Leon Romanovsky wrote:
>>> Can you please squash this fixup instead?
>>
>> I think you should change pci_p2pdma_state() to always initialize the
>> map type instead of making the caller do it.
>
> Yes, i just was afraid to add another subsystem into the mix.
Another solution is to call to pci_p2pdma_state() again instead of checking iter.p2pdma.map in nvme.
Which option do you prefer?
Thanks
Powered by blists - more mailing lists