All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] vfio/iova_bitmap: bug fixes
@ 2022-10-25 19:31 Joao Martins
  2022-10-25 19:31 ` [PATCH v1 1/2] vfio/iova_bitmap: Explicitly include linux/slab.h Joao Martins
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Joao Martins @ 2022-10-25 19:31 UTC (permalink / raw)
  To: kvm; +Cc: Alex Williamson, Cornelia Huck, Avihai Horon, Yishai Hadas

Hey,

This small series addresses one small improvement and one bug fix:

1) Avoid obscurity into how I use slab helpers yet I was
never include it directly. And it wasn't detected thanks to a unrelated
commit in v5.18 that lead linux/mm.h to indirectly include slab.h.

2) A bug reported by Avihai reported during migration testing where
we weren't handling correctly PAGE_SIZE unaligned bitmaps, which lead
to miss dirty marked correctly on some IOVAs.

Comments appreciated

Thanks,
	Joao

Joao Martins (2):
  vfio/iova_bitmap: Explicitly include linux/slab.h
  vfio/iova_bitmap: Fix PAGE_SIZE unaligned bitmaps

 drivers/vfio/iova_bitmap.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.17.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-25 14:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 19:31 [PATCH v1 0/2] vfio/iova_bitmap: bug fixes Joao Martins
2022-10-25 19:31 ` [PATCH v1 1/2] vfio/iova_bitmap: Explicitly include linux/slab.h Joao Martins
2022-10-25 19:31 ` [PATCH v1 2/2] vfio/iova_bitmap: Fix PAGE_SIZE unaligned bitmaps Joao Martins
2022-11-24 18:20   ` Jason Gunthorpe
2022-11-25 10:37     ` Joao Martins
2022-11-25 12:42       ` Jason Gunthorpe
2022-11-25 14:31         ` Joao Martins
2022-11-09 20:09 ` [PATCH v1 0/2] vfio/iova_bitmap: bug fixes Joao Martins
2022-11-10 20:16 ` Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.