Thread (17 messages) 17 messages, 3 authors, 2026-04-16

Re: [RFC v2 1/2] vfio: add callback to get tph info for dmabuf

From: Leon Romanovsky <leon@kernel.org>
Date: 2026-03-31 19:02:30
Also in: dri-devel, linux-pci, linux-rdma

Possibly related (same subject, not in this thread)

On Tue, Mar 31, 2026 at 08:13:58AM -0600, Keith Busch wrote:
On Tue, Mar 31, 2026 at 05:03:09PM +0300, Leon Romanovsky wrote:
quoted
I understand, my proposal is always set TPH flag when new struct is
used.
An existing application recompiled against the new kernel api implicitly
uses the new struct layout without setting the TPH flag, so kernel and
application are out of sync on where dma_ranges exists with your
proposal.
Right, what about adding TPH fields to struct vfio_region_dma_range
instead of struct vfio_device_feature_dma_buf?

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help