vfio/pds: Move seq/ack bitmaps into region struct
authorBrett Creeley <brett.creeley@amd.com>
Fri, 17 Nov 2023 00:12:06 +0000 (16:12 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 4 Dec 2023 21:33:21 +0000 (14:33 -0700)
commit0c320f223ee6892a413428051f35bebf85fe83d3
tree51446e297f63f8bf6a6c639978a65349b8a5fcd5
parent87bdf9807ed70f5d3a0f852f9d04ceb1c99ad9f6
vfio/pds: Move seq/ack bitmaps into region struct

Since the host seq/ack bitmaps are part of a region
move them into struct pds_vfio_region. Also, make use
of the bmp_bytes value for validation purposes.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20231117001207.2793-6-brett.creeley@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/pds/dirty.c
drivers/vfio/pci/pds/dirty.h