Skip to content

RFC NVMe passthrough: Support 64kB page host

Eric Auger qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5block/nvme: use some NVME_CAP_* macrosblock/nvme.c+3 -34 replies
2/5block/nvme: Change size and alignment of IDENTIFY response bufferblock/nvme.c+6 -42 replies
3/5block/nvme: Change size and alignment of queueblock/nvme.c+2 -20 replies
4/5block/nvme: Change size and alignment of prp_list_pagesblock/nvme.c+5 -50 replies
5/5block/nvme: Align iov's va and size on host page sizeblock/nvme.c+7 -61 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/5
2/5R-b
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/5] NVMe passthrough: Support 64kB page host

This series allows NVMe passthrough on aarch64 with 64kB page host. Addresses and sizes of buffers which are VFIO DMA mapped are aligned with the host page size.

nvme_register_buf() path is taken care of in this series but it does not seem to prevent the use case from working.

Best Regards

Eric

This series can be found at:
https://github.com/eauger/qemu/tree/nvme_64k_rfc

This was tested on ARM only.

Eric Auger (5):
block/nvme: use some NVME_CAP_* macros
block/nvme: Change size and alignment of IDENTIFY response buffer block/nvme: Change size and alignment of queue block/nvme: Change size and alignment of prp_list_pages block/nvme: Align iov's va and size on host page size

 block/nvme.c | 43 +++++++++++++++++++++++--------------------
 1 file changed, 23 insertions(+), 20 deletions(-)
Signature · 1 line
2.21.3