Re: [PATCH] vfio/pci: Don't export DMABUFs for unmappable BARs

From: Matt Evans

Date: Tue Apr 21 2026 - 13:51:14 EST


Hi,

On 20/04/2026 15:24, Matt Evans wrote:
Hi Alex,

On 17/04/2026 23:31, Alex Williamson wrote:
[snip]

That's fixing the leaf driver rather than the subsystem, where
pci/p2pdma really ought to honor its own flag indicating the BAR is not
mappable.  The precedent is already there in rejecting IO BARs.  Thanks,

All good; I appreciate the discussion, thanks, and will redo with checking non_mappable_bars in p2pdma.

Since the patch has a radically different subject/lists, here's a courtesy link:

https://lore.kernel.org/linux-pci/20260421174351.3897842-1-mattev@xxxxxxxx/

(Obviously we can drop this thread now.)


Matt