Re: [PATCH v3 2/2] block-dma: properly take MMIO path

From: Christoph Hellwig
Date: Mon Oct 27 2025 - 04:18:46 EST


On Mon, Oct 27, 2025 at 10:11:42AM +0200, Leon Romanovsky wrote:
> BTW, one can reorganize pci_p2pdma_map_type to make sure that
> PCI_P2PDMA_MAP_BUS_ADDR will be 2 and PCI_P2PDMA_MAP_THRU_HOST_BRIDGE
> will be 3, so it will be possible to take 2 bits per-type instead of 3.

Maybe. I'd be happy to leave this as-is and then see if we can optimize
things once we grow more users.