mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Introduce support for new hypercall GNTTABOP_cache_flush. Use it to perform cache flashing on pages used for dma when necessary. If GNTTABOP_cache_flush is supported by the hypervisor, we don't need to bounce dma map operations that involve foreign grants and non-coherent devices. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Acked-by: Ian Campbell <[email protected]>