Re: [PATCH v5 virtio 02/11] virtio: allow caller to override device DMA mask in vp_modern

2023-05-14 Thread Jason Wang
在 2023/5/4 02:12, Shannon Nelson 写道: To add a bit of vendor flexibility with various virtio based devices, allow the caller to specify a different DMA mask. This adds a dma_mask field to struct virtio_pci_modern_device. If defined by the driver, this mask will be used in a call to dma_set_mask

[PATCH v5 virtio 02/11] virtio: allow caller to override device DMA mask in vp_modern

2023-05-03 Thread Shannon Nelson via Virtualization
To add a bit of vendor flexibility with various virtio based devices, allow the caller to specify a different DMA mask. This adds a dma_mask field to struct virtio_pci_modern_device. If defined by the driver, this mask will be used in a call to dma_set_mask_and_coherent() instead of the tradition