Skip to content
Commit 8e36baf9 authored by Eric Auger's avatar Eric Auger Committed by Christoph Hellwig
Browse files

dma-remap: align the size in dma_common_*_remap()



Running a guest with a virtio-iommu protecting virtio devices
is broken since commit 515e5b6d ("dma-mapping: use vmap insted
of reimplementing it"). Before the conversion, the size was
page aligned in __get_vm_area_node(). Doing so fixes the
regression.

Fixes: 515e5b6d ("dma-mapping: use vmap insted of reimplementing it")
Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent d07ae4c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment