]> Gentwo Git Trees - linux/.git/commit
vfio/type1: introduce a new member has_rsvd for struct vfio_dma
authorLi Zhe <lizhe.67@bytedance.com>
Thu, 14 Aug 2025 06:47:13 +0000 (14:47 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Oct 2025 17:21:26 +0000 (11:21 -0600)
commit089722e8939e580c9ccc64678ba22f563fdf3bb5
tree99bd421b17ce48d9f9336115f81a12655145eaca
parentd10872050ffeda8c3bdc08f3376bb49b34b4e643
vfio/type1: introduce a new member has_rsvd for struct vfio_dma

Introduce a new member has_rsvd for struct vfio_dma. This member is
used to indicate whether there are any reserved or invalid pfns in
the region represented by this vfio_dma. If it is true, it indicates
that there is at least one pfn in this region that is either reserved
or invalid.

Signed-off-by: Li Zhe <lizhe.67@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250814064714.56485-5-lizhe.67@bytedance.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c